This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"timestamp": "2010-02-17 02:08:45.912-0700", | |
"inputname": "solrclient", | |
"ip": "127.0.0.1", | |
"text": "btpool0-87 SolrCore.execute INFO: [repo_6] webapp=/solr path=/select/ params={sort=timestamp+desc&start=0&q=404&version=2.2&rows=100} hits=7182 status=0 QTime=0 \n", | |
}, | |
{ | |
"timestamp": "2010-02-17 02:08:29.123-0700", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import sys | |
import urllib2 | |
''' | |
Auto-authenticate Syslog TCP inputs. | |
Usage: python inputs.py -u user -p pass -s subdomain | |
''' | |
state = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/perl | |
#--------- | |
# LogglySender v0.1 | |
# Sends log lines from Apache to Loggly via an HTTP input | |
# http://wiki.loggly.com/ | |
#--------- | |
# IMPORTANT: Be sure to make this script executable! | |
# (e.g. "chmod +x logglysender.pl") | |
#--------- | |
use LWP::UserAgent; |
NewerOlder