# Logstash input query

**URL:** <https://discuss.elastic.co/t/logstash-input-query/152519>\
**Category:** Logstash\
**Created:** [October 15, 2018, 2:45pm UTC](https://discuss.elastic.co/t/logstash-input-query/152519 "2018-10-15T14:45:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgitau](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jgitau](https://discuss.elastic.co/u/jgitau)\
**Post date:** [October 15, 2018, 2:45pm UTC](https://discuss.elastic.co/t/logstash-input-query/152519/1 "2018-10-15T14:45:44Z")

</div>

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 {}  
}

---

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [October 15, 2018, 3:59pm UTC](https://discuss.elastic.co/t/logstash-input-query/152519/2 "2018-10-15T15:59:34Z")

</div>

Is it your port is opened (9200) ?

---

<div class="post-metadata">

**Author:** ![jgitau](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jgitau](https://discuss.elastic.co/u/jgitau)\
**Post date:** [October 16, 2018, 4:15am UTC](https://discuss.elastic.co/t/logstash-input-query/152519/3 "2018-10-16T04:15:00Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 13, 2018, 4:15am UTC](https://discuss.elastic.co/t/logstash-input-query/152519/4 "2018-11-13T04:15:06Z")

</div>

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