splunk_handler
splunk_handler copied to clipboard
Python logging handler for sending logs to Splunk Enterprise
I had full queue issue: [SplunkHandler] Log queue full; log data will be dropped. so I investigate the reason because I didn't find anything excessive from my logging bandwidth specifically...
when use handler in `uwsgi --master` the Queue and comsumer worker will be created by `master` process, but the producer is child process. when use handler in celery worker, also...
Hi, I'm writing AWS Lambda to forward logs from Cloudwatch to Splunk Cloud. Everything works, but when there is small amount of events (logs pushed to Cloudwatch loggroup) my lambda...
## Problem When called with a non-empty queue, `empty_queue` erroneously returns `False` when the queue is emptied as a result of its call, and `True` otherwise. ## Solution Return `len(queue)...
With https://github.com/zach-taylor/splunk_handler/pull/49, the underlying urllib3 minimum version required increased to 1.26.0. **Requests 2.25.0** is the first version that pulls in **urllib3 1.26.0**. **urllib3 1.26.0** (2020-11-10) https://urllib3.readthedocs.io/en/latest/changelog.html#id6 Deprecated Retry options Retry.DEFAULT_METHOD_WHITELIST,...
Just FYI - these are the changes I needed to make to get this to work with Splunk cloud, Python 2 and without modifying the TOKEN data provided by Splunk....
When you log anything using this handler and the Splunk server is down or unreachable, an Exception is raised and has to be handled properly instead of just printing the...
This one is curious to me, but splunk_handler seems to fail to transmit log events which are created by multiprocessing.pool processes. I have constructed a small application which uses multiprocessing.pool...
Spent quite a while debugging this and identified some issues: * The whole application fails silently if the port is wrong * This happens even with debug mode enabled: I...
Hello! :) This pull request implements keep payload on sending fail. This mechanic can be useful if you want see all the logs events in cases when the Splunk may...