Hello,
I'm on Logstash v7.17, using 'http output' plugin to send logs to third party API.
Per third party API spec and hard requirement, "zip" POST property must be a number, otherwise API rejects it.
When I use "mapping" setting (example below), every property, including "zip", which is hardcoded as an int, still gets sent as a string.
Is there any way to send it as a number (int or float)?
output {
http {
url => "url.com"
http_method => "post"
format => "json_batch"
codec => "json"
mapping => {
"name" => "Test User"
"address" => "1234 Some Street"
"zip" => 50001
}
}
}