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

in_elasticsearch client.clear_scroll does not work when elastic return extremely long scroll_id #1037

Closed
1 of 2 tasks
saurtm12 opened this issue Nov 30, 2023 · 1 comment
Closed
1 of 2 tasks

Comments

@saurtm12
Copy link

saurtm12 commented Nov 30, 2023

(check apply)

  • read the contribution guideline
  • (optional) already reported 3rd party upstream repository or mailing list if you use k8s addon or helm charts.

Problem

When using scrolling with in_elasticsearch, the client cant clear scroll with long scroll_id attach with url
...

Steps to replicate

Either clone and modify https://gist.github.com/pitr/9a518e840db58f435911

OR

Provide example config and message
Configure elastic with a lot of data and I want to use elasticsearch stream input, then it doesnt work with scrolling and have this error:
error_class=Elasticsearch::Transport::Transport::Errors::BadRequest error="[400] {\"error\":{\"root_cause\":[{\"type\":\"too_long_frame_exception\",\"reason\":\"An HTTP line is larger than 4096 bytes.\"}],\"type\":\"too_long_frame_exception\",\"reason\":\"An HTTP line is larger than 4096 bytes.\"},\"status\":400}"","worker_id":0} #<Thread:0x000000000411a798@in_elasticsearch_thread_1000 /opt/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.14.6/lib/fluent/plugin_helper/thread.rb:70 run> terminated with exception (report_on_exception is true):

Expected Behavior or What you need to ask

scrolling working normally
...

Using Fluentd and ES plugin versions

  • OS version
  • Bare Metal or within Docker or Kubernetes or others?
  • Fluentd v0.12 or v0.14/v1.0
    • paste result of fluentd --version or td-agent --version
  • ES plugin 3.x.y/2.x.y or 1.x.y
    • paste boot log of fluentd or td-agent
    • paste result of fluent-gem list, td-agent-gem list or your Gemfile.lock
  • ES version (optional)
  • ES template(s) (optional)
@saurtm12 saurtm12 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2023
@saurtm12
Copy link
Author

created pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant