summaryrefslogtreecommitdiff
path: root/templates/show/log/openvpn/node.def
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-10-10 17:46:51 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-27 17:11:30 -0500
commit099eebc479b832634bd8311de0676a9ca9233b99 (patch)
treec2047569729c08ecf60e848358119acba8eb70d2 /templates/show/log/openvpn/node.def
parentde9a15fe4f2367e2c9bbd135a8b5afe24b5af685 (diff)
downloadvyatta-op-099eebc479b832634bd8311de0676a9ca9233b99.tar.gz
vyatta-op-099eebc479b832634bd8311de0676a9ca9233b99.zip
Allow log filtering similar to the way the monitor commands work
(cherry picked from commit 41dc415a0531e758bf4bb98399c963732a22a859)
Diffstat (limited to 'templates/show/log/openvpn/node.def')
-rw-r--r--templates/show/log/openvpn/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/show/log/openvpn/node.def b/templates/show/log/openvpn/node.def
new file mode 100644
index 0000000..0206699
--- /dev/null
+++ b/templates/show/log/openvpn/node.def
@@ -0,0 +1,2 @@
+help: Show log for Openvpn
+run: cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e openvpn