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
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...