I am running Elasticsearch, Kibana and Filebeats on my office windows laptop. I am trying to use filebeat -microsoft module. All outgoing http/s requests go via a proxy. How do I Configure Filebeat to use proxy for any input request that goes out (not just microsoft module). Setting HTTP_PROXY HTTPS_PROXY as environment variable does not seem to do the trick.
I see proxy setting for output to Elasticsearch & Kibana. But Is there configuration setting for proxy url for input requests ?
I had the following entry in the microsoft module. It is not being used.
m365_defender:
enabled: true
# How often the API should be polled
var.interval: 1m
var.proxy_url: proxy_domain_name:8080
If I set the proxy_domain_name the to HTTPS_PROXY then the curl command is working properly. Even after setting up filebeat module again, the proxy url is not recognised.
Thank you very much. var.proxy_url resolved the issue. I did not have the protocol (http://) as part of it earlier. Once I added it resolved the issue.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.