-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
396 additions
and
7 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
apmpackage/apm/0.1.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"description": "Default enrichment for APM events", | ||
"processors": [ | ||
{ | ||
"pipeline": { | ||
"name": "apm_user_agent" | ||
} | ||
}, | ||
{ | ||
"pipeline": { | ||
"name": "apm_user_geo" | ||
} | ||
}, | ||
{ | ||
"pipeline": { | ||
"name": "apm_ingest_timestamp" | ||
} | ||
}, | ||
{ | ||
"pipeline": { | ||
"name": "apm_remove_span_metadata" | ||
} | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
....1.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"description": "Add an ingest timestamp for APM events", | ||
"processors": [ | ||
{ | ||
"set": { | ||
"field": "event.ingested", | ||
"if": "ctx.processor?.event != 'span'", | ||
"value": "{{_ingest.timestamp}}" | ||
} | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
.../data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"description": "Removes metadata fields available already on the parent transaction, to save storage", | ||
"processors": [ | ||
{ | ||
"remove": { | ||
"field": [ | ||
"host", | ||
"process", | ||
"user", | ||
"user_agent", | ||
"container", | ||
"kubernetes", | ||
"service.node", | ||
"service.version", | ||
"service.language", | ||
"service.runtime", | ||
"service.framework" | ||
], | ||
"if": "ctx.processor?.event == 'span'", | ||
"ignore_failure": true, | ||
"ignore_missing": true | ||
} | ||
} | ||
] | ||
} |
13 changes: 13 additions & 0 deletions
13
.../apm/0.1.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"description": "Add user agent information for APM events", | ||
"processors": [ | ||
{ | ||
"user_agent": { | ||
"field": "user_agent.original", | ||
"ignore_failure": true, | ||
"ignore_missing": true, | ||
"target_field": "user_agent" | ||
} | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
...ge/apm/0.1.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"description": "Add user geo information for APM events", | ||
"processors": [ | ||
{ | ||
"geoip": { | ||
"database_file": "GeoLite2-City.mmdb", | ||
"field": "client.ip", | ||
"ignore_missing": true, | ||
"on_failure": [ | ||
{ | ||
"remove": { | ||
"field": "client.ip", | ||
"ignore_failure": true, | ||
"ignore_missing": true | ||
} | ||
} | ||
], | ||
"target_field": "client.geo" | ||
} | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
apmpackage/apm/0.1.0/data_stream/logs/elasticsearch/ingest_pipeline/apm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"description": "Default enrichment for APM events", | ||
"processors": [ | ||
{ | ||
"pipeline": { | ||
"name": "apm_user_agent" | ||
} | ||
}, | ||
{ | ||
"pipeline": { | ||
"name": "apm_user_geo" | ||
} | ||
}, | ||
{ | ||
"pipeline": { | ||
"name": "apm_ingest_timestamp" | ||
} | ||
}, | ||
{ | ||
"pipeline": { | ||
"name": "apm_remove_span_metadata" | ||
} | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
...ackage/apm/0.1.0/data_stream/logs/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"description": "Add an ingest timestamp for APM events", | ||
"processors": [ | ||
{ | ||
"set": { | ||
"field": "event.ingested", | ||
"if": "ctx.processor?.event != 'span'", | ||
"value": "{{_ingest.timestamp}}" | ||
} | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
...ge/apm/0.1.0/data_stream/logs/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"description": "Removes metadata fields available already on the parent transaction, to save storage", | ||
"processors": [ | ||
{ | ||
"remove": { | ||
"field": [ | ||
"host", | ||
"process", | ||
"user", | ||
"user_agent", | ||
"container", | ||
"kubernetes", | ||
"service.node", | ||
"service.version", | ||
"service.language", | ||
"service.runtime", | ||
"service.framework" | ||
], | ||
"if": "ctx.processor?.event == 'span'", | ||
"ignore_failure": true, | ||
"ignore_missing": true | ||
} | ||
} | ||
] | ||
} |
13 changes: 13 additions & 0 deletions
13
apmpackage/apm/0.1.0/data_stream/logs/elasticsearch/ingest_pipeline/apm_user_agent.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"description": "Add user agent information for APM events", | ||
"processors": [ | ||
{ | ||
"user_agent": { | ||
"field": "user_agent.original", | ||
"ignore_failure": true, | ||
"ignore_missing": true, | ||
"target_field": "user_agent" | ||
} | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
apmpackage/apm/0.1.0/data_stream/logs/elasticsearch/ingest_pipeline/apm_user_geo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"description": "Add user geo information for APM events", | ||
"processors": [ | ||
{ | ||
"geoip": { | ||
"database_file": "GeoLite2-City.mmdb", | ||
"field": "client.ip", | ||
"ignore_missing": true, | ||
"on_failure": [ | ||
{ | ||
"remove": { | ||
"field": "client.ip", | ||
"ignore_failure": true, | ||
"ignore_missing": true | ||
} | ||
} | ||
], | ||
"target_field": "client.geo" | ||
} | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
apmpackage/apm/0.1.0/data_stream/metrics/elasticsearch/ingest_pipeline/apm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"description": "Default enrichment for APM events", | ||
"processors": [ | ||
{ | ||
"pipeline": { | ||
"name": "apm_user_agent" | ||
} | ||
}, | ||
{ | ||
"pipeline": { | ||
"name": "apm_user_geo" | ||
} | ||
}, | ||
{ | ||
"pipeline": { | ||
"name": "apm_ingest_timestamp" | ||
} | ||
}, | ||
{ | ||
"pipeline": { | ||
"name": "apm_remove_span_metadata" | ||
} | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
...age/apm/0.1.0/data_stream/metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"description": "Add an ingest timestamp for APM events", | ||
"processors": [ | ||
{ | ||
"set": { | ||
"field": "event.ingested", | ||
"if": "ctx.processor?.event != 'span'", | ||
"value": "{{_ingest.timestamp}}" | ||
} | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
...apm/0.1.0/data_stream/metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"description": "Removes metadata fields available already on the parent transaction, to save storage", | ||
"processors": [ | ||
{ | ||
"remove": { | ||
"field": [ | ||
"host", | ||
"process", | ||
"user", | ||
"user_agent", | ||
"container", | ||
"kubernetes", | ||
"service.node", | ||
"service.version", | ||
"service.language", | ||
"service.runtime", | ||
"service.framework" | ||
], | ||
"if": "ctx.processor?.event == 'span'", | ||
"ignore_failure": true, | ||
"ignore_missing": true | ||
} | ||
} | ||
] | ||
} |
13 changes: 13 additions & 0 deletions
13
apmpackage/apm/0.1.0/data_stream/metrics/elasticsearch/ingest_pipeline/apm_user_agent.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"description": "Add user agent information for APM events", | ||
"processors": [ | ||
{ | ||
"user_agent": { | ||
"field": "user_agent.original", | ||
"ignore_failure": true, | ||
"ignore_missing": true, | ||
"target_field": "user_agent" | ||
} | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
apmpackage/apm/0.1.0/data_stream/metrics/elasticsearch/ingest_pipeline/apm_user_geo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"description": "Add user geo information for APM events", | ||
"processors": [ | ||
{ | ||
"geoip": { | ||
"database_file": "GeoLite2-City.mmdb", | ||
"field": "client.ip", | ||
"ignore_missing": true, | ||
"on_failure": [ | ||
{ | ||
"remove": { | ||
"field": "client.ip", | ||
"ignore_failure": true, | ||
"ignore_missing": true | ||
} | ||
} | ||
], | ||
"target_field": "client.geo" | ||
} | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
apmpackage/apm/0.1.0/data_stream/profiles/elasticsearch/ingest_pipeline/apm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"description": "Default enrichment for APM events", | ||
"processors": [ | ||
{ | ||
"pipeline": { | ||
"name": "apm_user_agent" | ||
} | ||
}, | ||
{ | ||
"pipeline": { | ||
"name": "apm_user_geo" | ||
} | ||
}, | ||
{ | ||
"pipeline": { | ||
"name": "apm_ingest_timestamp" | ||
} | ||
}, | ||
{ | ||
"pipeline": { | ||
"name": "apm_remove_span_metadata" | ||
} | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
...ge/apm/0.1.0/data_stream/profiles/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"description": "Add an ingest timestamp for APM events", | ||
"processors": [ | ||
{ | ||
"set": { | ||
"field": "event.ingested", | ||
"if": "ctx.processor?.event != 'span'", | ||
"value": "{{_ingest.timestamp}}" | ||
} | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
...pm/0.1.0/data_stream/profiles/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"description": "Removes metadata fields available already on the parent transaction, to save storage", | ||
"processors": [ | ||
{ | ||
"remove": { | ||
"field": [ | ||
"host", | ||
"process", | ||
"user", | ||
"user_agent", | ||
"container", | ||
"kubernetes", | ||
"service.node", | ||
"service.version", | ||
"service.language", | ||
"service.runtime", | ||
"service.framework" | ||
], | ||
"if": "ctx.processor?.event == 'span'", | ||
"ignore_failure": true, | ||
"ignore_missing": true | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.