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

[logstash] fix mappings #4594

Merged
merged 4 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from 3 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/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
klacabane marked this conversation as resolved.
Show resolved Hide resolved
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
klacabane marked this conversation as resolved.
Show resolved Hide resolved
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