Alerting

Alert if Index is getting more than 10GB of incoming data

rashi83
Path Finder

I am using below query to find size of index , how can I modify it to alert me if index is getting more than 10 GB of incoming data

index=_internal [set_local_host] source=license_usage.log type="Usage" idx="*"| eval MB = round(b/1048576,2) | eval st_idx = st.": ".idx | timechart span=1d sum(MB) by st_idx | addtotals

Tags (1)
0 Karma
1 Solution

renjith_nair
Legend

@rashi83 ,

Set the time range according to your requirement (1 day, 6 hour,etc)

index=_internal [`set_local_host`] source=*license_usage.log type="Usage" idx="*"
|stats sum(b) as vol by idx | eval gb=round(vol/1073741824,2)
|where gb>=10
Happy Splunking!

View solution in original post

0 Karma

renjith_nair
Legend

@rashi83 ,

Set the time range according to your requirement (1 day, 6 hour,etc)

index=_internal [`set_local_host`] source=*license_usage.log type="Usage" idx="*"
|stats sum(b) as vol by idx | eval gb=round(vol/1073741824,2)
|where gb>=10
Happy Splunking!
0 Karma

rashi83
Path Finder

thank you

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...