Stjubit / TA-alert_forwarder

Splunk Technical Add-on that adds an Alert Action which forwards Alerts to a Splunk HTTP Event Collector
GNU General Public License v3.0
4 stars 1 forks source link

Alert Forwarder for Splunk

This Splunk Technical Add-on adds an Alert Action, which you can use to forward Splunk Alerts to a HTTP Event Collector (HEC).

Configuration

The Setup of this TA is pretty simple. Here are the required steps:

Troubleshooting

The TA writes logs into _internal. You can use the following search for troubleshooting:

index=_internal sourcetype="taalertforwarder:log"

Optionally, raise the Log Level on the App Configuration page.

How to dev

This project uses Docker Compose to spin up a full development environment with two Splunk instances.

SPLUNKBASE_USERNAME=<username>
SPLUNKBASE_PASSWORD=<password>

That's it. Splunk Alerts are automatically generated, you can begin development and don't have to bother with app setup and custom configurations!

splmaster001

This Splunk instance retrieves test alerts from splslave001 and stores them in a pre-configured index called alerts. The HTTP Event Collector (HEC) is automatically enabled by Splunk Ansible.

splslave001

This Splunk instance generates test alerts and sends them to splmaster001. The app configuration and Saved Searches is already set, so you just have to spin up the instance via Docker Compose.

Additional Infos

This project is actually hosted in GitLab and synced to Github, but you can still contribute to this project in Github of course!