From ec74c231d66e201245b797945356d561e484a8c0 Mon Sep 17 00:00:00 2001 From: Karen Metts Date: Wed, 1 May 2019 20:37:10 -0400 Subject: [PATCH] Fix asciidoc formatting for conversion to asciidoctor Fixes #10744 --- docs/static/azure-module.asciidoc | 2 +- docs/static/monitoring-apis.asciidoc | 4 ++-- docs/static/plugin-generator.asciidoc | 2 +- docs/static/running-logstash.asciidoc | 6 +++--- docs/static/security/logstash.asciidoc | 2 -- 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/static/azure-module.asciidoc b/docs/static/azure-module.asciidoc index 96ac77970..b558d7eb9 100644 --- a/docs/static/azure-module.asciidoc +++ b/docs/static/azure-module.asciidoc @@ -168,7 +168,7 @@ modules: var.input.azure_event_hubs.event_hubs: - ["name", "initial_position", "storage_container", "decorate_events", "event_hub_connection"] <3> - ["insights-operational-logs", "TAIL", "activity-logs1", "true", "Endpoint=sb://...EntityPath=insights-operational-logs"] - - ["insights-operational-logs", "TAIL", "activity_logs2",<4> "true", "Endpoint=sb://...EntityPath=insights-operational-logs"] + - ["insights-operational-logs", "TAIL", "activity_logs2", "true", "Endpoint=sb://...EntityPath=insights-operational-logs"] <4> - ["insights-metrics-pt1m", "TAIL", "dbmetrics", "true", "Endpoint=sb://...EntityPath=insights-metrics-pt1m"] - ["insights-logs-blocks", "TAIL", "dbblocks", "true", "Endpoint=sb://...EntityPath=insights-logs-blocks"] - ["insights-logs-databasewaitstatistics", "TAIL", "dbwaitstats", "false", "Endpoint=sb://...EntityPath=insights-logs-databasewaitstatistics"] diff --git a/docs/static/monitoring-apis.asciidoc b/docs/static/monitoring-apis.asciidoc index 33e301da2..9209131f9 100644 --- a/docs/static/monitoring-apis.asciidoc +++ b/docs/static/monitoring-apis.asciidoc @@ -134,7 +134,7 @@ curl -XGET 'localhost:9600/_node/pipelines/test?pretty' Example response: [source,json] --------------------------------------------------- +---------- { "pipelines" : { "test" : { @@ -145,7 +145,7 @@ Example response: "config_reload_interval" : 3 } } ------------------------------------------------- +---------- If you specify an invalid pipeline ID, the request returns a 404 Not Found error. diff --git a/docs/static/plugin-generator.asciidoc b/docs/static/plugin-generator.asciidoc index cd18d1d67..8b30bf31b 100644 --- a/docs/static/plugin-generator.asciidoc +++ b/docs/static/plugin-generator.asciidoc @@ -8,7 +8,7 @@ can start adding custom code to process data with Logstash. **Example Usage** [source,sh] --------------------------------------------- +------------------------------------------- bin/logstash-plugin generate --type input --name xkcd --path ~/ws/elastic/plugins ------------------------------------------- diff --git a/docs/static/running-logstash.asciidoc b/docs/static/running-logstash.asciidoc index a7a1e70d8..cdda6db0a 100644 --- a/docs/static/running-logstash.asciidoc +++ b/docs/static/running-logstash.asciidoc @@ -24,7 +24,7 @@ Distributions like Debian Jessie, Ubuntu 15.10+, and many of the SUSE derivative `systemctl` command to start and stop services. Logstash places the systemd unit files in `/etc/systemd/system` for both deb and rpm. After installing the package, you can start up Logstash with: [source,sh] --------------------------------------------- +------------------------------------------- sudo systemctl start logstash.service ------------------------------------------- @@ -34,7 +34,7 @@ sudo systemctl start logstash.service For systems that use upstart, you can start Logstash with: [source,sh] --------------------------------------------- +------------------------------------------- sudo initctl start logstash ------------------------------------------- @@ -46,7 +46,7 @@ The auto-generated configuration file for upstart systems is `/etc/init/logstash For systems that use SysV, you can start Logstash with: [source,sh] --------------------------------------------- +------------------------------------------- sudo /etc/init.d/logstash start ------------------------------------------- diff --git a/docs/static/security/logstash.asciidoc b/docs/static/security/logstash.asciidoc index 2d7bdca99..a86a24dc7 100644 --- a/docs/static/security/logstash.asciidoc +++ b/docs/static/security/logstash.asciidoc @@ -54,7 +54,6 @@ POST _xpack/security/role/logstash_writer ] } --------------------------------------------------------------- - <1> The cluster needs the `manage_ilm` privilege if {ref}/getting-started-index-lifecycle-management.html[index lifecycle management] is enabled. @@ -133,7 +132,6 @@ POST _xpack/security/role/logstash_reader ] } --------------------------------------------------------------- - <1> If you use a custom Logstash index pattern, specify that pattern instead of the default `logstash-*` pattern.