Logstash - Output - Http - Enpoint

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"
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.

Logserrors01:

Logserrors01:

A Manticore ResolutionFailure is a DNS lookup failure.

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

The Manticore documentation says so. A malformed URL can cause this (if it extracts the wrong part of the URL as the hostname).

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

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

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