Thank you, I have a file thats being ingested to splunk index. Why I am getting different values for the two queries below to find the daily ingestion rate.
1)
index=_internal source=*license_usage.log type="Usage" | eval h=if(len(h)=0 OR isnull(h),"(SQUASHED)",h) | eval s=if(len(s)=0 OR isnull(s),"(SQUASHED)",s) | eval idx=if(len(idx)=0 OR isnull(idx),"(UNKNOWN)",idx) | stats sum(b) as b by idx| eval GB=(((b/1024)/1024))/1000
2)
index=_internal source="/opt/splunk/var/log/splunk/metrics.log" series=index_name | eval MB=kb/1024 | search group="per_index_thruput" | timechart span=1d sum(MB) by series
... View more