Splunk Search

Speeding up Search in Timechart and D3

kteki1
New Member

Hi,

I am using D3 Chart to display the output from the following query:

sourcetype=WinEventLog:Security  | timechart span=1h count as total | appendcols [search 
sourcetype=WinEventLog:Security | timechart span=1h count by eventtype   ] | table _time * total

And I have used report acceleration to get faster results for this query. Currently it takes over five minutes to process and display the query.

Any ideas to speed up the query?

Tags (2)
0 Karma
1 Solution

lguinn2
Legend

Avoid appendcols or join.

sourcetype=WinEventLog:Security  
| timechart span=1h count by eventtype 
| addtotals

Should be at least twice as fast.

View solution in original post

lguinn2
Legend

Avoid appendcols or join.

sourcetype=WinEventLog:Security  
| timechart span=1h count by eventtype 
| addtotals

Should be at least twice as fast.

Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...