https://fritz.box/system/syslog.lua?tab=aus
https://fritz.box/system/syslog.lua?delete=1
error: Invalid character
.mq_log|.[]|._node? // .[0]
^
1 compile error
ts@xenon:~> jq -r '.mq_log|.[]|._node§//.[0]'
jq: error: syntax error, unexpected INVALID_CHARACTER, expecting $end (Unix shell quoting issues?) at <top-level>, line 1:
.mq_log|.[]|._node§//.[0]
jq: 1 compile error
which jq
jq --help
jq --help
/usr/bin/jq
jq --help
jq - commandline JSON processor [version 1.3]
Usage: jq [options] <jq filter> [file...]
For a description of the command line options and
how to write jq filters (and why you might want to)
see the jq manpage, or the online documentation at
http://stedolan.github.com/jq
jq -r '.mq_log|.[]|._node?//.[0]' /dev/null
'.mq_log|.[]|._node'
'.mq_log|.[]|.[0]'
jq -r '.mq_log|.[]|.[0]'
docker build -t fritz-syslog:latest .
docker run --rm -v <dstdir>:/data fritzlog
.fritzlogrc
PASSWORD=dasfritzboxpasswort