Monitor Type: logstash
(Source)
Accepts Endpoints: Yes
Multiple Instances Allowed: Yes
Monitors the health and performance of Logstash deployments through Logstash's Monitoring APIs.
To activate this monitor in the Smart Agent, add the following to your agent config:
monitors: # All monitor config goes under this key
- type: logstash
... # Additional config
For a list of monitor options that are common to all monitors, see Common Configuration.
Config option | Required | Type | Description |
---|---|---|---|
host |
no | string |
The hostname of Logstash monitoring API (default: 127.0.0.1 ) |
port |
no | integer |
The port number of Logstash monitoring API (default: 9600 ) |
useHTTPS |
no | bool |
If true, the agent will connect to the host using HTTPS instead of plain HTTP. (default: false ) |
timeoutSeconds |
no | integer |
The maximum amount of time to wait for API requests (default: 5 ) |
These are the metrics available for this monitor. Metrics that are categorized as container/host (default) are in bold and italics in the list below.
All of the following metrics are part of the events
metric group. All of
the non-default metrics below can be turned on by adding events
to the
monitor config option extraGroups
:
node.stats.events.events.duration_in_millis
(cumulative)
Duration of eventsnode.stats.events.events.filtered
(cumulative)
Number of filtered eventsnode.stats.events.events.in
(cumulative)
Number of received eventsnode.stats.events.events.out
(cumulative)
Number of events sent outnode.stats.events.events.queue_push_duration_in_millis
(cumulative)
Duration that events waited in queue before being processed
All of the following metrics are part of the hot_threads
metric group. All of
the non-default metrics below can be turned on by adding hot_threads
to the
monitor config option extraGroups
:
node.hot_threads.hot_threads.busiest_threads
(gauge)node.hot_threads.hot_threads.threads.percent_of_cpu_time
(gauge)
All of the following metrics are part of the jvm
metric group. All of
the non-default metrics below can be turned on by adding jvm
to the
monitor config option extraGroups
:
node.stats.jvm.jvm.gc.collectors.old.collection_count
(cumulative)
Total number of garbage collection eventsnode.stats.jvm.jvm.gc.collectors.old.collection_time_in_millis
(cumulative)
Amount of time spent garbage collecting in millisecondsnode.stats.jvm.jvm.gc.collectors.young.collection_count
(cumulative)
Total number of garbage collection eventsnode.stats.jvm.jvm.gc.collectors.young.collection_time_in_millis
(cumulative)
Amount of time spent garbage collecting in millisecondsnode.stats.jvm.jvm.mem.heap_committed_in_bytes
(gauge)
Total heap committed by the processnode.stats.jvm.jvm.mem.heap_max_in_bytes
(gauge)
Max memory being usednode.stats.jvm.jvm.mem.heap_used_in_bytes
(gauge)
Total heap usednode.stats.jvm.jvm.mem.heap_used_percent
(gauge)
Total heap used in percentagenode.stats.jvm.jvm.mem.non_heap_committed_in_bytes
(gauge)
Total non-heap memory committed by the processnode.stats.jvm.jvm.mem.non_heap_used_in_bytes
(gauge)
Total non-heap memory usednode.stats.jvm.jvm.mem.pools.old.committed_in_bytes
(gauge)
Memory guaranteed to be available to JVM non-heap by Old gennode.stats.jvm.jvm.mem.pools.old.max_in_bytes
(gauge)
Max memory being used by Old Gennode.stats.jvm.jvm.mem.pools.old.peak_max_in_bytes
(gauge)
Memory used by Old gennode.stats.jvm.jvm.mem.pools.old.peak_used_in_bytes
(gauge)
Peak memory used by Old gennode.stats.jvm.jvm.mem.pools.old.used_in_bytes
(gauge)
Memory being used by Old Gennode.stats.jvm.jvm.mem.pools.survivor.committed_in_bytes
(gauge)
Memory guaranteed to be available to JVM non-heap by Survivor spacenode.stats.jvm.jvm.mem.pools.survivor.max_in_bytes
(gauge)
Max memory being used by Survivor spacenode.stats.jvm.jvm.mem.pools.survivor.peak_max_in_bytes
(gauge)
Memory used by Survivor spacenode.stats.jvm.jvm.mem.pools.survivor.peak_used_in_bytes
(gauge)
Peak memory used by Survivor spacenode.stats.jvm.jvm.mem.pools.survivor.used_in_bytes
(gauge)
Memory being used by Survivor spacenode.stats.jvm.jvm.mem.pools.young.committed_in_bytes
(gauge)
Memory guaranteed to be available to JVM non-heap by Young gennode.stats.jvm.jvm.mem.pools.young.max_in_bytes
(gauge)
Max memory being used by Young Gennode.stats.jvm.jvm.mem.pools.young.peak_max_in_bytes
(gauge)
Memory used by Young gennode.stats.jvm.jvm.mem.pools.young.peak_used_in_bytes
(gauge)
Peak memory used by Young gennode.stats.jvm.jvm.mem.pools.young.used_in_bytes
(gauge)
Memory being used by Young Gennode.stats.jvm.jvm.threads.count
(gauge)
Number of JVM threadsnode.stats.jvm.jvm.threads.peak_count
(gauge)
Highest number of JVM threadsnode.stats.jvm.jvm.uptime_in_millis
(gauge)
Uptime length of JVM
All of the following metrics are part of the os
metric group. All of
the non-default metrics below can be turned on by adding os
to the
monitor config option extraGroups
:
node.os.os.available_processors
(gauge)
Number of available processorsnode.stats.os.os.cgroup.cpu.cfs_period_micros
(gauge)node.stats.os.os.cgroup.cpu.cfs_quota_micros
(gauge)node.stats.os.os.cgroup.cpu.stat.number_of_elapsed_periods
(cumulative)node.stats.os.os.cgroup.cpu.stat.number_of_times_throttled
(cumulative)node.stats.os.os.cgroup.cpu.stat.time_throttled_nanos
(cumulative)node.stats.os.os.cgroup.cpuacct.usage_nanos
(gauge)
All of the following metrics are part of the pipeline
metric group. All of
the non-default metrics below can be turned on by adding pipeline
to the
monitor config option extraGroups
:
node.pipelines.batch_delay
(gauge)node.pipelines.batch_size
(gauge)node.pipelines.workers
(gauge)
Number of workers in pipelinesnode.stats.pipelines.events.duration_in_millis
(cumulative)
Duration of events in pipelinesnode.stats.pipelines.events.filtered
(cumulative)
Number of filtered events in pipelinesnode.stats.pipelines.events.in
(cumulative)
Number of received events in pipelinesnode.stats.pipelines.events.out
(cumulative)
Number of events sent out from pipelinesnode.stats.pipelines.events.queue_push_duration_in_millis
(cumulative)
Duration that events waited in queue before being processed in pipelinesnode.stats.pipelines.plugins.codecs.decode.duration_in_millis
(cumulative)
Duration of decode events in codec pluginsnode.stats.pipelines.plugins.codecs.decode.out
(cumulative)
Number of decode events sent out from codecsnode.stats.pipelines.plugins.codecs.decode.writes_in
(cumulative)
Number of received decode events in codecsnode.stats.pipelines.plugins.codecs.encode.duration_in_millis
(cumulative)
Duration of encode events in codec pluginsnode.stats.pipelines.plugins.codecs.encode.writes_in
(cumulative)
Number of received encode events in codecsnode.stats.pipelines.plugins.filters.events.duration_in_millis
(cumulative)
Duration of events in filter pluginsnode.stats.pipelines.plugins.filters.events.in
(cumulative)
Number of received events in filtersnode.stats.pipelines.plugins.filters.events.out
(cumulative)
Number of events sent out from filtersnode.stats.pipelines.plugins.inputs.events.out
(cumulative)
Number of events sent out from inputsnode.stats.pipelines.plugins.inputs.events.queue_push_duration_in_millis
(cumulative)
Duration that events waited in queue before being processed in inputsnode.stats.pipelines.plugins.outputs.events.duration_in_millis
(cumulative)
Duration of events in output pluginsnode.stats.pipelines.plugins.outputs.events.in
(cumulative)
Number of received events in output pluginsnode.stats.pipelines.plugins.outputs.events.out
(cumulative)
Number of events sent out from output pluginsnode.stats.pipelines.queue.events_count
(gauge)
Number of events waiting in queuenode.stats.pipelines.queue.max_queue_size_in_bytes
(gauge)
Max queue size in pipelinesnode.stats.pipelines.queue.queue_size_in_bytes
(gauge)
Queue size in pipelinesnode.stats.pipelines.reloads.failures
(cumulative)
Number of failed reloadsnode.stats.pipelines.reloads.successes
(cumulative)
Number of successful reloads
All of the following metrics are part of the pipelines
metric group. All of
the non-default metrics below can be turned on by adding pipelines
to the
monitor config option extraGroups
:
All of the following metrics are part of the plugins
metric group. All of
the non-default metrics below can be turned on by adding plugins
to the
monitor config option extraGroups
:
node.plugins.total
(gauge)
Number of plugins
All of the following metrics are part of the process
metric group. All of
the non-default metrics below can be turned on by adding process
to the
monitor config option extraGroups
:
node.stats.process.process.cpu.load_average.15m
(gauge)
CPU Load average in 15 minutesnode.stats.process.process.cpu.load_average.1m
(gauge)
CPU Load average in 1 minutenode.stats.process.process.cpu.load_average.5m
(gauge)
CPU Load average in 5 minutesnode.stats.process.process.cpu.percent
(gauge)
CPU usage in percentnode.stats.process.process.cpu.total_in_millis
(cumulative)
Total CPU time (in milliseconds) used by the process on which the process is runningnode.stats.process.process.max_file_descriptors
(gauge)
Number of opened file descriptors associated with the current processnode.stats.process.process.mem.total_virtual_in_bytes
(gauge)
Size of the virtual memory of this processnode.stats.process.process.open_file_descriptors
(gauge)
Number of currently open file descriptorsnode.stats.process.process.peak_open_file_descriptors
(gauge)
Peak number of currently open file descriptors
All of the following metrics are part of the reloads
metric group. All of
the non-default metrics below can be turned on by adding reloads
to the
monitor config option extraGroups
:
node.stats.reloads.reloads.failures
(cumulative)
Number of failed reloadsnode.stats.reloads.reloads.successes
(cumulative)
Number of successful reloads
To emit metrics that are not default, you can add those metrics in the
generic monitor-level extraMetrics
config option. Metrics that are derived
from specific configuration options that do not appear in the above list of
metrics do not need to be added to extraMetrics
.
To see a list of metrics that will be emitted you can run agent-status monitors
after configuring this monitor in a running agent instance.