Posts tagged 'logstash'


How to log php requests to logstash in json

With a little help from rastro in the #logstash IRC channel I got php to to log in to json and logstash to parse out the timestamps. Like this:

{ "mem": 786432, "sec": 0.001, "cpu": 0, "why": "/test.php?test=4", "what": "/var/www/test.php", "who": "-", "when": "1454100567" }

Set …


Noticing what didn't happen with syslog, icinga, and logstash.

Our tools are pretty good at logging everything they do. None of them log anything when they croak.