Call REST API using ingest pipeline script processor

(R01K) #1

Hello Team,

Is is possible to call any REST API through the ingest pipeline script processor?


(David Pilato) #2

No you can’t. And you should not.

Latency will be always bad IMO and you are going to slow down dramatically your injection process.

If you have only 1 doc per second or less that might be possible though. But you need to write your own ingest plugin for that.

(I wish I had more free time to finish mine)

You can probably look at logstash to do such a thing although I’m unsure there is an http filter plugin available.

(R01K) #3

Thanks @dadoonet ,

Yes, through logstash its possible using ruby filter plugin but i'm using only filebeat-->ingest pipeline-->elasticsearch.

So wanted to check if this is possible to call rest api through ingest pipeline.


(David Pilato) #4

It’s not.

(system) #5

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