elastic / beats

:tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash
https://www.elastic.co/products/beats
Other
12.17k stars 4.91k forks source link

[Filebeat] udp input metrics - indicate when system_packet_drops is unavailable #41130

Open andrewkroh opened 2 weeks ago

andrewkroh commented 2 weeks ago

Describe the enhancement:

For the UDP input metrics, make it clear when the data is invalid. The availability of these two metrics depends on the host:

My suggestion is to report the values as -1 at initialization or after any error.

Describe a specific use case for the enhancement or feature:

A system_packet_drops value of 0 is a indicator of health, but if zero is being reported because of a collection failure (or because we are on Windows), then we have a false sense of the current state. When troubleshooting I need to know if the metric is valid.

References

elasticmachine commented 2 weeks ago

Pinging @elastic/sec-deployment-and-devices (Team:Security-Deployment and Devices)