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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...