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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...