Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[prometheus] add event.module and event.dataset #1249

Merged
merged 5 commits into from
Jun 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/prometheus/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.4.0"
changes:
- description: Set `event.module` and `event.dataset`
type: enhancement
link: https://github.com/elastic/integrations/pull/1249
- version: "0.3.5"
changes:
- description: Updating package owner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,11 @@
- name: '@timestamp'
type: date
description: Event timestamp.
- name: event.module
type: constant_keyword
description: Event module.
value: prometheus
- name: event.dataset
type: constant_keyword
description: Event dataset.
value: prometheus.collector
8 changes: 8 additions & 0 deletions packages/prometheus/data_stream/query/fields/base-fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,11 @@
- name: '@timestamp'
type: date
description: Event timestamp.
- name: event.module
type: constant_keyword
description: Event module.
value: prometheus
- name: event.dataset
type: constant_keyword
description: Event dataset.
value: prometheus.query
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,11 @@
- name: '@timestamp'
type: date
description: Event timestamp.
- name: event.module
type: constant_keyword
description: Event module.
value: prometheus
- name: event.dataset
type: constant_keyword
description: Event dataset.
value: prometheus.remote_write
6 changes: 6 additions & 0 deletions packages/prometheus/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ The fields reported are:
| data_stream.namespace | Data stream namespace. | constant_keyword |
| data_stream.type | Data stream type. | constant_keyword |
| ecs.version | ECS version | keyword |
| event.dataset | Event dataset. | constant_keyword |
| event.module | Event module. | constant_keyword |
| host.architecture | Operating system architecture. | keyword |
| host.containerized | If the host is a container. | boolean |
| host.domain | Name of the domain of which the host is a member. For example, on Windows this could be the host's Active Directory domain or NetBIOS domain name. For Linux this could be the domain of the host's LDAP provider. | keyword |
Expand Down Expand Up @@ -336,6 +338,8 @@ The fields reported are:
| data_stream.namespace | Data stream namespace. | constant_keyword |
| data_stream.type | Data stream type. | constant_keyword |
| ecs.version | ECS version | keyword |
| event.dataset | Event dataset. | constant_keyword |
| event.module | Event module. | constant_keyword |
| host.architecture | Operating system architecture. | keyword |
| host.containerized | If the host is a container. | boolean |
| host.domain | Name of the domain of which the host is a member. For example, on Windows this could be the host's Active Directory domain or NetBIOS domain name. For Linux this could be the domain of the host's LDAP provider. | keyword |
Expand Down Expand Up @@ -542,6 +546,8 @@ The fields reported are:
| data_stream.namespace | Data stream namespace. | constant_keyword |
| data_stream.type | Data stream type. | constant_keyword |
| ecs.version | ECS version | keyword |
| event.dataset | Event dataset. | constant_keyword |
| event.module | Event module. | constant_keyword |
| host.architecture | Operating system architecture. | keyword |
| host.containerized | If the host is a container. | boolean |
| host.domain | Name of the domain of which the host is a member. For example, on Windows this could be the host's Active Directory domain or NetBIOS domain name. For Linux this could be the domain of the host's LDAP provider. | keyword |
Expand Down
4 changes: 2 additions & 2 deletions packages/prometheus/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: prometheus
title: Prometheus
version: 0.3.5
version: 0.4.0
license: basic
description: Prometheus Integration
type: integration
Expand All @@ -10,7 +10,7 @@ categories:
- datastore
release: experimental
conditions:
kibana.version: "^7.10.0"
kibana.version: "^7.14.0"
screenshots:
- src: /img/metricbeat-prometheus-overview.png
title: Metricbeat Prometheus Overview
Expand Down