Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

Hello team, I try to run the logstash.conf file im facing the error like

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.headius.backport9.modules.Modules (file:/usr/share/logstash/logstash-core/lib/jars/jruby-complete-9.2.11.1.jar) to method sun.nio.ch.NativeThread.signal(long)
WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console
[WARN ] 2022-04-21 07:28:45.842 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified
[FATAL] 2022-04-21 07:28:45.879 [LogStash::Runner] runner - Logstash could not be started because there is already another instance using the configured data directory.  If you wish to run multiple instances, you must change the "path.data" setting.
[ERROR] 2022-04-21 07:28:45.882 [LogStash::Runner] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

This is a conf file

 elasticsearch {
    hosts => ["https://xxxxxxx:9200"]
    user => 'xxxxx'
    password => 'xxxxxxxx'
    index => "logstash-beta-%{+YYYY.MM.dd}"
    ilm_enabled => false
  }
}    

any one please give me solution for this.

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