om_http authentication?


#1 Michael.Seto II

I am sending data to Elasticsearch via port 9200 and I am also using security for Elasticsearch. Any access to the rest API requiries authentication.

Is there a way to configure the om_http output to provide headers to authenticate when sending data to Elasticsearch?

Thank you

#2 bourazaniss (Last updated )
#1 Michael.Seto II
I am sending data to Elasticsearch via port 9200 and I am also using security for Elasticsearch. Any access to the rest API requiries authentication. Is there a way to configure the om_http output to provide headers to authenticate when sending data to Elasticsearch? Thank you

I haven't tested that but what about if using a URL like https://user:password@yourserver.com ?