Adding Field Data By Api Call

Hey, im using elastic,kibana,logstash, metricbeat
and i want to add to EVERY document i get from metricbeat, a field
that will be set by making an api call from server and fetching data.

from my searches, i see i can set static fields and values, by using the add_fields
processor, or the fields in the metricbeat.yml

but i dont want static value,
i want to add to every document a field like "timestamp" that his data
will come from api call?
how should i achieve this?

thank you.

Hey @benedery, welcome to discuss :slightly_smiling_face:

I don't think this is possible with metricbeat, but have you tried with the http filter plugin for Logstash?

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