Hi guys, just a quick question. I can't seem to find the answer on the docs
How do I reference the whole event in logstash?
I want to use the HTTP filter to send the whole event to one of our APIs for some quick analysis.
I have tried the below:
http {
id => "test-http-01"
url => "URL"
verb => "POST"
connect_timeout => 15
body => "%{[]}"
headers => { "Accept" => "application/json" "Content" => "application/json"}
target_body => "[test]"
target_headers => "[@metadata][test_response_headers]"
}
In other HTTP filters, I reference specific fields like [server][name]
for example, but how to I get everything? []
?
Thanks in advanced!