Sha256: 883ddf3f49aba2a25842d2bc2dfa33547d78b06c4689b7267876e5fddc84a722

Contents?: true

Size: 582 Bytes

Versions: 3

Compression:

Stored size: 582 Bytes

Contents

<source>
  type forward
</source>

<match payment.quest>
  type datacalculator
  tag result.quest
  count_interval 5s
  aggregate keys area_id, mission_id
  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

3 entries across 3 versions & 1 rubygems

Version Path
fluent-plugin-datacalculator-0.0.5 example.conf
fluent-plugin-datacalculator-0.0.3 example.conf
fluent-plugin-datacalculator-0.0.2 example.conf