Skip to content

Commit

Permalink
updated docs to refelct new message_format. sivasamyk#117
Browse files Browse the repository at this point in the history
  • Loading branch information
sivasamyk committed Jun 6, 2017
1 parent 09a445d commit db7404f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/add_fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ To add `pid` and `host ip address` to each log event following is the configurat
"program": "program",
"message": "syslog_message"
},
"message_format": "{{host}} | {pid} : {{syslog_message}}"
"message_format": "{{{host}}} | {{{pid}}} : {{{syslog_message}}}"
}
```
For the above configuration the event console display will be like:

![Add Fields screenshot](https://raw.githubusercontent.com/sivasamyk/logtrail/message_format/docs/add_fields.png)

On clicking additional field, logtrail will automatically search for log messages matching the value of the field. For example on clicking the pid `16545` in above message, logtrail will search for all message whose pid is `16545` in this index.
On clicking additional field, logtrail will automatically search for log messages matching the value of the field. For example on clicking the pid `16545` in above message, logtrail will search for all message whose pid is `16545` in this index.

0 comments on commit db7404f

Please sign in to comment.