Alerting

How to setup an alert if a HTTP collector receives huge data more than expected threshold?

mallempati
New Member

hi All,

is it possible to setup an alert if someone accidentally sned huge log entries to the HTP Collector for example on an average it always receives data < 50 MB at any regulat intervals of time. Due to any developer's mistake by enabling debug logging or sending wrong log entries of huge sizes more than 50 MB sent to HTTP Collector at a given chunk.

Setting up alert for such behavior will help in alerting the users to chekc if the source is expected or it was due to any human error. Please let me know if someone has achieved it.

Thanks,
MS

0 Karma

harsmarvania57
Ultra Champion

Hi,

You can use _introspection index to achieve this.

To start with you can use below query

index=_introspection host=gblvap000268  sourcetype=http_event_collector_metrics "data.token_name"=*  
| rename data.* as *
| stats avg(total_bytes_received) as bytes_received by token_name

EDIT: Query updated for to find avg based on token name

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...