Skip to content

Broken auth for Elasticsearch sink after version 0.32.1 #21728

Answered by hackerone99
nhlushak asked this question in Q&A

You must be logged in to vote

to anyone who faced this issue, i faced the same issue and managed to solve it by appending /_dashboards in my sinks. Without the value, it will be 401 @nhlushak

My configuration

Working (200 OK)

sinks:
   opensearch_out:
     type: "elasticsearch"
     inputs: ["parse_nginx"] 
     endpoint: "https://opensearch_domain.aos.ap-southeast-1.on.aws/_dashboards:443"
     mode: "bulk"

Not Working (401)

sinks:
   opensearch_out:
     type: "elasticsearch"
     inputs: ["parse_nginx"]  
     endpoint: "https://opensearch_domain.aos.ap-southeast-1.on.aws:443"
     mode: "bulk"

Replies: 4 comments 6 replies

You must be logged in to vote
0 replies

You must be logged in to vote
5 replies
@jszwedko

@jszwedko

@jszwedko

@nhlushak

@nhlushak

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@pront

pront Jan 6, 2025
Maintainer

Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants