summaryrefslogtreecommitdiffstats
path: root/grammar/mini.samp
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/mini.samp')
-rw-r--r--grammar/mini.samp32
1 files changed, 32 insertions, 0 deletions
diff --git a/grammar/mini.samp b/grammar/mini.samp
new file mode 100644
index 00000000..54efacec
--- /dev/null
+++ b/grammar/mini.samp
@@ -0,0 +1,32 @@
+#global (dnscache="yes" arg1="1 2" arg2 = "1 2" arg3 ="1=2\"3")
+action(type="omuser" target="all")
+global (dnscache="no" b="2")
+$FileOwner root
+*.* *
+$action somelog 1
+& /var/log/somelog
+$action log2 1
+$action log2 2
+$action log2 3
+& action(type="fwd" target="10.1.1.2")
+& /var/log/log2
+
+if 1 then /var/log/log3
+/* sample bwlow is v7
+if 1 then { /var/log/log3
+ if 2 then /var/log/log4
+ *.* /var/log/log4b
+}
+*/
+*.* { /var/log/log5
+ /var/log/log6
+ $port 514
+ @@fwd
+ rger
+ }
+if 1/*pri("*.*")*/ then {
+ action(type="omfile" taget="/var/log/log5")
+ action(type="omfile" taget="/var/log/log6")
+ action(type="omfwd" taget="10.0.0.1" port="514")
+ action(type="omwusr" taget="rger")
+}