Hello everyone,
I just want to use http inbound and outbound plugins for asynchronous communication between two applications(host & target). The data (json)from http inbound plugin contains the url to be used in http outbound plugin configuration and the parameters to send in the request.
Could you please help me in getting the configuration for the above requirement.
I used the below config but getting errors in reading the dynamic value.
input {
http {
port => 9601
response_headers => {
"Access-Control-Allow-Origin" => "*"
"Content-Type" => "text/plain"
"Access-Control-Allow-Headers" => "Origin, X-Requested-With, Content-Type, Accept"
}
}
}
filter{
}
output {
http {
url =>"http://%{message.clientUrl}/process"
http_method =>"post"
}
stdout {
codec => json
}
}
Thanks in advance.
Regards
Rakesh.