ifndef::requires-sudo[]
TIP: To test your configuration file, change to the directory where the
{beatname_uc} binary is installed, and run {beatname_uc} in the foreground with
the following options specified: +./{beatname_lc} test config -e+. Make sure your
config files are in the path expected by {beatname_uc} (see <<directory-layout>>),
or use the `-c` flag to specify the path to the config file.
endif::[]

ifdef::requires-sudo[]
TIP: To test your configuration file, change to the directory where the
{beatname_uc} binary is installed, and run {beatname_uc} in the foreground with
the following options specified: +sudo ./{beatname_lc} test config -e+. Make sure
your config files are in the path expected by {beatname_uc} (see
<<directory-layout>>), or use the `-c` flag to specify the path to the config
file. Depending on your OS, you might run into file ownership issues when you
run this test. See
{beats-ref}/config-file-permissions.html[Config File Ownership and Permissions]
for more information.
endif::[]

For more information about configuring {beatname_uc}, also see:

* <<configuring-howto-{beatname_lc},Configure {beatname_uc}>>
* {beats-ref}/config-file-format.html[Config file format]
ifeval::["{beatname_lc}"!="apm-server"]
* <<{beatname_lc}-reference-yml,+{beatname_lc}.reference.yml+>>: This reference configuration
file shows all non-deprecated options. You'll find it in the same location as
+{beatname_lc}.yml+.
endif::[]
