52 lines
1 KiB
Text
52 lines
1 KiB
Text
|
////
|
||
|
This file is generated! See scripts/docs_collector.py
|
||
|
////
|
||
|
|
||
|
[[metricbeat-module-logstash]]
|
||
|
== Logstash module
|
||
|
|
||
|
beta[]
|
||
|
|
||
|
This is the Logstash module.
|
||
|
|
||
|
The default metricsets are `node` and `node_stats`.
|
||
|
|
||
|
[float]
|
||
|
=== Compability
|
||
|
|
||
|
The logstash module is tested with logstash 6.3.
|
||
|
|
||
|
|
||
|
[float]
|
||
|
=== Example configuration
|
||
|
|
||
|
The Logstash module supports the standard configuration options that are described
|
||
|
in <<configuration-metricbeat>>. Here is an example configuration:
|
||
|
|
||
|
[source,yaml]
|
||
|
----
|
||
|
metricbeat.modules:
|
||
|
- module: logstash
|
||
|
metricsets: ["node", "node_stats"]
|
||
|
enabled: true
|
||
|
period: 10s
|
||
|
hosts: ["localhost:9600"]
|
||
|
----
|
||
|
|
||
|
This module supports TLS connections when using `ssl` config field, as described in <<configuration-ssl>>.
|
||
|
It also supports the options described in <<module-http-config-options>>.
|
||
|
|
||
|
[float]
|
||
|
=== Metricsets
|
||
|
|
||
|
The following metricsets are available:
|
||
|
|
||
|
* <<metricbeat-metricset-logstash-node,node>>
|
||
|
|
||
|
* <<metricbeat-metricset-logstash-node_stats,node_stats>>
|
||
|
|
||
|
include::logstash/node.asciidoc[]
|
||
|
|
||
|
include::logstash/node_stats.asciidoc[]
|
||
|
|