hi,
Wondering if there is a document or guidance on how to estimate the volume of data ingested in Splunk by pulling data from DNA Centre using the Splunk Add-on: Cisco DNA Center Add-on.
Cheers, Ahmed.
In Splunk, EPS (Events Per Second) is a metric used to measure the rate at which events are ingested into the Splunk indexer. The formula to calculate EPS is relatively straightforward:
EPS = (Total Number of Events) / (Time Duration in Seconds)
To calculate EPS, you need to count the total number of events that were indexed within a specific time duration (usually one second) and then divide that count by the duration in seconds.
For example, if you want to calculate the EPS over a 1-minute window (60 seconds) and you have indexed 3,000 events during that time:
EPS = 3000 / 60 = 50 events per second. This means you are indexing, on average, 50 events per second during that 1-minute period.
Many thanks @kiran_panchavat, much appreciated.
Cheers, Ahmed.
1. Try this (gives the amount of license used for indexes)
index=_internal sourcetype=splunkd source=*license_usage.log type=Usage
| stats sum(b) as bytes by idx
| eval mb=round(bytes/1024/1024,3)
If you want overall, then you can use this timechart version
index=_internal sourcetype=splunkd source=*license_usage.log type=Usage
| timechart span=1d sum(b) as usage_mb
| eval usage_mb=round(usage_mb/1024/1024,3)
For per index, you can use this
index=_internal sourcetype=splunkd source=*license_usage.log type=Usage
| bucket span=1d _time
| stats sum(b) as bytes by _time idx
| eval mb=round(bytes/1024/1024,3)
2. Setup a Monitoring Console:-
https://docs.splunk.com/Documentation/Splunk/latest/DMC/DMCoverview
Thanks Kiran,
I was looking for a way to estimate the volume of data that will be ingested into Splunk before installing it. This will help me calculate the License cost.
Therefore, is there a way to estimate the volume of DNA-C metrics based on number of LAN / WLAN devices?
Cheers, Ahmed.