I have a situation where my first http_poller logstash is getting a session id as output. Now in the second http_poller call i need to carry that session id in the request header.
I am thinking of separating the two calls in two separate logstash processes. The first logstash will create the session and its output will be the session id over tcp/udp.
The second logstash after reciving the event - need to execute another http_poller call to get the actual data. Now the challange is
- IN the second logstash instance how do i read the output over tcp and then pass it as header in the http_poller call ?
Under these scenarios is there any thing else which you guys suggest ?