Skip to main content

A tool for pushing PagerDuty logs to Splunk

Project description

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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pagerduty2splunk, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size pagerduty2splunk-0.0.6.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page