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!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...