Skip to content

Commit

Permalink
README.md: Update JSON format documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Meyer committed Jul 19, 2018
1 parent 5c7e5df commit 072d32a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,13 @@ These objects have the following properties:
A unix timestamp specifying when the activity occurred.
* `activity`
An arbitrary identifier specifying the type of activity.
* `identity`
An arbitrary name identifying the responsible subject.
* `message`
A human readable message. This is the same that appears in the standard log.
* `data` *(may be absent)*
An arbitrary number of additional properties dependent on the type of activity.

Additionally these objects may contain an arbitrary number of additional properties dependent on the type of activity.
Please see the documentation of the type of activity for more details. ([Icinga Web 2 activities](https://www.icinga.com/docs/icingaweb2/latest/doc/15-Auditing/))

An example for *Filebeat* how this log may be consumed can be found [here](https://www.elastic.co/blog/structured-logging-filebeat).

0 comments on commit 072d32a

Please sign in to comment.