Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow elasticsearch sink response error logs to be made less verbose #21648

Open
tronboto opened this issue Oct 29, 2024 · 1 comment
Open

Allow elasticsearch sink response error logs to be made less verbose #21648

tronboto opened this issue Oct 29, 2024 · 1 comment
Labels
sink: elasticsearch Anything `elasticsearch` sink related type: feature A value-adding code addition that introduce new functionality.

Comments

@tronboto
Copy link

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

Having the entire bulk api response printed as a log message by default can be extremely verbose in situations where you have a large bulk size and high throughput, resulting in the logs being extremely difficult to analyse at a time when you likely want to analyse them.

Attempted Solutions

No response

Proposal

Make it possible to disable these verbose response error logs so that the sink just prints the generalised error message as it apparently did in v0.24.

References

Version

vector 0.41.1 (x86_64-unknown-linux-gnu 745babd 2024-09-11 14:55:36.802851761)

@tronboto tronboto added the type: feature A value-adding code addition that introduce new functionality. label Oct 29, 2024
@jszwedko jszwedko added the sink: elasticsearch Anything `elasticsearch` sink related label Oct 29, 2024
@pront
Copy link
Member

pront commented Oct 29, 2024

Hi @tronboto, thank you for this request. To immediately alleviate this situation we can make this emit opt-out. We can also think about generic solutions to this in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sink: elasticsearch Anything `elasticsearch` sink related type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

No branches or pull requests

6 participants
@jszwedko @pront @tronboto and others