Skip to content

Commit

Permalink
Stop recommending publish debugging when running beats. (#8935)
Browse files Browse the repository at this point in the history
Our instructions for running beats on every platform but OSX describe starting
them as a managed service. Mysteriously, for OSX we run the beat in the forgeground
and invoke it with `-d "publish"`. This leads to really verbose output that
is really unnecessary for someone trying a beat for the first time.

My suspicion is the `d` flag made it in there in a mistake and was perpetuated
through no intentional plan.
  • Loading branch information
andrewvc authored Nov 9, 2018
1 parent 121303b commit 5bcf013
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion auditbeat/docs/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ sudo service {beatname_lc} start
["source","sh",subs="attributes"]
----------------------------------------------------------------------
sudo chown root {beatname_lc}.yml <1>
sudo ./{beatname_lc} -e -c {beatname_lc}.yml -d "publish"
sudo ./{beatname_lc} -e -c {beatname_lc}.yml
----------------------------------------------------------------------
<1> To monitor system files, you'll be running {beatname_uc} as root, so you
need to change ownership of the configuration file, or run {beatname_uc} with
Expand Down
2 changes: 1 addition & 1 deletion filebeat/docs/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ docker run {dockerimage}
[source,shell]
----------------------------------------------------------------------
sudo chown root filebeat.yml <1>
sudo ./filebeat -e -c filebeat.yml -d "publish"
sudo ./filebeat -e -c filebeat.yml
----------------------------------------------------------------------
<1> You'll be running Filebeat as root, so you need to change ownership
of the configuration file, or run Filebeat with `--strict.perms=false`
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/docs/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ sudo service {beatname_lc}-elastic start
["source","sh",subs="attributes"]
----------------------------------------------------------------------
sudo chown root heartbeat.yml <1>
sudo ./heartbeat -e -c heartbeat.yml -d "publish"
sudo ./heartbeat -e -c heartbeat.yml
----------------------------------------------------------------------
<1> You'll be running Heartbeat as root, so you need to change ownership of the
configuration file, or run Heartbeat with `--strict.perms=false` specified. See
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/docs/gettingstarted.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ See <<running-on-docker>>.
----------------------------------------------------------------------
sudo chown root {beatname_lc}.yml <1>
sudo chown root modules.d/system.yml <1>
sudo ./{beatname_lc} -e -c {beatname_lc}.yml -d "publish"
sudo ./{beatname_lc} -e -c {beatname_lc}.yml
----------------------------------------------------------------------
<1> You'll be running {beatname_uc} as root, so you need to change ownership of the
configuration file and any configurations enabled in the `modules.d` directory,
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/docs/gettingstarted.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ docker run {dockerimage}
[source,shell]
----------------------------------------------------------------------
sudo chown root packetbeat.yml <1>
sudo ./packetbeat -e -c packetbeat.yml -d "publish"
sudo ./packetbeat -e -c packetbeat.yml
----------------------------------------------------------------------
<1> You'll be running Packetbeat as root, so you need to change ownership of the
configuration file, or run Packetbeat with `--strict.perms=false` specified. See
Expand Down

0 comments on commit 5bcf013

Please sign in to comment.