Alerting

Activate heavy forwarder upon alert

tonyArad
Engager

Hi,

How can I activate my heavy forwarder upon alert?
My goal is to send out data from Splunk to an external server when event occur.

Thanks!
Tony

0 Karma
1 Solution

fbl_itcs
Path Finder

Hi,

you could execute a script when the alert fires. The script then could start the heavy forwarder (in unix e. g. using ssh).

View solution in original post

fbl_itcs
Path Finder

Hi,

you could execute a script when the alert fires. The script then could start the heavy forwarder (in unix e. g. using ssh).

fbl_itcs
Path Finder

Not really. It really depends what kind of systems you are using. If it is a heavy forwarder on a Linux system it is nothing more than

"ssh splunk@computername "/opt/splunk/bin/splunk start""

Ofc. you need a passwordless login (e.g. using a key) for this to work.

0 Karma

tonyArad
Engager

Thanks!
Do you have an example of such script by chance?

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

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...