Sha256: 3d305f834aecd157ebe4be2f4d775f90110a5f75c6e4cbf21b2d755d985e16c5

Contents?: true

Size: 1.67 KB

Versions: 13

Compression:

Stored size: 1.67 KB

Contents

<match event.*>
  type norikra_filter
  norikra localhost:26571

  <server>
    path    /home/user/.rbenv/versions/jruby-1.7.4/bin/norikra
  </server>

  remove_tag_prefix event

  target_map_tag yes
  # or
  # target_map_key KEYNAME
  # or
  # target_string TARGET_STRING

  <default>
    include *
    exclude yyyymmdd,hhmmss
    exclude_regexp f_.*
    # OR
    # exclude *
    # include foo,bar,baz
    # include_regexp status.*
    field_boolean flag
    field_integer status,duration,bytes

    <query>
      name pv_${target}
      expression SELECT count(*) AS cnt FROM ${target}.win:time_batch(1 minutes) WHERE not flag
      tag pv.${target}
      # group pv_query_group # default: nil (default group)
      fetch_interval 15s # default -> time_batch / 4 ? -> (none) -> 60s
      # fetch_interval is ignored when <events> section specified
    </query>
    <query>
      name errors_${target}
      expression SELECT count(*) AS cnt FROM ${target}.win:time_batch(1 minutes) WHERE status >= 500
      tag errors.${target}
      fetch_interval 15s
    </query>
  </default>

  <target search>
    field_int display

    <query>
      name search_words
      expression SELECT count(distinct query_search) AS cnt FROM ${target}.win:time_batch(1 minutes) WHERE query_search.length() > 0
      tag search.words
    </query>
    <query>
      name search_rate
      expression SELECT count(*) AS cnt FROM ${target}.win:time_batch(1 minutes) WHERE query_search.length() > 0
      tag search.rate
    </query>
  </target>

  <fetch>
    method sweep # listen(not implemented)
    tag query_name
    # tag field FIELDNAME
    # tag string TAG_STRING
    tag_prefix cep
    interval 5s
  </fetch>
</match>

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
fluent-plugin-norikra-0.4.4 example/example1.conf
fluent-plugin-norikra-0.4.3 example/example1.conf
fluent-plugin-norikra-0.4.2 example/example1.conf
fluent-plugin-norikra-0.4.1 example/example1.conf
fluent-plugin-norikra-0.4.0 example/example1.conf
fluent-plugin-norikra-0.3.0 example/example1.conf
fluent-plugin-norikra-patched-7-0.2.2 example/example1.conf
fluent-plugin-norikra-0.2.2 example/example1.conf
fluent-plugin-norikra-0.2.1 example/example1.conf
fluent-plugin-norikra-0.2.0 example/example1.conf
fluent-plugin-norikra-0.1.2 example/example1.conf
fluent-plugin-norikra-0.1.1 example/example1.conf
fluent-plugin-norikra-0.1.0 example/example1.conf