December 2017
Intermediate to advanced
434 pages
10h 29m
English
This function is achieved by the input plugin. Logstash has support for the http input plugin, which does precisely that. It builds an HTTP interface using which different types of payloads can be submitted to Logstash as an input.
The relevant part from logstash_sensor_data_http.conf that has the input filter is as follows:
input { http { id => "sensor_data_http_input" }}
Here, the id field is a string that can uniquely identify this input filter later in the file if needed. We will not need to reference this name in the file; we just chose a name sensor_data_http_input.
The reference documentation of the HTTP input plugin is available here: https://www.elastic.co/guide/en/logstash/current/plugins-inputs-http.html ...
Read now
Unlock full access