Splunk Search

Splunk index search

sushant_07
Engager

Hi All,

I am looking to extract data from index search for below query :-

need timestamp of 1st event in the day for last 30 days in a particular index and sourcetype.

 

Can someone help with the query to get desired output ?

Labels (1)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust
index=whatever sourcetype=whatever | timechart span=1d earliest(_raw) as _raw 

View solution in original post

0 Karma

PickleRick
SplunkTrust
SplunkTrust
index=whatever sourcetype=whatever | timechart span=1d earliest(_raw) as _raw 
0 Karma

sushant_07
Engager

Thanks, it worked 

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...