Splunk Search

Splunk Query help to find time difference

Path Finder

For last 30 days(which i will select in time filter) I would like to get the count of field X only if it is older than 7days from current time.

0 Karma


Doesn't this work for you?

index=<yourindex> earliest=-30d latest=-7d | stats count(X)
0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!