Documentation about the `--json` log format

As I want to stream the logs of restic to a logging server that parses logs for metadata and makes it searchable, I wanted to ask if there is a documentation about all the possible JSON objects that might be printed, or whether I have to dig the sourcecode for them?

There’s a partial documentation at Add JSON documentation by metalsp0rk · Pull Request #2740 · restic/restic · GitHub , however, it could be slightly outdated.

1 Like

I think that it currently would be a lot more work to create+maintain extensive documentation for the JSON output formats than it’s worth compared to the user simply trying it and seeing the actual concrete structure and what data the various parts of it hold.

1 Like