Skip to content
A tool for pushing PagerDuty logs to Splunk
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pagerduty2splunk
.gitignore
.travis.yml
LICENSE.md
README.rst
pagerduty2splunk_test.py
setup.py

README.rst

PagerDuty2Splunk pypiversion travisbuild

This module allows you to take logs from PagerDuty and push them into Splunk for analysis. https://github.com/Sam-Martin/PagerDuty2Splunk


Installation

Provided you have Python installed, you can simply run:

pip install pagerduty2splunk

Examples

Relative: Push logs between yesterday and three days ago to Splunk:

pagerduty2splunk --log=INFO --start=1 --end=3 --splunk-token=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX  --splunk-instance-id=prd-X-XXXXX --pagerduty-token=XXX-XXXXXXXXXXXXXXXX

Absolute: Push logs from 2016-01-01 to 2016-01-05 to Splunk:

pagerduty2splunk --log=INFO --start=2016-01-01 --end=2015-01-05 --splunk-token=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX  --splunk-instance-id=prd-X-XXXXX --pagerduty-token=XXX-XXXXXXXXXXXXXXXX

Arguments

  • splunk-instance-id is the subdomain of your Splunk instance in Splunk cloud
  • splunk-token is the token of your HTTP Event Collector.
  • pagerduty-token is your V2 API token (see Generating an API Key for more details).
You can’t perform that action at this time.