Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,22 @@ The docker images also contain all extensions by default and they can be run by
if you'd like to run the `prometheus` extension:

```sh
docker run -it --rm --entrypoint marbleclimate/log-parser:latest --help
docker run -it --rm --entrypoint log-parser-prometheus marbleclimate/log-parser:latest --help
```

The entrypoint for all extensions is `log-parser-<name>` where `<name>` is the name of the extension.

All parsers and logs must be visible to the docker container. This can be accomplished by mounting them as volumes.
For example, if you have some parsers in a directory named `./my-parsers` and logs being written to a directory named
`./my-logs` you can run:

```sh
docker run -it --rm -v './my-parsers:/parsers:ro' -v './my-logs:/logs:ro' marbleclimate/log-parser:latest --parsers /parsers
```

Note that in the example above, the parsers refer to the location of the log files in the container (`/logs`), not on the
host (`./my-logs`).

## Development

To contribute to this project please fork [this repository](https://github.com/DACCS-Climate/log-parser) on GitHub, make
Expand Down