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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...