Other Usage

how to capture the search results from splunk into shell script?

florapann
Engager

i would like to get below values from splunk into shell script . i am creating alert for below values and using webhook to invoke a shell script. 

florapann_1-1638442092126.png

i am using below webhooklink to trigger the script 

florapann_2-1638442207191.png

florapann_3-1638442261250.png

but i don't know how to get those splunk search results into shell script? can someone help to suggest me which command/code has to used to capture the value form splunk ?

Labels (1)
0 Karma

Gr0und_Z3r0
Contributor
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...