---
title: "Configuration identifier"
url: "https://axoflow.com/docs/axosyslog-core/4.28/chapter-configuration-file/configuration-identifier/"
last_modified: "2023-08-18T13:43:08+02:00"
---

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

# Configuration identifier

Starting with AxoSyslog version 4.2, you can specify a configuration identifier in the `syslog-ng.conf` file, for example:

```shell
@config-id: cfg-20230404-13-g02b0850fc
```

This can be useful in managed environments, where AxoSyslog instances and their configuration are automatically deployed or generated.

To show the configuration ID, run `syslog-ng-ctl config --id`

This returns the ID of the currently active configuration, and the SHA256 hash of the configuration (the hash of the output of the `syslog-ng-ctl config --preprocessed` command). The output is similar to:

```shell
cfg-20230404-13-g02b0850fc (08ddecfa52a3443b29d5d5aa3e5114e48dd465e195598062da9f5fc5a45d8a83)
```

Last modified August 18, 2023: [Adds Axoflow copyright notice to new files (3dfacaf1)](https://github.com/axoflow/axosyslog-core-docs/commit/3dfacaf1cc0a15aeed2b007e62df0dbcd7730b1a)
