Splunk Search

Set Scheduled Search

abazgwa21cz
Explorer
I want to set a Schedule for my search to find the data sent by user in our system . This is my search to catch each user sent more 2GB 

abazgwa21cz_0-1671782755828.png
I am used bin _time span=2h but maybe it not correct, it Incremental for every 2hours later. 
So how can I take a search mean who sent more 2GB data in each 2 hours ??
Many thanks !!!
Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @abazgwa21cz,

let me understand: whay do you want to accelerate your search, is it very slow?

in this case, you could schedue your search to run on a more short time period (so it uses less data and it's faster) then this scheduled search saves results in a summary index and you can search on the summary, having in this vary very high performances.

Ciao.

Giuseppe

abazgwa21cz
Explorer

Thanks for your answer 
when i create alert from my search, it seem spam like this 

abazgwa21cz_0-1671784525544.png

 


and it maybe accumulated with previous result
So i now i want to search in range each 2 hours, and export sum of data user sent in 2 hours
how can i fix this 

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @abazgwa21cz,

sorry I wasn't clear, you have to add to the end of your search the command " | collect index=<your_summary_index>" (you have also to before creating te summary index) and schedule it e.g. every hour,

then you can run the search on the summary index.

You can find information about this at 

https://lantern.splunk.com/Splunk_Platform/Product_Tips/Cloud_Platform/Using_summary_indexing_to_acc...

https://docs.splunk.com/Documentation/SplunkCloud/9.0.2209/Knowledge/Usesummaryindexing

Ciao.

Giuseppe

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...