I would like to monitor an API call from ES and Kibana. The HTTP module in MetricBeat seems like the most logical choice. I have installed it, and I see that it is writing to ES. However, I am having issues configuring it. So far, I have this:
- module: http
However, I keep getting, in Kibana, the following error:
"Authorization has been denied for this request"
I have tried adding the header for the API_KEY and its value, but no luck. I confirm that from the ES server, the curl command with the API_KEY and its value added as a header returns the query results. Would any know how I can add the header? I tried
and a bunch of variations... It seems to simply ignore the information. nay help would be greatly appreciated.