aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-01-20 00:34:27 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-01-20 00:34:27 +0100
commit2294ac77a8a69b1962e06264ae0f4c250e5365ff (patch)
tree8c5bbfe63270f668cadf8699d37236016b3dd51d /doc
parentcfb31e840c9c0a44127f74602dac672e342a9401 (diff)
doc/log-forward: add tips and tricks
Diffstat (limited to 'doc')
-rw-r--r--doc/log-forward.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/log-forward.md b/doc/log-forward.md
index 250dbf9..6faa27e 100644
--- a/doc/log-forward.md
+++ b/doc/log-forward.md
@@ -66,6 +66,18 @@ Also notification settings are required for
[matrix](mod/notification-matrix.md) and/or
[telegram](mod/notification-telegram.md).
+Tips & Tricks
+-------------
+
+### Notification on reboot
+
+You want to receive a notification on every device (re-)boot? Quite easy,
+just add:
+
+ :global LogForwardIncludeMessage "(^router rebooted)";
+
+This will match on every log message beginning with `router rebooted`.
+
---
[⬅️ Go back to main README](../README.md)
[⬆️ Go back to top](#top)