Permalink
Browse files

add example configuration

  • Loading branch information...
1 parent 224e64b commit 64fb32432328e9ef62e196935aef04844bcc5374 @tagomoris committed Feb 22, 2012
Showing with 24 additions and 0 deletions.
  1. +24 −0 example.conf
View
@@ -0,0 +1,24 @@
+<source>
+ type forward
+</source>
+
+# out_sampling_filter strongly recommended
+<match test.**>
+ type sampling_filter
+ interval 2
+ remove_prefix test
+ add_prefix sampled
+</match>
+
+<match sampled.**>
+ type datacounter
+ tag result
+ aggregate all
+ count_key field
+ pattern1 ok ^OK
+ pattern2 ng ^NG
+</match>
+
+<match result>
+ type stdout
+</match>

0 comments on commit 64fb324

Please sign in to comment.