You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/filebeat/http-endpoint.md
+37-6Lines changed: 37 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,11 +46,14 @@ The HTTP endpoint has the following configuration settings:
46
46
`http.pprof.mutex_profile_rate`
47
47
: (Optional) `mutex_profile_rate` controls the fraction of mutex contention events that are reported in the mutex profile available from `/debug/pprof/mutex`. On average 1/rate events are reported. To turn off profiling entirely, pass rate 0. The default value is 0.
48
48
49
+
`http.debug.state_inspector.enabled`
50
+
: (Optional) Enable the state store inspector. **This is an internal debugging tool for Elastic engineers, not a supported product feature.** It has no authentication, may expose sensitive data (file paths, S3 object keys, AWS account identifiers, hostnames), and may be changed or removed in any release without notice. Deleting state entries can cause duplicate processing, gaps in ingestion, or data loss. If you must enable it, bind `http.host` to a loopback address, Unix socket, or Windows named pipe, and disable it again when done. Default is `false`. See [State Inspector](#state-inspector) for details.
51
+
49
52
This is the list of paths you can access. For pretty JSON output append `?pretty` to the URL.
50
53
51
54
You can query a unix socket using the `cURL` command and the `--unix-socket` flag.
@@ -195,9 +198,37 @@ The actual output may contain more metrics specific to Filebeat
195
198
196
199
A request may optionally specify a `type` query parameter to request metrics for a specific type of input. And `pretty` may be included to have the returned JSON be pretty formatted.
**Internal debugging tool — not a supported product feature.** This is intended for use by Elastic engineers during development and troubleshooting. It has no authentication and may be changed or removed in any release without notice.
216
+
217
+
The state store may contain sensitive information such as source file paths, S3 object keys, AWS account identifiers, and source hostnames, all of which will be returned to any client that can reach the endpoint. Deleting state entries can cause duplicate processing, gaps in ingestion, or data loss; for active inputs, deletes may be transient and silently overwritten by the in-memory registrar.
218
+
219
+
If you must enable this for troubleshooting, bind `http.host` to a loopback address (`127.0.0.1`), a Unix socket, or a Windows named pipe, and disable it again as soon as you are done.
220
+
::::
221
+
222
+
These endpoints are only available when `http.debug.state_inspector.enabled` is set to `true`. Filebeat exposes its input registry through this endpoint.
223
+
224
+
`/debug/state-inspector/states` returns a JSON array of all key-value pairs in the internal state store. `/debug/state-inspector/states.html` serves a browser UI for the same data.
0 commit comments