Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
14 changes: 7 additions & 7 deletions docs/static/modules.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ settings, and sets up the netflow index pattern and dashboards:

[source,shell]
----
bin/logstash --modules netflow --setup
bin/logstash --modules netflow --setup
----

The following command runs the Netflow module and overrides the Elasticsearch
`host` setting. Here it's assumed that you've already run the setup step.

[source,shell]
----
bin/logstash --modules netflow -M "netflow.var.elasticsearch.host=es.mycloud.com"
bin/logstash --modules netflow -M "netflow.var.elasticsearch.host=es.example.com"
----


Expand All @@ -94,10 +94,10 @@ settings. For example:
----
modules:
- name: netflow
var.elasticsearch.hosts: "es.mycloud.com"
var.elasticsearch.hosts: "es.example.com"
var.elasticsearch.username: "foo"
var.elasticsearch.password: "password"
var.kibana.host: "kb.mycloud.com"
var.kibana.host: "kb.example.com"
var.kibana.username: "foo"
var.kibana.password: "password"
var.input.tcp.port: 5606
Expand Down Expand Up @@ -145,7 +145,7 @@ command line option:

Notice that the fully-qualified setting name includes the module name.

You can specify multiple overrides. Each override must start with `-M`.
You can specify multiple overrides. Each override must start with `-M`.

The following command runs the Netflow module and overrides both the
Elasticsearch `host` setting and the `udp.port` setting:
Expand All @@ -159,9 +159,9 @@ Any settings defined in the command line are ephemeral and will not persist acro
subsequent runs of Logstash. If you want to persist a configuration, you need to
set it in the `logstash.yml` <<logstash-settings-file,settings file>>.

Settings that you specify at the command line are merged with any settings
Settings that you specify at the command line are merged with any settings
specified in the `logstash.yml` file. If an option is set in both
places, the value specified at the command line takes precedence.
places, the value specified at the command line takes precedence.

[discrete]
[[module-to-cloud]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ If `false`, Logstash does not manage GeoIP2 databases and plugins that need a Ge
`xpack.geoip.downloader.endpoint`::

(String) Endpoint URL used to download updates for GeoIP2 databases.
For example, `https://mydomain.com/overview.json`.
For example, `https://example.com/overview.json`.
Defaults to `https://geoip.elastic.co/v1/database`.
Note that Logstash will periodically make a GET request to `${xpack.geoip.downloader.endpoint}?elastic_geoip_service_tos=agree`, expecting the list of metadata about databases typically found in `overview.json`.

Expand Down