Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 787 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 787 Bytes

metrics-prototype

This tool aims to help identify potential issues with Agent integrations by analyzing filebeat input metrics. It will scan an elastic agent diagnostic for the included input-metrics.json files, and print out identified warning conditions.

Stack requirements

Stack version must be > 8.10 or the diagnostic will not include metrics.

How to run

go run github.com/kgeller/metrics-prototype@main -diag=elastic-agent-diagnostics-2023-09-26T15-45-32Z-00.zip

Example output

Analyzing components/filestream-monitoring/input_metrics.json
Analyzing components/log-default/input_metrics.json
Analyzing components/udp-default/input_metrics.json
Alert triggered for: udp-panw.panos-091a9b72-50e5-40df-9bad-e0b8ce13b07c refer to documentation: guides/002