Token input in Logstash

We have an API from Genesys to integrate with Elasticsearch through logstash, but the authorization to that api is token system. Is there a way to fetch the token in Logstash.
What would be the best approach to integrate GENESYS with ELK.

Any suggestions please.

If you are using the http_poller input then it likely won't work.
What you can do is generate a generic event using the generator plugin on a set schedule.
Then use a combination of the ruby plugin (if needed) and http plugins in the filter section to generate the api token and save it in a field and then a second http to use that generated token (that you saved in a field) to run the query you would like.

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