Logstash - Adding http_poller meta data into document

The value in this field is what i require -> http_poller_metadata.input.http_poller.request.name

mutate {
      add_field => { "metric" => "[http_poller_metadata][request][name]" }

Not sure the notation when the input plugin is using -> metadata_target => "http_poller_metadata"

It looks OK how did you add the field, however, it can be literally http_poller_metadata.input.http_poller.request.name. Check how JSON looks like in Kibana or in ruby debugger.

It gives me nothing.

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