-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Elastic-Agent event logger documentation (#1520)
- Loading branch information
Showing
3 changed files
with
125 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
95 changes: 95 additions & 0 deletions
95
docs/en/ingest-management/tab-widgets/event-logging-widget.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
++++ | ||
<div class="tabs" data-tab-group="os"> | ||
<div role="tablist" aria-label="Logging"> | ||
<button role="tab" | ||
aria-selected="true" | ||
aria-controls="mac-events-tab-logging" | ||
id="mac-events-logging"> | ||
macOS | ||
</button> | ||
<button role="tab" | ||
aria-selected="false" | ||
aria-controls="linux-events-tab-logging" | ||
id="linux-events-logging" | ||
tabindex="-1"> | ||
Linux | ||
</button> | ||
<button role="tab" | ||
aria-selected="false" | ||
aria-controls="win-events-tab-logging" | ||
id="win-events-logging" | ||
tabindex="-1"> | ||
Windows | ||
</button> | ||
<button role="tab" | ||
aria-selected="false" | ||
aria-controls="deb-events-tab-logging" | ||
id="deb-events-logging" | ||
tabindex="-1"> | ||
DEB | ||
</button> | ||
<button role="tab" | ||
aria-selected="false" | ||
aria-controls="rpm-events-tab-logging" | ||
id="rpm-events-logging" | ||
tabindex="-1"> | ||
RPM | ||
</button> | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="mac-events-tab-logging" | ||
aria-labelledby="mac-events-logging"> | ||
++++ | ||
|
||
include::event-logging.asciidoc[tag=mac] | ||
|
||
++++ | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="linux-events-tab-logging" | ||
aria-labelledby="linux-events-logging" | ||
hidden=""> | ||
++++ | ||
|
||
include::event-logging.asciidoc[tag=linux] | ||
|
||
++++ | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="win-events-tab-logging" | ||
aria-labelledby="win-events-logging" | ||
hidden=""> | ||
++++ | ||
|
||
include::event-logging.asciidoc[tag=win] | ||
|
||
++++ | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="deb-events-tab-logging" | ||
aria-labelledby="deb-events-logging" | ||
hidden=""> | ||
++++ | ||
|
||
include::event-logging.asciidoc[tag=deb] | ||
|
||
++++ | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="rpm-events-tab-logging" | ||
aria-labelledby="rpm-events-logging" | ||
hidden=""> | ||
++++ | ||
|
||
include::event-logging.asciidoc[tag=rpm] | ||
|
||
++++ | ||
</div> | ||
</div> | ||
++++ |
29 changes: 29 additions & 0 deletions
29
docs/en/ingest-management/tab-widgets/event-logging.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// tag::mac[] | ||
|
||
`/Library/Elastic/Agent/data/elastic-agent-*/logs/events/elastic-agent-event-log*.ndjson` | ||
|
||
// end::mac[] | ||
|
||
// tag::linux[] | ||
|
||
`/opt/Elastic/Agent/data/elastic-agent-*/logs/events/elastic-agent-event-log*.ndjson` | ||
|
||
// end::linux[] | ||
|
||
// tag::win[] | ||
|
||
`C:\Program Files\Elastic\Agent\data\elastic-agent-*\logs\events\elastic-agent-event-log*.ndjson` | ||
|
||
// end::win[] | ||
|
||
// tag::deb[] | ||
|
||
`/var/lib/elastic-agent/data/elastic-agent-*/logs/events/elastic-agent-event-log*.ndjson` | ||
|
||
// end::deb[] | ||
|
||
// tag::rpm[] | ||
|
||
`/var/lib/elastic-agent/data/elastic-agent-*/logs/events/elastic-agent-event-log*.ndjson` | ||
|
||
// end::rpm[] |