Skip to content

Instantly share code, notes, and snippets.

@fawkesley
Created March 11, 2014 15:46
Show Gist options
  • Save fawkesley/9488524 to your computer and use it in GitHub Desktop.
Save fawkesley/9488524 to your computer and use it in GitHub Desktop.
Backdrop logstash format
{
"@fields":{
"relativeCreated":344.9680805206299,
"process":12223,
"args":[
],
"module":"log_handler",
"funcName":"set_up_logging",
"message":"backdrop.read.api logging started",
"name":"backdrop.read.api",
"thread":140482203326208,
"created":1392994954.851128,
"threadName":"MainThread",
"msecs":851.128101348877,
"filename":"log_handler.py",
"levelno":20,
"processName":"MainProcess",
"pathname":"/var/apps/backdrop/backdrop/core/log_handler.py",
"lineno":32,
"asctime":"2014-02-21 15:02:34,851",
"levelname":"INFO"
},
"@timestamp":"2014-02-21T15:02:34.851432Z",
"@source_host":"pp-development-1",
"@message":"backdrop.read.api logging started",
"@tags":[
"application",
"backdrop.read.api"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment