hive
(Hive)
June 5, 2019, 8:46pm
1
Dynamic URL with below does not work. When I replace the "oid" with a constant it works fine.
Can I have values changed in URL?
Thanks
output{
http {
format=>"json"
http_method=>"post"
url=>"http://localhost:9200/my/associate/%{[oid]}/_update?pretty "
}
stdout{
codec => json
}
}
hive
(Hive)
June 5, 2019, 9:15pm
2
answering my own question .. for someone with similar issues
Path referred in url "[script][params][pos][employee_oid]" is really how JSON data is created in "filter" including hierarchy
output{
http {
format=>"json"
http_method=>"post"
url=>"http://localhost:9200/my/associate/%{[script][params][pos][employee_oid]}/_update?pretty "
}
stdout{
codec => json
}
}
system
(system)
Closed
July 3, 2019, 9:15pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.