Skip to content

Commit

Permalink
Backport to 6.4: mutliple doc changes (elastic#7967 elastic#8226 elas…
Browse files Browse the repository at this point in the history
…tic#8290 elastic#8395 elastic#8446 elastic#8478) (elastic#8528)

* Clarify support for ssl options for modules (elastic#7967)

* Clarify support for ssl options for modules

* Change example to show http module

* Update Elasticsearch module examples to show http in the URL (elastic#8226)

* Improve reference docs that describe how to set options dynamically (elastic#8290)

* Improve Elasticsearch output docs about indices, pipelines, and keys settings

* Updates from review

* Change setting name from mapping to mappings

* Remove note to reviewer

* Fix conditional coding (elastic#8446)

* Suppress dashboard info when dashboards aren't available (elastic#8395)

* Clarify add_docker_metadata docs (elastic#8478)
  • Loading branch information
dedemorton authored Oct 19, 2018
1 parent 623ae53 commit c3de428
Show file tree
Hide file tree
Showing 45 changed files with 505 additions and 93 deletions.
4 changes: 2 additions & 2 deletions filebeat/docs/include/setup-command.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ PS > .{backslash}{beatname_lc}.exe setup -e
----

The <<setup-command,`setup`>> command loads the recommended index template for
writing to {es} and deploys the sample dashboards for visualizing the
data in {kib}. This is a one-time setup step.
writing to {es} and deploys the sample dashboards (if available) for visualizing
the data in {kib}. This is a one-time setup step.

The `-e` flag is optional and sends output to standard error instead of syslog.
--
2 changes: 2 additions & 0 deletions filebeat/docs/include/visualize-data.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ifeval::["{has-dashboards}"=="true"]
. Explore your data in {kib}:
+
.. Open your browser and navigate to the *Dashboard* overview in {kib}:
Expand All @@ -11,3 +12,4 @@ the visualizations for your parsed logs.
+
TIP: If you don’t see data in {kib}, try changing the date range to a larger
range. By default, {kib} shows the last 15 minutes.
endif::[]
3 changes: 2 additions & 1 deletion filebeat/docs/include/what-happens.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ defaults)
* Uses ingest node to parse and process the log lines, shaping the data into a structure suitable
for visualizing in Kibana
ifeval::["{has-dashboards}"=="true"]
* Deploys dashboards for visualizing the log data
endif::[]
6 changes: 3 additions & 3 deletions filebeat/docs/modules-getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

{beatname_uc} provides a set of pre-built modules that you can use to rapidly
implement and deploy a log monitoring solution, complete with sample dashboards
and data visualizations, in about 5 minutes. These modules support common log
formats, such as Nginx, Apache2, and MySQL, and can be run by issuing a simple
command.
and data visualizations (when available), in about 5 minutes. These modules
support common log formats, such as Nginx, Apache2, and MySQL, and can be run by
issuing a simple command.

This topic shows you how to run the basic modules with minimal extra
configuration. For detailed documentation and the full list of available
Expand Down
3 changes: 2 additions & 1 deletion filebeat/docs/modules-overview.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ the following:
correct types for each field. They also contain short descriptions for each
of the fields.

* Sample Kibana dashboards, which can be used to visualize the log files.
* Sample Kibana dashboards, when available, that can be used to visualize the
log files.

{beatname_uc} automatically adjusts these configurations based on your environment
and loads them to the respective Elastic stack components.
Expand Down
7 changes: 7 additions & 0 deletions filebeat/docs/modules/apache2.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-apache2]]
:modulename: apache2
:has-dashboards: true

== Apache2 module

Expand Down Expand Up @@ -75,6 +76,12 @@ include::../include/var-paths.asciidoc[]

include::../include/var-paths.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
7 changes: 7 additions & 0 deletions filebeat/docs/modules/auditd.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-auditd]]
:modulename: auditd
:has-dashboards: true

== Auditd module

Expand Down Expand Up @@ -66,6 +67,12 @@ include::../include/config-option-intro.asciidoc[]

include::../include/var-paths.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
7 changes: 7 additions & 0 deletions filebeat/docs/modules/elasticsearch.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-elasticsearch]]
:modulename: elasticsearch
:has-dashboards: false

== Elasticsearch module

Expand Down Expand Up @@ -33,6 +34,12 @@ include::../include/config-option-intro.asciidoc[]

include::../include/var-paths.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
7 changes: 7 additions & 0 deletions filebeat/docs/modules/icinga.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-icinga]]
:modulename: icinga
:has-dashboards: true

