Skip to content

A plugin that lets you import CloudPassage Halo events into Splunk (and other SIEM/log processors)

License

Notifications You must be signed in to change notification settings

cloudpassage/splunk-halo-python

Repository files navigation

Halo Event Connector Script - Python

For sake of brevity, the document “Halo Event Connector” only covers integrating Halo events with the Splunk Enterprise Server SIEM tool.

However, given the number of different output formats the script supports, you will just as easily be able to integrate Halo events into other popular SIEM tools, such as ArcSight and Sumo Logic to name a few, or with your Syslog infrastructure.

In addition, there are several ways you can run this script to stream event data to your desired target.

For example, let’s say, you wanted to setup this script to be run from cron, emit Halo events as key-value name pairs and append them to a file on the local filesystem. And you wanted to pull only those events that were logged since Nov 10, 2012 onwards. And instead of using the script defaults where the files are expected to be in the program directory, let’s say you wanted to use a different working directory /opt/cloudpassage, for example.

For that, you would do something like this:

Run crontab -e and add a line with the desired schedule, such as the following to run, say every 5 minutes

*/5 * * * * /opt/cloudpassage/bin/haloEvents.py --starting=2012-11-10 --auth=/opt/cloudpassage/config/myHaloKeys.auth --configdir=/opt/cloudpassage/config --kvfile=/opt/cloudpassage/logs/eventsInKVFormat >/dev/null 2>&1

Save your changes before you exit.

If you are extracting events from more than one (supports up to 5) Halo account, you can specify those in your myHaloKeys.auth file like this:

key_id_1|secret_1
key_id_2|secret_2
…
…
key_id_5|secret_5

About

A plugin that lets you import CloudPassage Halo events into Splunk (and other SIEM/log processors)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages