-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auditbeat,Metricbeat - add /inputs/ to HTTP monitoring endpoint #36971
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
b39d465
to
526af95
Compare
Make metrics published by "inputs" available through the /inputs/ route on the HTTP monitoring endpoint of Auditbeat and Metricbeat. For Agent, include a snapshot of those metrics within the Agent diagnostics bundle as "input_metrics.json". When running under Agent, each module instance is configured with only a single metricset. That module is given a unique `id`. That ID is what will be used as the `id` within the /inputs/ data. And that `id` will also be added as context to the logger that is passed into every metricset so that any log messages from a metricset can be associated back to the agent stream ID). Relates elastic#36945
For the `/inputs/` API, `input` is they key used to identify the type of "input" running. The `module` and `metricset` keys become redundant with the addition of `input`. I don't know of anything that relies on those fields.
526af95
to
74ae153
Compare
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
…tic#36971) Make metrics published by "inputs" available through the /inputs/ route on the HTTP monitoring endpoint of Auditbeat and Metricbeat. For Agent, include a snapshot of those metrics within the Agent diagnostics bundle as "input_metrics.json". When running under Agent, each module instance is configured with only a single metricset. That module is given a unique `id`. That ID is what will be used as the `id` within the /inputs/ data. And that `id` will also be added as context to the logger that is passed into every metricset so that any log messages from a metricset can be associated back to the agent stream ID). Relates elastic#36945 Remove module and metricset keys from metricset metrics. For the `/inputs/` API, `input` is they key used to identify the type of "input" running. The `module` and `metricset` keys become redundant with the addition of `input`. I don't know of anything that relies on those fields.
Hi team, it seems our doc is not accurate enough:
It says We think it's a doc bug, and can we have someone from beats team to help us fix this? 🙏 cc @jasonyoum |
Proposed commit message
Make metrics published by "inputs" available through the /inputs/ route on the HTTP monitoring endpoint of Auditbeat and Metricbeat.
For Agent, include a snapshot of those metrics within the Agent diagnostics bundle as "input_metrics.json".
When running under Agent, each module instance is configured with only a single metricset. That module is given a unique
id
. That ID is what will be used as theid
within the /inputs/ data. And thatid
will also be added as context to the logger that is passed into every metricset so that any log messages from a metricset can be associated back to the agent stream ID).Relates: #36945
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Related issues
Example
AFAICT no MetricSet implementations in Metricbeat or Auditbeat register any metrics so for now you can only use this to see what instances are running.
curl "http://localhost:6060/inputs/?pretty"