== Icinga module

Expand Down Expand Up @@ -80,6 +81,12 @@ include::../include/var-paths.asciidoc[]

include::../include/var-paths.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
7 changes: 7 additions & 0 deletions filebeat/docs/modules/iis.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-iis]]
:modulename: iis
:has-dashboards: true

== IIS module

Expand Down Expand Up @@ -70,6 +71,12 @@ include::../include/var-paths.asciidoc[]

include::../include/var-paths.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
7 changes: 7 additions & 0 deletions filebeat/docs/modules/kafka.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-kafka]]
:modulename: kafka
:has-dashboards: true

== Kafka module

Expand Down Expand Up @@ -65,6 +66,12 @@ include::../include/var-paths.asciidoc[]

include::../include/var-convert-timezone.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
5 changes: 5 additions & 0 deletions filebeat/docs/modules/kibana.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-kibana]]
:modulename: kibana
:has-dashboards: false

== Kibana module

Expand Down Expand Up @@ -33,8 +34,12 @@ include::../include/config-option-intro.asciidoc[]

include::../include/var-paths.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
8 changes: 8 additions & 0 deletions filebeat/docs/modules/logstash.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-logstash]]
:modulename: logstash
:has-dashboards: true

== Logstash module

The +{modulename}+ module parse logstash regular logs and the slow log, it will support the plain text format
Expand Down Expand Up @@ -92,6 +94,12 @@ include::../include/var-paths.asciidoc[]
The configured Logstash log format. Possible values are: `json` or `plain`. The
default is `plain`.

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
7 changes: 7 additions & 0 deletions filebeat/docs/modules/mongodb.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-mongodb]]
:modulename: mongodb
:has-dashboards: true

== MongoDB module

Expand Down Expand Up @@ -60,6 +61,12 @@ include::../include/config-option-intro.asciidoc[]

include::../include/var-paths.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
7 changes: 7 additions & 0 deletions filebeat/docs/modules/mysql.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-mysql]]
:modulename: mysql
:has-dashboards: true

== MySQL module

Expand Down Expand Up @@ -71,6 +72,12 @@ include::../include/var-paths.asciidoc[]

include::../include/var-paths.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
8 changes: 8 additions & 0 deletions filebeat/docs/modules/nginx.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-nginx]]
:modulename: nginx
:has-dashboards: true


== Nginx module

Expand Down Expand Up @@ -76,6 +78,12 @@ include::../include/var-paths.asciidoc[]

include::../include/var-paths.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
7 changes: 7 additions & 0 deletions filebeat/docs/modules/osquery.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-osquery]]
:modulename: osquery
:has-dashboards: true

== Osquery module

Expand Down Expand Up @@ -71,6 +72,12 @@ setting also disables the renaming of some fields (e.g. `hostIdentifier` to
`host_identifier`). Note that if you set this to false, the sample dashboards
coming with this module won't work correctly. The default is true.

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
7 changes: 7 additions & 0 deletions filebeat/docs/modules/postgresql.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-postgresql]]
:modulename: postgresql
:has-dashboards: true

== PostgreSQL module

Expand Down Expand Up @@ -69,6 +70,12 @@ include::../include/config-option-intro.asciidoc[]
include::../include/var-paths.asciidoc[]


:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
=== Fields
Expand Down
6 changes: 6 additions & 0 deletions filebeat/docs/modules/redis.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-redis]]
:modulename: redis
:has-dashboards: true

== Redis module

Expand Down Expand Up @@ -97,6 +98,11 @@ left empty, `localhost:6379` is assumed.
The password to use to connect to Redis, in case Redis authentication is enabled
(the `requirepass` option in the Redis configuration).

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
Expand Down
5 changes: 5 additions & 0 deletions filebeat/docs/modules/system.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-system]]
:modulename: system
:has-dashboards: true

== System module

Expand Down Expand Up @@ -81,7 +82,11 @@ include::../include/var-paths.asciidoc[]

include::../include/var-convert-timezone.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
Expand Down
6 changes: 6 additions & 0 deletions filebeat/docs/modules/traefik.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This file is generated! See scripts/docs_collector.py

[[filebeat-module-traefik]]
:modulename: traefik
:has-dashboards: true

== Traefik module

Expand Down Expand Up @@ -61,6 +62,11 @@ include::../include/config-option-intro.asciidoc[]

include::../include/var-paths.asciidoc[]

:has-dashboards!:

:fileset_ex!:

:modulename!:


[float]
Expand Down
Loading

0 comments on commit c3de428

Please sign in to comment.