Splunk Search

Timechart span by event dates

ryanlait
Explorer

I have Splunk monitoring a directory of CSV files that imports events using the date the file was created. This runs fortnightly so my timeline only shows events every 14 days.

I'd like to be able to timechart over the previous 6 months, the number of events and have it span the dates from the timeline. I don't want the data to be bucketed together as it is a point in time snapshot and bucketing together will provide inaccurate results. But I want to avoid the peaks and troughs it would create by creating too short a span.

Kind Regards,

0 Karma

jeffland
SplunkTrust
SplunkTrust

You should definitely change the way your data is indexed. Does the data in the csv contain any sort of timestamp? Use that when indexing the data.
Once your data is indexed, you don't change it.

0 Karma
Get Updates on the Splunk Community!

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...

Hunt Smarter, Not Harder: Discover New SPL “Recipes” in Our Threat Hunting Webinar

Are you ready to take your threat hunting skills to the next level? As Splunk community members, you know the ...