I found path in some example so is this configuration going to work ?
According to the http input documentationpath is not a valid option, nor is method. Are you sure you shouldn't be using the http_poller plugin instead?
So as i understand if i want input from a specific path and method then i will have to use a http_poller ?
http_poller {
# List of urls to hit
# URLs can either have a simple format for a get request
# Or use more complex HTTP features
urls => {
uiservice => "http://localhost:8080/envliven/path"
}
# Maximum amount of time to wait for a request to complete
request_timeout => 30
# How far apart requests should be
interval => 60
# Decode the results as JSON
codec => "json"
# Store metadata about the request in this key
metadata_target => "http_poller_metadata"
}
Dooes this configuration looks ok for basic setup ?
UI logs its logs to a specific rest url and that data is getting read by filebeat. Also i have to read this URL continuously so that i can send data to logstash. So as per my requirement i was suggest http_poller is the better option. Please let me know if i am missing something here.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.