---
title: "Listing configuration options"
url: "https://axoflow.com/docs/axosyslog-core/4.28/chapter-configuration-file/modules/list-configuration-options/"
last_modified: "2023-07-02T20:37:04+02:00"
---

> For the complete documentation index, see [llms.txt](https://axoflow.com/docs/axosyslog-core/4.28/llms.txt).

# Listing configuration options

Starting with AxoSyslog 3.25, you can use the `syslog-ng-cfg-db.py` utility to list the available options of configuration objects. For example, you can list all the options that can be set in the file source, and so on.

The `syslog-ng-cfg-db.py` utility has the following options:

- The following command lists the contexts that the utility supports.

  ```shell
      syslog-ng-cfg-db.py
  ```

  > **Note:**
  > Currently, sources and destinations are supported.
- The following command lists the available drivers of a context:

  ```shell
      syslog-ng-cfg-db.py -c <source|destination>
  ```
- The following command lists the available options of a specific driver and specifies the context and the driver:

  ```shell
      syslog-ng-cfg-db.py -c <source|destination> -d <driver>
  ```

  For example, to list the options of the `kafka-c()` destination driver:

  ```shell
      syslog-ng-cfg-db.py -c destination -d kafka-c
  ```

  The output includes the available options of the driver in alphabetical order, and the type of the option. For example:

  ```shell
      destination kafka-c(
          bootstrap-servers/kafka-bootstrap-servers(<string>)
          client-lib-dir(<string>)
          config/option()
          config/option(<string> <arrow> <string-or-number>)
          config/option(<string> <string-or-number>)
          flush-timeout-on-reload(<number>)
          flush-timeout-on-shutdown(<number>)
          frac-digits(<number>)
          key(<string>)
          local-time-zone/time-zone(<string>)
          log-fifo-size(<number>)
          message/template(<string>)
          on-error(<string>)
          persist-name(<string>)
          poll-timeout(<number>)
          properties-file(<path>)
          send-time-zone(<string>)
          sync-send(<yesno>)
          throttle(<number>)
          time-zone(<string>)
          topic(<string>)
          ts-format(<string>)
          workers(<number>)
          config/option(
              <string>(<string-or-number>)
          )
          key(
              <identifier>(<string>)
          )
          message/template(
              <identifier>(<string>)
          )
      )
  ```

  > **Note:**
  > The script caches the list of the options, so if you want to rebuild the database, you have to use the `-r` option.

Last modified July 2, 2023: [Change highlight mode of code examples (2f8a9593)](https://github.com/axoflow/axosyslog-core-docs/commit/2f8a95937c6498193e7168ce8b0dc831e9f0f8ad)
