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

Make logstash/node_stats metricset work for Stack Monitoring without xpack.enabled flag #21546

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
776 changes: 744 additions & 32 deletions metricbeat/docs/fields.asciidoc

Large diffs are not rendered by default.

227 changes: 227 additions & 0 deletions metricbeat/module/logstash/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,234 @@
release: ga
settings: ["ssl", "http"]
fields:
- name: logstash_stats
type: group
fields:
- name: timestamp
type: alias
path: "@timestamp"
- name: jvm
type: group
fields:
- name: mem
type: group
fields:
- name: heap_used_in_bytes
type: alias
path: logstash.node.stats.jvm.mem.heap_used_in_bytes
- name: heap_max_in_bytes
type: alias
path: logstash.node.stats.jvm.mem.heap_max_in_bytes
- name: uptime_in_millis
type: alias
path: logstash.node.stats.jvm.uptime_in_millis
- name: events
type: group
fields:
- name: in
type: alias
path: logstash.node.stats.events.in
- name: out
type: alias
path: logstash.node.stats.events.out
- name: duration_in_millis
type: alias
path: logstash.node.stats.events.duration_in_millis
- name: logstash
type: group
fields:
- name: uuid
type: alias
path: logstash.node.stats.logstash.uuid
- name: version
type: alias
path: logstash.node.stats.logstash.version
- name: pipelines
type: nested
fields:
- name: id
type: alias
path: logstash.node.stats.pipelines.id
- name: hash
type: alias
path: logstash.node.stats.pipelines.hash
- name: queue
type: group
fields:
- name: type
type: alias
path: logstash.node.stats.pipelines.queue.type
- name: queue_size_in_bytes
type: alias
path: logstash.node.stats.pipelines.queue.queue_size_in_bytes
- name: max_queue_size_in_bytes
type: alias
path: logstash.node.stats.pipelines.queue.max_queue_size_in_bytes
- name: events
type: group
fields:
- name: out
type: alias
path: logstash.node.stats.pipelines.events.out
- name: duration_in_millis
type: alias
path: logstash.node.stats.pipelines.events.duration_in_millis
- name: vertices
type: nested
fields:
- name: duration_in_millis
type: alias
path: logstash.node.stats.pipelines.vertices.duration_in_millis
- name: events_in
type: alias
path: logstash.node.stats.pipelines.vertices.events_in
- name: pipeline_ephemeral_id
type: alias
path: logstash.node.stats.pipelines.vertices.pipeline_ephemeral_id
- name: events_out
type: alias
path: logstash.node.stats.pipelines.vertices.events_out
- name: id
type: alias
path: logstash.node.stats.pipelines.vertices.id
- name: queue_push_duration_in_millis
type: alias
path: logstash.node.stats.pipelines.vertices.queue_push_duration_in_millis
- name: os
type: group
fields:
- name: cpu
type: group
fields:
- name: load_average
type: group
fields:
- name: 15m
type: alias
path: logstash.node.stats.os.cpu.load_average.15m
- name: 1m
type: alias
path: logstash.node.stats.os.cpu.load_average.1m
- name: 5m
type: alias
path: logstash.node.stats.os.cpu.load_average.5m
- name: cgroup
type: group
fields:
- name: cpuacct.usage_nanos
type: alias
path: logstash.node.stats.os.cgroup.cpuacct.usage_nanos
- name: cpu
type: group
fields:
- name: stat
type: group
fields:
- name: number_of_elapsed_periods
type: alias
path: logstash.node.stats.os.cgroup.stat.number_of_elapsed_periods
- name: time_throttled_nanos
type: alias
path: logstash.node.stats.os.cgroup.stat.time_throttled_nanos
- name: number_of_times_throttled
type: alias
path: logstash.node.stats.os.cgroup.stat.number_of_times_throttled
- name: process.cpu.percent
type: alias
path: logstash.node.stats.process.cpu.percent
- name: queue.events_count
type: alias
path: logstash.node.stats.queue.events_count
- name: logstash
type: group
description: >
TODO
fields:
- name: stats
type: group
fields:
- name: timestamp
type: alias
path: "@timestamp"
- name: jvm
type: group
fields:
- name: mem
type: group
fields:
- name: heap_used.bytes
type: alias
path: logstash.node.stats.jvm.mem.heap_used_in_bytes
- name: heap_max.bytes
type: alias
path: logstash.node.stats.jvm.mem.heap_max_in_bytes
- name: uptime.ms
type: alias
path: logstash.node.stats.jvm.uptime_in_millis
- name: events
type: group
fields:
- name: in
type: alias
path: logstash.node.stats.events.in
- name: out
type: alias
path: logstash.node.stats.events.out
- name: duration.ms
type: alias
path: logstash.node.stats.events.duration_in_millis
- name: logstash
type: group
fields:
- name: uuid
type: alias
path: logstash.node.stats.logstash.uuid
- name: version
type: alias
path: logstash.node.stats.logstash.version
- name: os
type: group
fields:
- name: cpu
type: group
fields:
- name: load_average
type: group
fields:
- name: 15m
type: alias
path: logstash.node.stats.os.cpu.load_average.15m
- name: 1m
type: alias
path: logstash.node.stats.os.cpu.load_average.1m
- name: 5m
type: alias
path: logstash.node.stats.os.cpu.load_average.5m
- name: cgroup
type: group
fields:
- name: cpuacct.usage_nanos
type: alias
path: logstash.node.stats.os.cgroup.cpuacct.usage_nanos
- name: cpu
type: group
fields:
- name: stat
type: group
fields:
- name: number_of_elapsed_periods
type: alias
path: logstash.node.stats.os.cgroup.stat.number_of_elapsed_periods
- name: time_throttled_nanos
type: alias
path: logstash.node.stats.os.cgroup.stat.time_throttled_nanos
- name: number_of_times_throttled
type: alias
path: logstash.node.stats.os.cgroup.stat.number_of_times_throttled
- name: process.cpu.percent
type: alias
path: logstash.node.stats.process.cpu.percent
- name: queue.events_count
type: alias
path: logstash.node.stats.queue.events_count

2 changes: 1 addition & 1 deletion metricbeat/module/logstash/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading