Skip to main content

A Python logging handler that sends your logs to Splunk over HTTP event collector

Project description

* Example of usage
```
from splunk_http_handler import SplunkHttpHandler
import logging

log = logging.getLogger('')
log.addHandler(SplunkHttpHandler(host, port, token, host_name_override, source))
log.setLevel('INFO')
log.info("Testing")
```
You should see the log message in your Splunk search.

Project details


Download files

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

Source Distribution

splunk_http_handler-1.0.0.tar.gz (1.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page