Splunk Search

How to view the currently running search of Splunk and display the amount of memory consumed during search command?

spl_stu
Explorer

How to view the currently running search of Splunk and display the amount of memory consumed during the execution of this search command? Based on this information, I would like to pause some searches with high memory usage.

0 Karma

gjanders
SplunkTrust
SplunkTrust

Alerts for splunk admins has an example for historical searches using the introspection data. Refer to my signature for a link 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @spl_stu,

as you can read at https://docs.splunk.com/Documentation/Splunk/9.0.4/RESTREF/RESTsearch#search.2Fjobs , you can use REST API to extract this kind of information.

So try:

| REST /services/search/jobs

 Then you can choose the information you need.

Ciao.

Giuseppe

spl_stu
Explorer
Okay, thank you for your suggestion. This issue has been resolved so far.
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @spl_stu,

good for you, see next time!

Please accept one answer for the other people of Community

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated 😉

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

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...