Monitoring Splunk

event number from _internal index

Splunk_U
Path Finder

I need to know the number of event by the index os from the _internal index

Tags (1)
0 Karma

yannK
Splunk Employee
Splunk Employee

I would not trust the metrics for any type of calculation of volume, for the simple reason that metrics.log measure only the top 10 sample.

If you really want to know the current number of events in a particular index , use the | dbinspect index=myindex command on your indexers.

0 Karma

kristian_kolb
Ultra Champion

I don't think that information is present in _internal, at least not the exact number of events. You could probably find some approximation by looking at the metrics logs (in _internal). The search below will tell you the daily amount of events per index (non-internal indexes only).

index=_internal sourcetype=splunkd component=Metrics group=per_index_thruput series!=_* | timechart span=1d sum(ev) by series

Hope this helps,

K

0 Karma

Splunk_U
Path Finder

I have modified the query as I need the internal index data also..

index=_internal sourcetype=splunkd component=Metrics group=per_index_thruput series=* | stats sum(ev) by series, host

Now I have made all the data from the UF, Search Head to go to a particular Indexer. So the above query is giving the data for that Indexer only. Can I distinctly that from which original host the data is comming. I tried to use sourceHost but its not working

0 Karma

Splunk_U
Path Finder

I want to build a search query on _internal index that will tell me the number of events per every other indexes (like os, custom index) present on the server.

0 Karma

kristian_kolb
Ultra Champion

Manager -> indexes will show the number of events per index. If this is not what you want, try to rephrase your question.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How much can you really learn in 3 minutes?

Observability can certainly be hard to understand – there's a lot of jargon and buzzwords and it seems to ...

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...