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

[O11y][WebSphere Application Server] Resolve the conflict in host.ip field #7507

Merged
Merged
Show file tree
Hide file tree
Changes from 5 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
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ This integration uses Prometheus to collect above metrics.

To open Prometheus endpoint read following [instructions](https://www.ibm.com/docs/en/was/9.0.5?topic=mosh-displaying-pmi-metrics-in-prometheus-format-metrics-app).

### Troubleshooting

If host.ip is shown conflicted under ``metrics-*`` data view, then this issue can be solved by [reindexing](https://www.elastic.co/guide/en/elasticsearch/reference/current/use-a-data-stream.html#reindex-with-a-data-stream) the ``JDBC``, ``Servlet``, ``Session Manager`` and ``ThreadPool`` data stream's indices.

## JDBC

This data stream collects JDBC (Java Database Connectivity) related metrics.
Expand Down
5 changes: 5 additions & 0 deletions packages/websphere_application_server/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.7.1"
changes:
- description: Resolve the conflict in host.ip field.
type: bugfix
link: https://github.com/elastic/integrations/pull/7507
- version: "0.7.0"
changes:
- description: Rename ownership from obs-service-integrations to obs-infraobs-integrations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- external: ecs
name: ecs.version
- external: ecs
name: host.ip
- external: ecs
name: server.address
- external: ecs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- external: ecs
name: ecs.version
- external: ecs
name: host.ip
- external: ecs
name: server.address
- external: ecs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- external: ecs
name: ecs.version
- external: ecs
name: host.ip
- external: ecs
name: server.address
- external: ecs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- external: ecs
name: ecs.version
- external: ecs
name: host.ip
- external: ecs
name: server.address
- external: ecs
Expand Down
8 changes: 8 additions & 0 deletions packages/websphere_application_server/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ This integration uses Prometheus to collect above metrics.

To open Prometheus endpoint read following [instructions](https://www.ibm.com/docs/en/was/9.0.5?topic=mosh-displaying-pmi-metrics-in-prometheus-format-metrics-app).

### Troubleshooting

If host.ip is shown conflicted under ``metrics-*`` data view, then this issue can be solved by [reindexing](https://www.elastic.co/guide/en/elasticsearch/reference/current/use-a-data-stream.html#reindex-with-a-data-stream) the ``JDBC``, ``Servlet``, ``Session Manager`` and ``ThreadPool`` data stream's indices.

## JDBC

This data stream collects JDBC (Java Database Connectivity) related metrics.
Expand Down Expand Up @@ -128,6 +132,7 @@ An example event for `jdbc` looks as following:
| event.kind | Event kind | constant_keyword |
| event.module | Event module | constant_keyword |
| event.type | Event type | constant_keyword |
| host.ip | Host ip addresses. | ip |
| server.address | Some event server addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is. | keyword |
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword |
| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword |
Expand Down Expand Up @@ -253,6 +258,7 @@ An example event for `servlet` looks as following:
| event.kind | Event kind | constant_keyword |
| event.module | Event module | constant_keyword |
| event.type | Event type | constant_keyword |
| host.ip | Host ip addresses. | ip |
| server.address | Some event server addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is. | keyword |
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword |
| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword |
Expand Down Expand Up @@ -403,6 +409,7 @@ An example event for `session_manager` looks as following:
| event.kind | Event kind | constant_keyword |
| event.module | Event module | constant_keyword |
| event.type | Event type | constant_keyword |
| host.ip | Host ip addresses. | ip |
| server.address | Some event server addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is. | keyword |
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword |
| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword |
Expand Down Expand Up @@ -540,6 +547,7 @@ An example event for `threadpool` looks as following:
| event.kind | Event kind | constant_keyword |
| event.module | Event module | constant_keyword |
| event.type | Event type | constant_keyword |
| host.ip | Host ip addresses. | ip |
| server.address | Some event server addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is. | keyword |
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword |
| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword |
Expand Down
2 changes: 1 addition & 1 deletion packages/websphere_application_server/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: websphere_application_server
title: WebSphere Application Server
version: "0.7.0"
version: "0.7.1"
license: basic
description: Collects metrics from IBM WebSphere Application Server with Elastic Agent.
type: integration
Expand Down