---
title: "Location of the configuration file"
url: "https://axoflow.com/docs/axosyslog-core/4.28/chapter-configuration-file/config-file/"
last_modified: "2023-06-27T21:05:00+02:00"
---

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

# Location of the configuration file

To configure AxoSyslog, edit the `syslog-ng.conf` file with any regular text editor application. The location of the configuration file depends on the platform you are running AxoSyslog, and how you have installed AxoSyslog it.

- **Native packages** of a platform (like the ones downloaded from Linux repositories) typically place the configuration file under the `/etc/syslog-ng/` directory.
- **Containers**: When running AxoSyslog in a container, typically you [map an external file to the `/etc/syslog-ng/syslog-ng.conf` file](https://axoflow.com/docs/axosyslog-core/4.28/install/docker/index.md#customize-the-configuration) within the container. Check the mapped volumes of your container, and edit the external file.
- **Kubernetes**: If you’re running AxoSyslog in Kubernetes and have installed it with helm, usually you configure AxoSyslog by editing a `values.yaml` file, and redeploying AxoSyslog. Often the `syslog-ng.conf` part is under the `config.raw` section in the `values.yaml` file. For details, see [Parameters of the AxoSyslog Helm chart](https://axoflow.com/docs/axosyslog-core/4.28/install/helm/helm-chart-parameters/index.md).

Last modified June 27, 2023: [Moves content/docs to content/ to shorten output url (a5fcf1ed)](https://github.com/axoflow/axosyslog-core-docs/commit/a5fcf1ed4956f586bc12af2b775e10aa75c1e630)
