Hello team,
I am very new to to ELK stack and this is my first task which I am trying to do:
I am not understand a part of Http Input Plugin documentation here: https://www.elastic.co/blog/introducing-logstash-input-http-plugin
http {
host => "127.0.0.1" # default: 0.0.0.0
port => 31311 # default: 8080
}
}
Question 1: What is the host? Is the host where the request is coming from?
Question 2: What is the REST URL I have to call if I am calling this plugin from another application. My LogStash is currently sitting on a windows server.
Documentation mentions: curl -XPUT 'http://127.0.0.1:8080/twitter/tweet/1' -d 'hello'
this would work, and it works if I use this command from the server powershell. Which REST API to call if I am calling it from outside of my LogStash server.
I am very confused about it, any help would be appreciated.
Thank you,
Karanbir