Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix problems in agent docs found during testing #22562

Merged
merged 1 commit into from
Nov 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion x-pack/elastic-agent/docs/install-elastic-agent.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,17 @@ include::{beats-repo-dir}/x-pack/elastic-agent/docs/tab-widgets/install-widget.a

--

Don't have a {fleet} enrollment key? Read the
{ingest-guide}/ingest-management-getting-started.html[Quick start guide] to
learn how to generate one.

Because {agent} is installed as an auto-starting service, it will restart
automatically if the system is rebooted.

To confirm that {agent} is installed and running, go to the **Agents** tab in
{fleet}.

If you run into problems, see <<ingest-management-troubleshooting>>.
If you run into problems, see <<fleet-troubleshooting>>.

[discrete]
[[installation-layout]]
Expand Down
9 changes: 1 addition & 8 deletions x-pack/elastic-agent/docs/tab-widgets/install.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ you don't have systemd, run `sudo service elastic-agent start`.

include::install.asciidoc[tag=where-description]

TIP: {agent} will restart automatically if the system is rebooted.

// end::deb[]

// tag::rpm[]
Expand All @@ -36,8 +34,6 @@ systemctl start elastic-agent
these systems, you can manage {agent} by using the usual systemd commands. If
you don't have systemd, run `sudo service elastic-agent start`.

TIP: {agent} will restart automatically if the system is rebooted.

// end::rpm[]

// tag::mac[]
Expand Down Expand Up @@ -91,9 +87,6 @@ Omit `-f` to run an interactive installation.

// tag::where-description[]
`KIBANA_URL` is the {kib} URL where {fleet} is running, and
`ENROLLMENT_KEY` is the enrollment token acquired from {fleet}. Don't have a
{fleet} enrollment key? Read the
{ingest-guide}/ingest-management-getting-started.html[Quick start guide] to
learn how to generate one.
`ENROLLMENT_KEY` is the enrollment token acquired from {fleet}.

// end::where-description[]
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Follow the prompts to confirm that you want to uninstall {agent}. The command
stops and uninstalls any managed programs, such as {beats} and
{elastic-endpoint}, before it stops and uninstalls {agent}.

If you run into problems, see <<ingest-management-troubleshooting>>.
If you run into problems, see <<fleet-troubleshooting>>.

// Add Javascript and CSS for tabbed panels
include::tab-widgets/code.asciidoc[]