Skip to content

Instantly share code, notes, and snippets.

@studio3104
Created September 21, 2012 07:16
Show Gist options
  • Save studio3104/3760156 to your computer and use it in GitHub Desktop.
Save studio3104/3760156 to your computer and use it in GitHub Desktop.
rewrite TAG & count
<match filtered.game_access.**>
type rewrite
remove_prefix filtered
add_prefix rewrited
<rule>
key path.cor_id
pattern ^(\d+)$
append_to_tag true
fallback others
</rule>
</match>
<match rewrited.game_access.**>
type forest
subtype numeric_counter
remove_prefix rewrited.game_access
<template>
tag numcount.everycorid.game_access.__TAG__
aggregate tag
count_key response
pattern1 -10ms 0 10000
pattern2 -100ms 10000 100000
pattern3 -1s 100000 1000000
pattern4 -3s 1000000 3000000
pattern5 3s- 3000000
</template>
</match>
@studio3104
Copy link
Author

filteredなログはout_exec_filter通ってきてます

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment