Logstash input query


(John Gitau) #1

I have an application that sends events to a url (post), for it to start sending data it requires a password and expects a 'validator' token returned to it from the url's endpoint. how do I handle the validator bit?

application sends a one time HTTP GET; the server must return the organization-specific validator string as a response, which will verify my apps authenticity, receives validator token, does the password validation and immediately starts sending json events. Im using the http input but cant figure out the 'send validation bit.

input {
http {
id => "Applics1"
host => "0.0.0.0"
port => 9200
tags => ["MyApplics"]
my_password => "applics123"
}
}

output {
stdout {}
}


(Rijin) #2

Is it your port is opened (9200) ?


(John Gitau) #3

Yes ports open...my query is more around whether the http input plugin responds back to the requestor, and if it does can that message be customised?


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.