diff options
author | Christian Hesse <mail@eworm.de> | 2023-01-20 00:34:27 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-01-20 00:34:27 +0100 |
commit | 2294ac77a8a69b1962e06264ae0f4c250e5365ff (patch) | |
tree | 8c5bbfe63270f668cadf8699d37236016b3dd51d | |
parent | cfb31e840c9c0a44127f74602dac672e342a9401 (diff) |
doc/log-forward: add tips and tricks
-rw-r--r-- | doc/log-forward.md | 12 |
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) |