You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/admin/configuration/expressions.mdx
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,6 +197,12 @@ Log filters are run on every time Anubis logs data. These are high throughput fi
197
197
| `level` | `string` | The [log level](https://pkg.go.dev/log/slog#Level) for the log message. | `"INFO"` |
198
198
| `attrs` | `map[string, string]` | The key -> value attributes for the given log line. Note that this is an expensive variable to access. | `{"err": "internal: the sun exploded"}` |
199
199
200
+
:::note
201
+
202
+
When you define a log filter, anything matching that filter is _removed_. Any remaining logs are sent through to the system journal or standard error.
203
+
204
+
:::
205
+
200
206
## Functions exposed to Anubis expressions
201
207
202
208
Anubis expressions can be augmented with the following functions:
0 commit comments