youtubebeat/vendor/github.com/elastic/beats/libbeat/docs/step-configure-output.asciidoc

41 lines
1.6 KiB
Text
Raw Normal View History

2018-11-18 11:08:38 +01:00
ifndef::has_module_steps[]
. Configure the output. {beatname_uc} supports a variety of
<<configuring-output,outputs>>, but typically you'll either send events directly
to {es}, or to {ls} for additional processing.
+
To send output directly to {es} (without using {ls}), set the location of the
{es} installation:
+
--
endif::[]
* If you're running our
https://www.elastic.co/cloud/elasticsearch-service[hosted {es} Service]
on Elastic Cloud, specify your <<configure-cloud-id,Cloud ID>>. For example:
+
[source,yaml]
----------------------------------------------------------------------
cloud.id: "staging:dXMtZWFzdC0xLmF3cy5mb3VuZC5pbyRjZWM2ZjI2MWE3NGJmMjRjZTMzYmI4ODExYjg0Mjk0ZiRjNmMyY2E2ZDA0MjI0OWFmMGNjN2Q3YTllOTYyNTc0Mw=="
----------------------------------------------------------------------
* If you're running {es} on your own hardware, set the host and port where
{beatname_uc} can find the {es} installation. For example:
+
[source,yaml]
----------------------------------------------------------------------
output.elasticsearch:
hosts: ["myEShost:9200"]
----------------------------------------------------------------------
ifndef::has_module_steps[]
--
+
ifeval::["{beatname_lc}"!="filebeat" and "{beatname_lc}"!="winlogbeat"]
To send output to {ls},
<<logstash-output,Configure the {ls} output>> instead. For all other
outputs, see <<configuring-output>>.
endif::[]
ifeval::[("{beatname_lc}"=="filebeat") or ("{beatname_lc}"=="winlogbeat")]
To send output to {ls}, make sure you configure the Logstash output in
<<config-{beatname_lc}-logstash>>. For all other outputs, see <<configuring-output>>.
endif::[]
endif::[]