Hi!
We are currently facing a situation in which we need to request the logs to an external API. Our initial idea was to do this using Filebeat's httpjson
plugin, but now we are uncertain that this can be achieved, given API usage, which goes as follows:
- You send a request to "example.com/v1.0/token" providing the user/password to get an auth token
- You send the request to "example.com/logs" providing said token to retrieve the logs
Since we are no Elastic experts, we are wondering which would be the best method to collect these logs