Skip to content
Snippets Groups Projects
Unverified Commit 792f132b authored by Varac's avatar Varac
Browse files

Make logql examples generic

parent b342469d
No related branches found
No related tags found
No related merge requests found
...@@ -60,19 +60,19 @@ doing this since LogQL always expects a stream label to get queried): ...@@ -60,19 +60,19 @@ doing this since LogQL always expects a stream label to get queried):
.. code:: bash .. code:: bash
logcli query '{foo!="bar"}' {foo!="bar"}
Query all logs for a keyword: Query all logs for a keyword:
.. code:: bash .. code:: bash
logcli query '{foo!="bar"} |= "error"' {foo!="bar"} |= "error"
Query all k8s apps for errors using a regular expression: Query all k8s apps for errors using a regular expression:
.. code:: bash .. code:: bash
logcli query '{job=~".*"} |~ "error|fail|exception|fatal"' {job=~".*"} |~ "error|fail|exception|fatal"
Flux Flux
^^^^ ^^^^
...@@ -130,7 +130,7 @@ Query kubernetes events processed by the ``eventrouter`` app containing ...@@ -130,7 +130,7 @@ Query kubernetes events processed by the ``eventrouter`` app containing
.. code:: bash .. code:: bash
logcli query '{app="eventrouter"} |~ "warning"' {app="eventrouter"} |~ "warning"
Cert-manager Cert-manager
^^^^^^^^^^^^ ^^^^^^^^^^^^
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment