Splunk Search

Timechart query for Splunk Visualization 42

smthakur73
New Member

Need help with the following code:
index=corp_security_tanium splunk_server=phx11* sourcetype=ABC
| eval time=strptime(Last_Found_Date,"%Y-%m-%d")
| eval _time=time
| bucket span=w@w1 _time
| stats values(ABC) by ABC _time
| timechart span=w@w1 count(ABC) as "Accumulated count"

Time filter : Last 7 days
basically it should show the current no. and what the difference between last week and today

Thanks

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...