Getting Data In

How to monitor and index actively?

hochit
Path Finder

Hi,

I have problem with my Splunk indexing. I found an index haven't been running and updated for 2 days. But it has no any sign for me until I searched and found out. I still can't identify it's Splunk or system problem.

Other indexes are working well, the license index volume is not exceeded.

So what can I do to monitor the health of an index actively? Also, what kind of debug log that I should turn on or look into?

Please advice!

Thanks, Philip

Tags (2)
0 Karma
1 Solution

bwooden
Splunk Employee
Splunk Employee

Additionally, inside Splunk some index health checks are available in the Search app under the menu Status -> Index Activity.

You could also enable an alert for a saved search with which you verify indexing health.


something like:

index=_internal group=per_index_thruput source=*metrics.log NOT series=_* |
eval last_seen=now()-_time | stats max(last_seen) as seconds_since_seen by series |
rename series as index 

View solution in original post

0 Karma

bwooden
Splunk Employee
Splunk Employee

Additionally, inside Splunk some index health checks are available in the Search app under the menu Status -> Index Activity.

You could also enable an alert for a saved search with which you verify indexing health.


something like:

index=_internal group=per_index_thruput source=*metrics.log NOT series=_* |
eval last_seen=now()-_time | stats max(last_seen) as seconds_since_seen by series |
rename series as index 
0 Karma

Pawlub1
Engager

Hi, 

I would like to use it as an alert, but a bit confused the trigger

index=_internal group=per_index_thruput source=*metrics.log NOT series=_* | eval last_seen=now()-_time | stats max(last_seen) as seconds_since_seen by series | rename series as index | where seconds_since_seen < 120

Specifically, a value for the 'seconds_since_seen', if most indices are about the 800 second range, I am not sure if a low value like 120 seconds going to cause false positives.

Any suggestions for a proper value to monitor indices would be greatly appreciated.

Cheers, Paul

 

0 Karma

hochit
Path Finder

Thanks bwooden! The search is what I wanted!

The outcome is I can see there's no "index=_internal group=per_index_thruput..." for an index, and I don't have idea why.

Anyway, it's great preventive procedure for me.

0 Karma

tedder
Communicator

I have very active indexes, so I just go to manager->indexes and look at the most recent time.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...