Open sasikiranvaddi opened 3 months ago
@sasikiranvaddi Can you please share your pipeline configuration, and also debug logs - running with debug
should provide us with the backtrace for the error
Hi @robbavey, The occurrence of ArrayIndexOutofBoundsException is spoardic. Please find attached pipeline configurations. logstash.conf.txt searchenginepipeline.conf.txt
Similar to 16091?
Hi, Any thoughts on this issue?
Hi @sasikiranvaddi!
I couldn't reproduce this issue locally, could you please try running Logstash using the bundled JDK instead of the Suse's one?
If the issue still persists with the Logstash's bundled JDK, my suggestion would be upgrading to 8.15.1
and give it a try.
Regarding the metric log message, it's probably harmless but needs to be addressed. Thanks for reporting.
We have two pipelines configured, "opensearch" and "logstash". During the startup of logstash process OpenSearch pipeline has been created and while converging Logstash pipeline the logstash is failing with ArrayIndexOutOfBoundsException.
The exception has occurred while processing the ThreadContext.
at org.jruby.runtime.ThreadContext.popFrameReal(ThreadContext.java:570)
To recover from it, we produced a graceful restart of logstash process, after which we could see the pipelines running successfuly.
[logstash.agent] Pipelines running {:count=>2, :running_pipelines=>[:opensearch, :logstash], :non_running_pipelines=>[]}
Versions:
[logstash.runner] Starting Logstash {'logstash.version'=>'8.13.0', 'jruby.version'=>'jruby 9.4.5.0 (3.1.4) 2023-11-02 1abae2700f OpenJDK 64-Bit Server VM 11.0.23+9-suse-150000.3.113.1-x8664 on 11.0.23+9-suse-150000.3.113.1-x8664 +indy +jit [x86_64-linux]'}
On a side note, there is an issue w.r.t metric, the logstash recommended to log an issue. Please let me know if it requires a separate ticket.
Please find the attached logs. ArrayOutOfBoundsandMetricException.txt