# Logstash warnings: illegal reflective access & pipelines.yml

**URL:** <https://discuss.elastic.co/t/logstash-warnings-illegal-reflective-access-pipelines-yml/256888>\
**Category:** Logstash\
**Created:** [November 27, 2020, 2:15pm UTC](https://discuss.elastic.co/t/logstash-warnings-illegal-reflective-access-pipelines-yml/256888 "2020-11-27T14:15:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaispirit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaispirit/32/79812_2.png) [@jaispirit](https://discuss.elastic.co/u/jaispirit)\
**Post date:** [November 27, 2020, 2:15pm UTC](https://discuss.elastic.co/t/logstash-warnings-illegal-reflective-access-pipelines-yml/256888/1 "2020-11-27T14:15:07Z")

</div>

Using latest versions of:

- Ubuntu 20.04-Server mit 4 GB RAM und 2 CPUs
- OpenJDK 11
- Elasticsearch Version: 7.10.0
- Kibana Version: 7.10.0
- Logstash Version: 7.10.0
- Filebeat Version: 7.10.0

`$ sudo /usr/share/logstash/bin/logstash -e "input { stdin { } } output { stdout { } }" --path.settings /etc/logstash`

```
OpenJDK 64-Bit Server VM **warning** : Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
**WARNING** : An illegal reflective access operation has occurred
**WARNING** : Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/tmp/jruby-11153/jruby8878062293900151859jopenssl.jar) to field java.security.MessageDigest.provider
**WARNING** : Please consider reporting this to the maintainers of org.jruby.ext.openssl.SecurityHelper
**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
Sending Logstash logs to /var/log/logstash which is now configured via log4j2.properties
[2020-11-27T14:11:08,666][INFO][logstash.runner] Starting Logstash {"logstash.version"=>"7.10.0", "jruby.version"=>"jruby 9.2.13.0 (2.5.7) 2020-08-03 9a89c94bcc OpenJDK 64-Bit Server VM 11.0.8+10 on 11.0.8+10 +indy +jit [linux-x86_64]"}
[2020-11-27T14:11:09,742][**WARN**][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2020-11-27T14:11:12,208][INFO][org.reflections.Reflections] Reflections took 44 ms to scan 1 urls, producing 23 keys and 47 values 
[2020-11-27T14:11:13,370][INFO][logstash.javapipeline][main] Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>2, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>250, "pipeline.sources"=>["config string"], :thread=>"#<Thread:0x52fc6e9d run>"}
[2020-11-27T14:11:14,916][INFO][logstash.javapipeline][main] Pipeline Java execution initialization time {"seconds"=>1.5}
[2020-11-27T14:11:15,094][INFO][logstash.javapipeline][main] Pipeline started {"pipeline.id"=>"main"}
The stdin plugin is now waiting for input:
[2020-11-27T14:11:15,294][INFO][logstash.agent] Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
[2020-11-27T14:11:15,943][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=>9600}

```

`$ sudo /usr/share/logstash/bin/logstash -e "input { stdin { } } output { stdout { } }"`

```
Using bundled JDK: /usr/share/logstash/jdk
OpenJDK 64-Bit Server VM **warning** : Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
**WARNING** : An illegal reflective access operation has occurred
**WARNING** : Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/tmp/jruby-8901/jruby17329055870296577814jopenssl.jar) to field java.security.MessageDigest.provider
**WARNING** : Please consider reporting this to the maintainers of org.jruby.ext.openssl.SecurityHelper
**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
**WARNING** : Could not find logstash.yml which is typically located in $LS_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console
[INFO] 2020-11-27 13:58:22.176 [main] runner - Starting Logstash {"logstash.version"=>"7.10.0", "jruby.version"=>"jruby 9.2.13.0 (2.5.7) 2020-08-03 9a89c94bcc OpenJDK 64-Bit Server VM 11.0.8+10 on 11.0.8+10 +indy +jit [linux-x86_64]"}
[**WARN**] 2020-11-27 13:58:22.979 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified
[INFO] 2020-11-27 13:58:25.711 [Converge PipelineAction::Create<main>] Reflections - Reflections took 71 ms to scan 1 urls, producing 23 keys and 47 values 
[INFO] 2020-11-27 13:58:26.508 [[main]-pipeline-manager] javapipeline - Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>2, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>250, "pipeline.sources"=>["config string"], :thread=>"#<Thread:0x58802dbd run>"}
[INFO] 2020-11-27 13:58:27.827 [[main]-pipeline-manager] javapipeline - Pipeline Java execution initialization time {"seconds"=>1.3}
[INFO] 2020-11-27 13:58:27.876 [[main]-pipeline-manager] javapipeline - Pipeline started {"pipeline.id"=>"main"}
The stdin plugin is now waiting for input:
[INFO] 2020-11-27 13:58:28.093 [Agent thread] agent - Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
[INFO] 2020-11-27 13:58:28.398 [Api Webserver] agent - Successfully started Logstash API endpoint {:port=>9600}

```

How to get rid of these warnings?

---

<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:** [December 25, 2020, 2:15pm UTC](https://discuss.elastic.co/t/logstash-warnings-illegal-reflective-access-pipelines-yml/256888/2 "2020-12-25T14:15:09Z")

</div>

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