Skip to content

Commit 54b72f6

Browse files
authored
[Fleet] Update procedure to change logging level (#1107)
In the Fleet & Agent docs, this updates the steps to "Change the logging level": <img width="678" alt="screen" src="https://github.com/user-attachments/assets/02f757f9-e125-424e-994b-05e168e8b285" /> --- @Supplementing, Thanks for the nice and clear docs issue! Just FYI: with our new docs system we don't yet have a "future" branch, so we call out version differences are directly in the text, hence the note about "Prior to Version 9.1". It's not ideal, but I think it's the best approach we have for right now. Closes: elastic/ingest-docs#1752
1 parent 34f0709 commit 54b72f6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

reference/fleet/monitor-elastic-agent.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ mapped_pages:
1111
* [View details for an agent](#view-agent-details)
1212
* [View agent activity](#view-agent-activity)
1313
* [View agent logs](#view-agent-logs)
14+
* [Change the logging level](#change-logging-level)
1415
* [Collect {{agent}} diagnostics](#collect-agent-diagnostics)
1516
* [View the {{agent}} metrics dashboard](#view-agent-metrics)
1617
* [Change {{agent}} monitoring settings](#change-agent-monitoring)
@@ -141,14 +142,9 @@ On the **Logs** tab you can filter, search, and explore the agent logs:
141142

142143
The logging level for monitored agents is set to `info` by default. You can change the agent logging level, for example, to turn on debug logging remotely:
143144

144-
1. After navigating to the **Logs** tab as described in [View agent logs](#view-agent-logs), scroll down to find the **Agent logging level** setting.
145-
146-
:::{image} images/agent-set-logging-level.png
147-
:alt: Logs tab showing the agent logging level setting
148-
:screenshot:
149-
:::
150-
151-
2. Select an **Agent logging level**:
145+
1. In {{fleet}}, open the **Agents** tab.
146+
2. In the **Host** column, click the agent’s name.
147+
3. On the **Settings** tab, select an **Agent logging level**:
152148

153149
| | |
154150
| --- | --- |
@@ -157,7 +153,11 @@ The logging level for monitored agents is set to `info` by default. You can chan
157153
| `info`<br> | Logs informational messages, including the number of events that are published.Also logs any warnings, errors, or critical errors. |
158154
| `debug`<br> | Logs debug messages, including a detailed printout of all events flushed. Alsologs informational messages, warnings, errors, and critical errors. |
159155

160-
3. Click **Apply changes** to apply the updated logging level to the agent.
156+
:::{note}
157+
Prior to version 9.1 the **Agent logging level** setting is located on the **Logs** tab.
158+
:::
159+
160+
When you select a new setting the change is saved automatically.
161161

162162

163163
## Collect {{agent}} diagnostics [collect-agent-diagnostics]

0 commit comments

Comments
 (0)