Skip to content

Commit

Permalink
[logstash] fix mappings (#4594)
Browse files Browse the repository at this point in the history
* fix logstash mappings

* add reloads mapping

* add changelog entry

* changelog
  • Loading branch information
klacabane authored Nov 16, 2022
1 parent 4e248fc commit 6dd7415
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 65 deletions.
5 changes: 5 additions & 0 deletions packages/logstash/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.1.1-preview1"
changes:
- description: Fix mappings of type nested
type: bugfix
link: https://github.com/elastic/integrations/pull/4594
- version: "2.1.0-preview1"
changes:
- description: Suffix `stack_monitoring` to the datasets
Expand Down
125 changes: 62 additions & 63 deletions packages/logstash/data_stream/node_stats/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
- name: stats
type: group
fields:
- name: reloads
type: group
fields:
- name: failures
type: long
- name: successes
type: long
- name: timestamp
type: date
- name: jvm
Expand Down Expand Up @@ -151,72 +158,64 @@
type: long
- name: pipelines
type: nested
fields:
- name: id
type: keyword
description: id
- name: hash
type: keyword
- name: ephemeral_id
type: keyword
- name: reloads
type: group
fields:
- name: failures
type: long
- name: successes
type: long
- name: queue
type: group
fields:
- name: events_count
type: long
- name: type
type: keyword
- name: queue_size_in_bytes
type: long
- name: max_queue_size_in_bytes
type: long
- name: events
type: group
fields:
- name: in
type: long
- name: out
type: long
- name: filtered
type: long
- name: duration_in_millis
type: long
- name: queue_push_duration_in_millis
type: long
- name: vertices
type: nested
fields:
- name: long_counters.name
type: keyword
- name: long_counters
type: nested
fields:
- name: value
type: long
- name: duration_in_millis
type: long
- name: events_in
type: long
- name: pipeline_ephemeral_id
type: keyword
description: pipeline_ephemeral_id
- name: events_out
type: long
description: events_out
- name: queue_push_duration_in_millis
type: long
description: queue_push_duration_in_millis
- name: reloads
- name: pipelines.id
type: keyword
- name: pipelines.hash
type: keyword
- name: pipelines.ephemeral_id
type: keyword
- name: pipelines.reloads
type: group
fields:
- name: failures
type: long
- name: successes
type: long
- name: pipelines.queue
type: group
fields:
- name: events_count
type: long
- name: type
type: keyword
- name: queue_size_in_bytes
type: long
- name: max_queue_size_in_bytes
type: long
- name: pipelines.events
type: group
fields:
- name: in
type: long
- name: out
type: long
- name: filtered
type: long
- name: duration_in_millis
type: long
- name: queue_push_duration_in_millis
type: long
- name: pipelines.vertices
type: nested
- name: pipelines.vertices.id
type: keyword
description: id
- name: pipelines.vertices.long_counters
type: nested
- name: pipelines.vertices.long_counters.name
type: keyword
- name: pipelines.vertices.long_counters.value
type: long
- name: pipelines.vertices.duration_in_millis
type: long
- name: pipelines.vertices.events_in
type: long
- name: pipelines.vertices.pipeline_ephemeral_id
type: keyword
description: pipeline_ephemeral_id
- name: pipelines.vertices.events_out
type: long
description: events_out
- name: pipelines.vertices.queue_push_duration_in_millis
type: long
description: queue_push_duration_in_millis
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
- name: logstash.cluster.id
- name: cluster_uuid
type: alias
path: logstash.elasticsearch.cluster.id
- name: logstash.cluster.id
type: keyword
- name: timestamp
type: alias
path: "@timestamp"
Expand Down
2 changes: 1 addition & 1 deletion packages/logstash/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: logstash
title: Logstash
version: 2.1.0-preview1
version: 2.1.1-preview1
description: Collect logs and metrics from Logstash with Elastic Agent.
type: integration
icons:
Expand Down

0 comments on commit 6dd7415

Please sign in to comment.