# Logstash stopped processing because of an error: (SystemExit) exit org.jruby.exceptions.SystemExit: (SystemExit) exit

**URL:** <https://discuss.elastic.co/t/logstash-stopped-processing-because-of-an-error-systemexit-exit-org-jruby-exceptions-systemexit-systemexit-exit/292432>\
**Category:** Logstash\
**Created:** [December 20, 2021, 7:03am UTC](https://discuss.elastic.co/t/logstash-stopped-processing-because-of-an-error-systemexit-exit-org-jruby-exceptions-systemexit-systemexit-exit/292432 "2021-12-20T07:03:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobias.greis](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tobias.greis](https://discuss.elastic.co/u/tobias.greis)\
**Post date:** [December 20, 2021, 7:03am UTC](https://discuss.elastic.co/t/logstash-stopped-processing-because-of-an-error-systemexit-exit-org-jruby-exceptions-systemexit-systemexit-exit/292432/1 "2021-12-20T07:03:36Z")

</div>

Hi,  
I have a problem with my Logstash Component. When starting I get the following failure and can't find helpful information online. I use a SLES 15 with Logstash 7.16.1 and OpenJDK11.

```auto
[2021-12-20T07:56:23,219][INFO][logstash.runner] Log4j configuration path used is: /etc/logstash/log4j2.properties
[2021-12-20T07:56:23,225][INFO][logstash.runner] Starting Logstash {"logstash.version"=>"7.16.1", "jruby.version"=>"jruby 9.2.20.1 (2.5.8) 2021-11-30 2a2962fbd1 OpenJDK 64-Bit Server VM 11.0.13+8 on 11.0.13+8 +indy +jit [linux-x86_64]"}
[2021-12-20T07:56:23,236][FATAL][org.logstash.Logstash] Logstash stopped processing because of an error: (SystemExit) exit
org.jruby.exceptions.SystemExit: (SystemExit) exit
        at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:747) ~[jruby-complete-9.2.20.1.jar:?]
        at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.20.1.jar:?]
        at usr.share.logstash.lib.bootstrap.environment.<main>(/usr/share/logstash/lib/bootstrap/environment.rb:94) ~[?:?]

```

May one of you have an idea, what the issue could be?

Thanks for your help

---

<div class="post-metadata">

**Author:** ![tobias.greis](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tobias.greis](https://discuss.elastic.co/u/tobias.greis)\
**Post date:** [December 20, 2021, 9:17am UTC](https://discuss.elastic.co/t/logstash-stopped-processing-because-of-an-error-systemexit-exit-org-jruby-exceptions-systemexit-systemexit-exit/292432/2 "2021-12-20T09:17:35Z")

</div>

I found the Problem. There was a wrong symbol in the logstash.yml File. The certificat had ["cert"], but the sytem wants only "cert"

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [December 20, 2021, 6:01pm UTC](https://discuss.elastic.co/t/logstash-stopped-processing-because-of-an-error-systemexit-exit-org-jruby-exceptions-systemexit-systemexit-exit/292432/3 "2021-12-20T18:01:07Z")

</div>

@tobias.greis can you say exactly what setting you had the problem with? I would expect you to get the message

> Your settings are invalid. Reason: Setting "..." must be a String. Received: ["..."] (Array)

for that.

---

<div class="post-metadata">

**Author:** ![tobias.greis](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tobias.greis](https://discuss.elastic.co/u/tobias.greis)\
**Post date:** [December 21, 2021, 5:02am UTC](https://discuss.elastic.co/t/logstash-stopped-processing-because-of-an-error-systemexit-exit-org-jruby-exceptions-systemexit-systemexit-exit/292432/4 "2021-12-21T05:02:19Z")

</div>

In the Logstash Configurationxpack certificate\_autjority part.

Wrong:

```auto
xpack.monitoring.elasticsearch.ssl.certificate_authority: ["path/to/cert"]

```

Correct:

```auto
xpack.monitoring.elasticsearch.ssl.certificate_authority: "path/to/cert"

```

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [December 21, 2021, 5:20pm UTC](https://discuss.elastic.co/t/logstash-stopped-processing-because-of-an-error-systemexit-exit-org-jruby-exceptions-systemexit-systemexit-exit/292432/5 "2021-12-21T17:20:08Z")

</div>

> [@tobias.greis](#):
>
> `xpack.monitoring.elasticsearch.ssl.certificate_authority: ["path/to/cert"]`

With 7.16.2 I get

> Your settings are invalid. Reason: Setting "xpack.monitoring.elasticsearch.ssl.certificate\_authority" must be a String. Received: ["path/to/cert"] (Array)  
> [2021-12-21T12:19:06,197][FATAL][org.logstash.Logstash] Logstash stopped processing because of an error: (SystemExit) exit

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 18, 2022, 5:20pm UTC](https://discuss.elastic.co/t/logstash-stopped-processing-because-of-an-error-systemexit-exit-org-jruby-exceptions-systemexit-systemexit-exit/292432/6 "2022-01-18T17:20:58Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
