Skip to content

Commit

Permalink
Only document reference.yml when available. (#7164)
Browse files Browse the repository at this point in the history
  • Loading branch information
simitt authored and ruflin committed May 29, 2018
1 parent b64e06d commit 7abc684
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions libbeat/docs/shared-configuring.asciidoc
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 7abc684

Please sign in to comment.