Skip to content

Commit f680157

Browse files
authored
[InfluxDB] Modify the dimension field mapping to support public cloud deployment (#6035)
* Modify the dimension field mapping to support public cloud deployment
1 parent b9dc109 commit f680157

File tree

6 files changed

+27
-6
lines changed

6 files changed

+27
-6
lines changed

packages/influxdb/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "0.4.2"
3+
changes:
4+
- description: Modifed the dimension field mapping to support public cloud deployment.
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/6035
27
- version: "0.4.1"
38
changes:
49
- description: Add additional dimension field for advstatus datastream.

packages/influxdb/data_stream/advstatus/fields/ecs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,14 @@
1111
name: agent.id
1212
dimension: true
1313
- external: ecs
14-
name: cloud.project.id
14+
name: cloud.account.id
1515
dimension: true
16+
- external: ecs
17+
name: cloud.region
18+
dimension: true
19+
- external: ecs
20+
name: cloud.availability_zone
21+
dimension: true
1622
- external: ecs
1723
name: cloud.instance.id
1824
dimension: true

packages/influxdb/data_stream/advstatus/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ streams:
2727
elasticsearch:
2828
index_template:
2929
settings:
30-
index.mapping.dimension_fields.limit: 24
30+
index.mapping.dimension_fields.limit: 32

packages/influxdb/data_stream/status/fields/ecs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,14 @@
1111
name: agent.id
1212
dimension: true
1313
- external: ecs
14-
name: cloud.project.id
14+
name: cloud.account.id
1515
dimension: true
16+
- external: ecs
17+
name: cloud.region
18+
dimension: true
19+
- external: ecs
20+
name: cloud.availability_zone
21+
dimension: true
1622
- external: ecs
1723
name: cloud.instance.id
1824
dimension: true

packages/influxdb/docs/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ Status metrics include details of memory usage, OS thread usage, query statistic
2525
|---|---|---|---|---|
2626
| @timestamp | Event timestamp. | date | | |
2727
| agent.id | Unique identifier of this agent (if one exists). Example: For Beats this would be beat.id. | keyword | | |
28+
| cloud.account.id | The cloud account or organization id used to identify different entities in a multi-tenant environment. Examples: AWS account id, Google Cloud ORG Id, or other unique identifier. | keyword | | |
29+
| cloud.availability_zone | Availability zone in which this host, resource, or service is located. | keyword | | |
2830
| cloud.instance.id | Instance ID of the host machine. | keyword | | |
29-
| cloud.project.id | The cloud project identifier. Examples: Google Cloud Project id, Azure Project id. | keyword | | |
3031
| cloud.provider | Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean. | keyword | | |
32+
| cloud.region | Region in which this host, resource, or service is located. | keyword | | |
3133
| container.id | Unique container id. | keyword | | |
3234
| data_stream.dataset | Data stream dataset. | constant_keyword | | |
3335
| data_stream.namespace | Data stream namespace. | constant_keyword | | |
@@ -206,9 +208,11 @@ Advanced status metric include details of query execution statistics, compaction
206208
|---|---|---|
207209
| @timestamp | Event timestamp. | date |
208210
| agent.id | Unique identifier of this agent (if one exists). Example: For Beats this would be beat.id. | keyword |
211+
| cloud.account.id | The cloud account or organization id used to identify different entities in a multi-tenant environment. Examples: AWS account id, Google Cloud ORG Id, or other unique identifier. | keyword |
212+
| cloud.availability_zone | Availability zone in which this host, resource, or service is located. | keyword |
209213
| cloud.instance.id | Instance ID of the host machine. | keyword |
210-
| cloud.project.id | The cloud project identifier. Examples: Google Cloud Project id, Azure Project id. | keyword |
211214
| cloud.provider | Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean. | keyword |
215+
| cloud.region | Region in which this host, resource, or service is located. | keyword |
212216
| container.id | Unique container id. | keyword |
213217
| data_stream.dataset | Data stream dataset. | constant_keyword |
214218
| data_stream.namespace | Data stream namespace. | constant_keyword |

packages/influxdb/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 1.0.0
22
name: influxdb
33
title: "InfluxDb"
4-
version: 0.4.1
4+
version: 0.4.2
55
license: basic
66
description: "Collect metrics from Influxdb database"
77
type: integration

0 commit comments

Comments
 (0)