Reference field dynamically from another event

So I am using Http poller input plugin to poll two different URLs,

So I am trying to add a new field in the second URL response(JSON) as from first URL event response:

`

add_field => {"[CountyOutageInfo][0][StateName]" => "%{[StateOutageInfo][0][StateName]}"}

`

where "%{[StateOutageInfo][0][StateName]}" is the data referenced from first URL event response

So the value added for this case is simply "%{[StateOutageInfo][0][StateName]}" and not the state name. Am i missing something ?

My system is Red Hat 4.8.5, logstash version is 6.4.2.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.