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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...