summaryrefslogtreecommitdiff
path: root/doc/querylanguage.md
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2021-12-09 09:33:13 +0000
committerPaul Buetow <pbuetow@mimecast.com>2021-12-09 09:33:13 +0000
commita8438bd6f04d7c99c8fd033d7161054a64c85473 (patch)
treeae1bb7d927cd6169c6fa8174765424350fada9d5 /doc/querylanguage.md
parent785d379ca02f4488d39e8952e9ae5bea673cd930 (diff)
parent35583f55844f5738eb52c9363f7a7e091d455726 (diff)
Merge branch '4.0.0-RC' of https://codeberg.org/snonux/dtail into 4.0.0-RC
Diffstat (limited to 'doc/querylanguage.md')
-rw-r--r--doc/querylanguage.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/querylanguage.md b/doc/querylanguage.md
new file mode 100644
index 0000000..9f38f5e
--- /dev/null
+++ b/doc/querylanguage.md
@@ -0,0 +1,18 @@
+DTail Query Language
+====================
+
+The query language allows you to run mapreduce queries on log files. This page intends to be a reference to the language.
+
+## Prerequisites
+
+For this to work, DTail needs to understand your log format. DTail already understands its own log format. You can have a look at all examples of the [examples](./examples.md) page using `-query` (these would be all examples of the `dmap` command, and some examples using the `dtail` command).
+
+DTail also ships with a generic log format, which only allows you to run very basic queries. Check out the [log formats](./logformats.md) documentation for this.
+
+To implement your own log format, please also check out the [log formats](./logformats.md) documentation.
+
+## The complete language
+
+```
+TODO: Add EBNF
+```