Skip to content

Commit 1f70e99

Browse files
Add 'Structure of a config file' for standalone agent (#433) (#481)
(cherry picked from commit 5235eb2) Co-authored-by: David Kilfoyle <[email protected]>
1 parent 3d3bd05 commit 1f70e99

19 files changed

+110
-35
lines changed

docs/en/ingest-management/beats-agent-comparison.asciidoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ prevention. The {agent} can be deployed in two different modes:
1515

1616
** *Standalone mode* -- All policies are applied to the {agent} manually as a YAML file. This is intended for more advanced users.
1717
See <<install-standalone-elastic-agent>> for more information.
18-
+
19-
include::{fleet-repo-dir}/standalone-note.asciidoc[]
2018

2119
The method you use depends on your use case, which features you need, and
2220
whether you want to centrally manage your agents.

docs/en/ingest-management/elastic-agent/configuration/authentication/ssl-settings.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[elastic-agent-ssl-configuration]]
2-
= Configure SSL/TLS
2+
= Configure SSL/TLS for standalone {agent}s
33

44
++++
55
<titleabbrev>SSL/TLS</titleabbrev>

docs/en/ingest-management/elastic-agent/configuration/create-standalone-agent-policy.asciidoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[[create-standalone-agent-policy]]
22
= Create a standalone {agent} policy
33

4-
include::{fleet-repo-dir}/standalone-note.asciidoc[]
5-
64
To get started quickly, use {kib} to add integrations to an agent policy, then
75
download the policy to use as a starting point for your standalone {agent}
86
policy. This approach saves time, is less error prone, and populates the

docs/en/ingest-management/elastic-agent/configuration/elastic-agent-configuration.asciidoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[[elastic-agent-configuration]]
22
= Configure standalone {agent}s
33

4-
include::{fleet-repo-dir}/standalone-note.asciidoc[]
5-
64
TIP: To get started quickly, use {kib} to create and download a standalone
75
policy file. You'll still need to deploy and manage the file, though. For more
86
information, refer to <<create-standalone-agent-policy>>.

docs/en/ingest-management/elastic-agent/configuration/elastic-agent-monitoring.asciidoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
<titleabbrev>Monitoring</titleabbrev>
66
++++
77

8-
include::{fleet-repo-dir}/standalone-note.asciidoc[]
9-
108
{agent} monitors {beats} by default. To turn off or change monitoring
119
settings, set options under `agent.monitoring` in the `elastic-agent.yml` file.
1210

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
[[elastic-agent-standalone-download]]
2+
= Configure download settings for standalone {agent} upgrades
3+
4+
++++
5+
<titleabbrev>Agent download</titleabbrev>
6+
++++
7+
8+
The `agent.download` section of the elastic-agent.yml config file contains settings for where to download and store artifacts used for {agent} upgrades.
9+
10+
[[elastic-agent-standalone-download-settings]]
11+
.{agent} download settings
12+
[cols="2*<a"]
13+
|===
14+
| Setting | Description
15+
16+
|
17+
[[agent.download.sourceURI]]
18+
`sourceURI`
19+
20+
| (string) Path to the location of artifacts used during {agent} upgrade.
21+
22+
// =============================================================================
23+
24+
|
25+
[[agent.download.target_directory]]
26+
`target_directory`
27+
28+
| (string) Path to the directory where download artifacts are stored.
29+
30+
// =============================================================================
31+
32+
|
33+
[[agent.download.timeout]]
34+
`timeout`
35+
36+
| (string) The HTTP request timeout in seconds for the download package attempt.
37+
38+
// =============================================================================
39+
40+
|
41+
[[agent.download.install_path]]
42+
`install_path`
43+
44+
| (string) The location of installed packages and programs, as well as program specifications.
45+
46+
// =============================================================================
47+
48+
|
49+
[[agent.download.retry_sleep_init_duration]]
50+
`retry_sleep_init_duration`
51+
52+
| (string) The duration in seconds to sleep for before the first retry attempt.
53+
54+
// =============================================================================
55+
56+
|===

docs/en/ingest-management/elastic-agent/configuration/elastic-agent-standalone-features.asciidoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
<titleabbrev>Feature flags</titleabbrev>
66
++++
77

8-
include::{fleet-repo-dir}/standalone-note.asciidoc[]
9-
108
The Feature Flags section of the elastic-agent.yml config file contains settings in {agent} that are disabled by default. These may include experimental features, changes to behaviors within {agent} or its components, or settings that could cause a breaking change. For example a setting that changes information included in events might be inconsistent with the naming pattern expected in your configured {agent} output.
119

1210
To enable any of the settings listed on this page, change the associated `enabled` flag from `false` to `true`.

docs/en/ingest-management/elastic-agent/configuration/elastic-agent-standalone-logging.asciidoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
<titleabbrev>Logging</titleabbrev>
66
++++
77

8-
include::{fleet-repo-dir}/standalone-note.asciidoc[]
9-
108
The Logging section of the `elastic-agent.yml` config file contains settings for configuring the logging output.
119
The logging system can write logs to the `syslog`, `file`, `stderr`, `eventlog`, or rotate log files.
1210
If you do not explicitly configure logging, the `stderr` output is used.

docs/en/ingest-management/elastic-agent/configuration/inputs/input-configuration.asciidoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[[elastic-agent-input-configuration]]
2-
= Configure inputs for Standalone {agent}s
3-
4-
include::{fleet-repo-dir}/standalone-note.asciidoc[]
2+
= Configure inputs for standalone {agent}s
53

4+
++++
5+
<titleabbrev>Inputs</titleabbrev>
6+
++++
67

78
The `inputs` section of the `elastic-agent.yml` file specifies how {agent} locates and processes input data.
89

docs/en/ingest-management/elastic-agent/configuration/outputs/output-configuration.asciidoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
<titleabbrev>Outputs</titleabbrev>
66
++++
77

8-
include::{fleet-repo-dir}/standalone-note.asciidoc[]
9-
108
The `outputs` section of the `elastic-agent.yml` file specifies where to
119
send data. You can specify multiple outputs to pair specific inputs with
1210
specific outputs.

0 commit comments

Comments
 (0)