diff --git a/docs/logging.rst b/docs/logging.rst index f0dbf54d00b66b43cdc1c695f2e6541033e3f3e9..fc74af9de82ef005c02a1a4eebfb56124691eb50 100644 --- a/docs/logging.rst +++ b/docs/logging.rst @@ -60,19 +60,19 @@ doing this since LogQL always expects a stream label to get queried): .. code:: bash - logcli query '{foo!="bar"}' + {foo!="bar"} Query all logs for a keyword: .. code:: bash - logcli query '{foo!="bar"} |= "error"' + {foo!="bar"} |= "error" Query all k8s apps for errors using a regular expression: .. code:: bash - logcli query '{job=~".*"} |~ "error|fail|exception|fatal"' + {job=~".*"} |~ "error|fail|exception|fatal" Flux ^^^^ @@ -130,7 +130,7 @@ Query kubernetes events processed by the ``eventrouter`` app containing .. code:: bash - logcli query '{app="eventrouter"} |~ "warning"' + {app="eventrouter"} |~ "warning" Cert-manager ^^^^^^^^^^^^