hub1/parsers/s00-raw/crowdsecurity/docker-logs.md
raw| 1 | # Docker parser |
| 2 | |
| 3 | This is the default docker json logs format parser. |
| 4 | It works on kubernetes using docker. |
| 5 | |
| 6 | ## requirements |
| 7 | |
| 8 | When using this parser, you need to specify in your `acquis.yaml` type and program. So your log will be extracted and then sent to the proper next parser using the program key. |
| 9 | |
| 10 | example: |
| 11 | |
| 12 | ```yaml |
| 13 | labels: |
| 14 | type: docker |
| 15 | program: nginx |
| 16 | ``` |