Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (21 sloc) 351 Bytes
type forward
# out_sampling_filter strongly recommended
<match test.**>
type sampling_filter
interval 2
remove_prefix test
add_prefix sampled
<match sampled.**>
type datacounter
tag result
aggregate all
count_key field
pattern1 ok ^OK
pattern2 ng ^NG
<match result>
type stdout
Something went wrong with that request. Please try again.