# Logstash - Output - Http - Enpoint

**URL:** <https://discuss.elastic.co/t/logstash-output-http-enpoint/249401>\
**Category:** Logstash\
**Created:** [September 21, 2020, 5:43pm UTC](https://discuss.elastic.co/t/logstash-output-http-enpoint/249401 "2020-09-21T17:43:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rguerrero](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@rguerrero](https://discuss.elastic.co/u/rguerrero)\
**Post date:** [September 21, 2020, 5:43pm UTC](https://discuss.elastic.co/t/logstash-output-http-enpoint/249401/1 "2020-09-21T17:43:43Z")

</div>

I thank you in advance for your support.  
I am developing my pipeline that fetches data from DB and sends it to an EndPoint HTTP Post  
The input works fine, but I am having problems in my output, it does not get to send the values by the post request. I have tried in many ways and I can not get to enter parameters in the post

* * *

input {  
jdbc {  
jdbc\_driver\_library =\> "C:\03\_ELK\logstash\drivers\ojdbc6-11.2.0.3.jar"  
jdbc\_driver\_class =\> "Java::oracle.jdbc.driver.OracleDriver"  
jdbc\_connection\_string =\> "jdbc:oracle:thin:@localhost2:1521:orcl"  
jdbc\_user =\> "\*\*\*_"  
jdbc\_password =\> "++++"  
parameters =\> { }  
schedule =\> "_ \* \* \* \* UTC"  
statement =\> "select TX\_NOMBRE from tmt005\_usuario"  
}  
}

filter {  
json {  
source =\> "message"  
}  
}  
output {  
http {  
format=\>"message"  
content\_type =\> "application/json"  
http\_method =\> "post"  
url =\> "[https://ukv97792.live.dynatrace.com/api/v1/entity/infrastructure/custom/custom:siteds.jobs.prueba01?Api-Token=fsfdgsfdgsdfgsfdg](https://ukv97792.live.dynatrace.com/api/v1/entity/infrastructure/custom/custom:siteds.jobs.prueba01?Api-Token=fsfdgsfdgsdfgsfdg)"  
message =\> "{  
'type':'TipoPrueba01',  
'series':{  
'timeseriesId' : 'custom:siteds.jobs.prueba01',  
'dimensions' : {  
'DimensionPrueba01' : 'prueba01d'  
},  
'dataPoints' : [  
[1600707299000, 10]  
]  
}  
}"  
}  
stdout { codec =\> rubydebug }  
}

* * *

I have worked it in logstash and it works.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/8/f8aafd77a3f148d4d6bc9eb3f59556fae13b4207.png)

Logserrors01:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/5/a5eb776b9abd1e66784fa9d48192987a9df1253c.png)

Logserrors01:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/1/519af69851b43266eb22f618622f1701bb66c800.png)

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [September 21, 2020, 7:21pm UTC](https://discuss.elastic.co/t/logstash-output-http-enpoint/249401/2 "2020-09-21T19:21:07Z")

</div>

A Manticore ResolutionFailure is a DNS lookup failure.

---

<div class="post-metadata">

**Author:** ![rguerrero](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@rguerrero](https://discuss.elastic.co/u/rguerrero)\
**Post date:** [September 21, 2020, 10:10pm UTC](https://discuss.elastic.co/t/logstash-output-http-enpoint/249401/3 "2020-09-21T22:10:28Z")

</div>

Hello Badger;  
This is solving; Do you have a reference about this?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/8/d84abfc67e4fb4620a4878f20a90f0234ddbb269.png)

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [September 21, 2020, 10:36pm UTC](https://discuss.elastic.co/t/logstash-output-http-enpoint/249401/4 "2020-09-21T22:36:31Z")

</div>

> [@rguerrero](#):
>
> Do you have a reference about this?

The Manticore [documentation](https://www.rubydoc.info/github/cheald/manticore/Manticore/ResolutionFailure) says so. A malformed URL can cause this (if it extracts the wrong part of the URL as the hostname).

---

<div class="post-metadata">

**Author:** ![rguerrero](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@rguerrero](https://discuss.elastic.co/u/rguerrero)\
**Post date:** [September 29, 2020, 8:36pm UTC](https://discuss.elastic.co/t/logstash-output-http-enpoint/249401/5 "2020-09-29T20:36:46Z")

</div>

Very thank you Badger:  
Right now show me the following message error:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/b/eb9ecca8d6b721b076d21a80de10a0ef2ec7fb02.png)

, :headers=\>{"Content-Type"=\>"application/json"}, :message=\>"connect timed out", :class=\>"Manticore::ConnectTimeout"

---

<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:** [October 27, 2020, 8:36pm UTC](https://discuss.elastic.co/t/logstash-output-http-enpoint/249401/6 "2020-10-27T20:36:55Z")

</div>

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