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!

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...