Skip to content

Commit 8d7a26c

Browse files
committed
Credit fingerprinting
1 parent 7ac3862 commit 8d7a26c

File tree

1 file changed

+18
-0
lines changed
  • packages/ess_billing/data_stream/credits/elasticsearch/ingest_pipeline

1 file changed

+18
-0
lines changed

packages/ess_billing/data_stream/credits/elasticsearch/ingest_pipeline/default.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ processors:
55
field: event.ingested
66
value: "{{_ingest.timestamp}}"
77
tag: ingest_timestamp
8+
- date:
9+
field: "@timestamp"
10+
formats:
11+
- ISO8601
12+
- UNIX
13+
- UNIX_MS
14+
tag: daily_timestamp
15+
output_format: "yyyy-MM-dd"
16+
target_field: "_ingest.day"
17+
- fingerprint:
18+
fields:
19+
- ess.billing.organization_id
20+
- ess.billing.start
21+
- ess.billing.ecu_quantity
22+
- _ingest.day
23+
tag: fingerprint_event
24+
target_field: _id
25+
ignore_missing: true
826
- set:
927
field: cloud.account.id
1028
copy_from: ess.billing.organization_id

0 commit comments

Comments
 (0)