Used LogRecord.pathname for source_path field.
Added support for the new JSON format in logstash 1.2.x.