Skip to content

Commit 54425d1

Browse files
authored
Merge pull request elastic#160 from ycombinator/set-install-base-path
Add instructions on customizing installation base path for Elastic Agent
2 parents 5f67938 + 78b2f12 commit 54425d1

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[[installation-layout]]
22
= Installation layout
33

4-
{agent} files are installed in the following locations. You cannot override
5-
these installation paths because they are required for upgrades.
4+
{agent} files are installed in the following locations.
65

76
include::{tab-widgets}/install-layout-widget.asciidoc[]

docs/en/ingest-management/tab-widgets/install-layout.asciidoc

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Log files for {beats} shippersfootnote:lognumbering[]
1414
`/usr/bin/elastic-agent`::
1515
Shell wrapper installed into PATH
1616

17+
You can install {agent} in a custom base path other than `/Library`. When installing {agent} with the `./elastic-agent install`
18+
command, use the `--base-path` CLI option to specify the custom base path.
1719
// end::mac[]
1820

1921
// tag::linux[]
@@ -31,6 +33,8 @@ Log files for {beats} shippers
3133
`/usr/bin/elastic-agent`::
3234
Shell wrapper installed into PATH
3335

36+
You can install {agent} in a custom base path other than `/opt`. When installing {agent} with the `./elastic-agent install`
37+
command, use the `--base-path` CLI option to specify the custom base path.
3438
// end::linux[]
3539

3640
// tag::win[]
@@ -46,6 +50,8 @@ Log files for {agent}footnote:lognumbering[]
4650
`C:\Program Files\Elastic\Agent\data\elastic-agent-*\logs\default\*-json.log*`::
4751
Log files for {beats} shippers
4852

53+
You can install {agent} in a custom base path other than `C:\Program Files`. When installing {agent} with the `./elastic-agent install`
54+
command, use the `--base-path` CLI option to specify the custom base path.
4955
// end::win[]
5056

5157
// tag::deb[]

0 commit comments

Comments
 (0)