21 lines
696 B
Markdown
21 lines
696 B
Markdown
Query language
|
|
===================
|
|
|
|
circolog uses a sql-inspired query language. If you know SQL, then you can use "where clauses" in circolog. If
|
|
you don't know SQL, don't worry: the language is easy enough for you to learn the most basic queries without
|
|
worrying too much.
|
|
|
|
You can only filter the rows, you can't sort them or group them in any way.
|
|
|
|
Reference
|
|
-----------
|
|
|
|
Available fields:
|
|
- `msg`: the string with the main information
|
|
- `prog`: also known as "program" sometimes
|
|
- `facility`: an integer describing auth, daemon, user, etc.
|
|
- `host`: the hostname where the entry originated
|
|
- `time`: date in format `2019-01-07T15:28:58+01:00`
|
|
- `sev`: an integer describing severity
|
|
|
|
|