summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-12-12 21:21:14 +0000
committerPaul Buetow <paul@buetow.org>2021-12-12 21:21:14 +0000
commit242d419f1b31755d1d1b3d1a1fd0e7bf61f7768e (patch)
tree8ca44d22b87553e6164b6e1937aa5f37194dbee3
parent040ea682db4df81c4888b771a785418262397e00 (diff)
link from example docs to query language and log format docs
-rw-r--r--doc/examples.md2
-rw-r--r--doc/querylanguage.md3
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/examples.md b/doc/examples.md
index 2d57cbf..56744f5 100644
--- a/doc/examples.md
+++ b/doc/examples.md
@@ -44,7 +44,7 @@ Hint: To run a map-reduce query across log lines written in the past, please use
--query 'from STATS select sum($goroutines),sum($cgocalls),last($time),max(lifetimeConnections)'
```
-Beware: For map-reduce queries to work, you have to ensure that DTail supports your log format. You can either use the ones already defined in `internal/mapr/logformat` or add an extension to support a custom log format.
+Beware: For map-reduce queries to work, you have to ensure that DTail supports your log format. Check out the [query language](./querylanguage.md) and [log formats](./logformats.md) for more information.
![dtail-map](dtail-map.gif "Tail mapreduce example")
diff --git a/doc/querylanguage.md b/doc/querylanguage.md
index 4fffdc3..a603bd9 100644
--- a/doc/querylanguage.md
+++ b/doc/querylanguage.md
@@ -58,5 +58,6 @@ FUNCTION := md5sum|maskdigits
*Notes:*
-* `lacks` is the inverse of `contains`)
+* `lacks` is the inverse of `contains`
+* `rorder` stands for reverse order and is the inverse of `order`
* Available fields (variables and barewords) vary from the log format used. Check out the [log format](./logformats.md) documentation for more information.