Sha256: e12a9b60e4db7df2c687c38d2a06a923e184b6c667fa38404c8373d24e4b9392

Contents?: true

Size: 614 Bytes

Versions: 1

Compression:

Stored size: 614 Bytes

Contents

<source>
  type forward
</source>

<match payment.quest>
  type datacalculator
  tag result.quest
  count_interval 5s
  aggregate keys area_id, mission_id
  retain_key_combinations false
  formulas sum = amount * price, cnt = 1, total = amount
  finalizer ave = cnt > 0 ? 1.00 * sum / cnt : 0
	<unmatched>
	  type file
		path unmatched
	</unmatched>
</match>

<match payment.shop>
  type datacalculator
  tag result.shop
  count_interval 5s
  aggregate all
  formulas sum = amount * price, cnt = 1, total = amount
  finalizer ave = cnt > 0 ? 1.00 * sum / cnt : 0
</match>

<match result.**>
  type stdout
</match>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-datacalculator-0.0.6 example.conf