Getting Data In

Performance issue

rakesh44
Communicator

I have 24 months of data from Jan 2017 to Nov 2018

I have count of 23900000 for year 2017
27900000 for year 2018

I need all required columns given in below query.

Index=test sourcetype=historical Period="Jan-17 | table rft period expenses ID transaction balance region area country

If i run above command to fetch one month of data , it takes more than 30 minutes.
how do i improve performance, I cannot try creating lookup & summary Indexing as data is huge , do we have any other option to expedite search query to run fast.Thanks

Tags (1)

woodcock
Esteemed Legend

Splunk is about matching and aggregation: turning haystacks into needles. It is not a haystack delivery system. You don't really need all umpty-kazillion events, right? You need to report something that you calculate or isolate about them right? Tell us what that thing is and we can help you get there. If you need haystacks moved and presented, then Splunk is the wrong tool.

0 Karma

DalJeanis
Legend

@rakesh44 - change table to fields and test again. table is not a streaming command, so it's causing all the data to be sent to the search head.

0 Karma

rakesh44
Communicator

Hi DalJeanis,

I have view data in tabular format to check & compare each events & hence i could not fields command.Do we have any alternate option for table commands.

Thanks

0 Karma

rakesh44
Communicator

Hi Daljeanis,

I have checked with fields command not that much improvement, which i expected .
Thanks

0 Karma

niketn
Legend

@rakesh44 check out David Veuve 's .Conf Session for using Search Acceleration mechanisms:

https://conf.splunk.com/conf-online.html?search=FN120994#/

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

rakesh44
Communicator

@niketnilay , I dont used any reporting commands & hence it will not allow me to use report acceleration

0 Karma

ddrillic
Ultra Champion

I think @adonio answer at Can we improve on a standard index=index_name sourcetype=*prod | stats query? can be applied in your case.

0 Karma

rakesh44
Communicator

That Information is not useful in my case

I need below columns in results

index=test sourcetype=historical Period="Jan-17 | table rft period expenses ID transaction balance region area country

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...