Skip to content

Commit

Permalink
Add conditions for each platform (elastic#8811)
Browse files Browse the repository at this point in the history
* Add conditions for each platform

* Add conditions to directory layout topic

* Combine conditions for deb and rpm
  • Loading branch information
dedemorton authored Nov 1, 2018
1 parent 7980167 commit ef83a25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
4 changes: 0 additions & 4 deletions docs/configuring-howto.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ include::./config-options.asciidoc[]

include::./general-options.asciidoc[]

:allplatforms:
include::../../libbeat/docs/queueconfig.asciidoc[]
:allplatforms!:

include::../../libbeat/docs/outputconfig.asciidoc[]

Expand All @@ -75,10 +73,8 @@ include::../../libbeat/docs/shared-env-vars.asciidoc[]
//include::../../libbeat/docs/shared-autodiscover.asciidoc[]

:standalone:
:allplatforms:
include::../../libbeat/docs/yaml.asciidoc[]
:standalone!:
:allplatforms!:

include::../../libbeat/docs/regexp.asciidoc[]

Expand Down
11 changes: 1 addition & 10 deletions docs/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,13 @@ include::../../libbeat/docs/step-look-at-config.asciidoc[]

IMPORTANT: This documentation is placeholder content. It has not yet been reviewed.

:allplatforms:
include::../../libbeat/docs/shared-template-load.asciidoc[]

[[load-kibana-dashboards]]
=== Step 4: Set up the Kibana dashboards

IMPORTANT: This documentation is placeholder content. It has not yet been reviewed.

:allplatforms:
include::../../libbeat/docs/dashboards.asciidoc[]

[id="{beatname_lc}-starting"]
Expand All @@ -206,14 +204,7 @@ NOTE: If you use an init.d script to start {beatname_uc} on deb or rpm, you can'
specify command line flags (see <<command-line-options>>). To specify flags,
start {beatname_uc} in the foreground.

*deb:*

["source","sh",subs="attributes"]
----------------------------------------------------------------------
sudo service {beatname_lc} start
----------------------------------------------------------------------

*rpm:*
*deb and rpm:*

["source","sh",subs="attributes"]
----------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ include::{asciidoc-dir}/../../shared/attributes.asciidoc[]
:beat_default_index_prefix: {beatname_lc}
:has_ml_jobs: no
:libbeat-docs: Beats Platform Reference
:deb_os:
:rpm_os:

include::../../libbeat/docs/shared-beats-attributes.asciidoc[]

Expand Down

0 comments on commit ef83a25

Please sign in to comment.