diff --git a/lib/logstash/outputs/elasticsearch.rb b/lib/logstash/outputs/elasticsearch.rb index 9836a0417..44f4964d2 100644 --- a/lib/logstash/outputs/elasticsearch.rb +++ b/lib/logstash/outputs/elasticsearch.rb @@ -299,6 +299,7 @@ def register if @embedded raise(LogStash::ConfigurationError, "The 'embedded => true' setting is only valid for the elasticsearch output under JRuby. You are running #{RUBY_DESCRIPTION}") unless LogStash::Environment.jruby? + @logger.warn("The 'embedded => true' setting is enabled. This is not recommended for production use!!!") # LogStash::Environment.load_elasticsearch_jars! # Default @host with embedded to localhost. This should help avoid