From 7abc684289de6f5c7e59d94872b059feee8eebf7 Mon Sep 17 00:00:00 2001 From: Silvia Mitter Date: Tue, 29 May 2018 11:06:51 +0200 Subject: [PATCH] Only document reference.yml when available. (#7164) --- libbeat/docs/shared-configuring.asciidoc | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/libbeat/docs/shared-configuring.asciidoc b/libbeat/docs/shared-configuring.asciidoc index 1b0aa70f067..db4b8bad747 100644 --- a/libbeat/docs/shared-configuring.asciidoc +++ b/libbeat/docs/shared-configuring.asciidoc @@ -1,24 +1,22 @@ //Added conditional coding to support Beats that don't offer all of these install options -ifeval::["{beatname_lc}"!="auditbeat"] - -To configure {beatname_uc}, you edit the configuration file. For rpm and deb, -you'll find the configuration file at +/etc/{beatname_lc}/{beatname_lc}.yml+. Under -Docker, it's located at +/usr/share/{beatname_lc}/{beatname_lc}.yml+. For mac and win, -look in the archive that you just extracted. There’s also a full example -configuration file called +{beatname_lc}.reference.yml+ that shows all non-deprecated -options. +To configure {beatname_uc}, you edit the configuration file. +ifeval::["{beatname_lc}"!="auditbeat"] +For rpm and deb, you'll find the configuration file at +/etc/{beatname_lc}/{beatname_lc}.yml+. +For mac and win, look in the archive that you just extracted. +Under Docker, it's located at +/usr/share/{beatname_lc}/{beatname_lc}.yml+. endif::[] ifeval::["{beatname_lc}"=="auditbeat"] +For rpm and deb, you'll find the configuration file at +/etc/{beatname_lc}/{beatname_lc}.yml+. +For mac and win, look in the archive that you just extracted. +endif::[] -To configure {beatname_uc}, you edit the configuration file. For rpm and deb, -you'll find the configuration file at +/etc/{beatname_lc}/{beatname_lc}.yml+. -For mac and win, look in the archive that you just extracted. There’s also a -full example configuration file called +{beatname_lc}.reference.yml+ that shows -all non-deprecated options. +ifeval::["{beatname_lc}"!="apm-server"] +There’s also a full example configuration file called +{beatname_lc}.reference.yml+ +that shows all non-deprecated options. endif::[] TIP: See the