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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...