Custom code for pagination in Logstash

Hello there !
I am fetching some data using the vRealize api, I want to add pagination using the custom code.
which programming language can I use and how can I achieve this ?
Can someone please help me with this !

@Rios @leandrojmp Could you please help !

No need to mention directly. I'm not Elastic team member neither certified, yet.

Which plugin is using for fetching?There is pagination in APIs, check the documentation

AFAIK http_poll does not support Bearer token by default. There is some possibilities.

Whatever you miss in LS or extend something, you can use Ruby plugin and write your own code.