2018-12-06 10:05:17,319 main ERROR Could not create plugin of type class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@6f1c29b7] unable to create manager for [/var/log/elasticsearch/elasticsearch_audit.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@2b72cb8a[pattern=/var/log/elasticsearch/elasticsearch_audit-%d{yyyy-MM-dd}.log, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[TimeBasedTriggeringPolicy(nextRolloverMillis=0, interval=1, modulate=true)]), strategy=DefaultRolloverStrategy(min=1, max=7, useMax=true), advertiseURI=null, layout={"@timestamp":"%d{ISO8601}"%varsNotEmpty{, "node.name":"%enc{%map{node.name}}{JSON}"}%varsNotEmpty{, "node.id":"%enc{%map{node.id}}{JSON}"}%varsNotEmpty{, "host.name":"%enc{%map{host.name}}{JSON}"}%varsNotEmpty{, "host.ip":"%enc{%map{host.ip}}{JSON}"}%varsNotEmpty{, "event.type":"%enc{%map{event.type}}{JSON}"}%varsNotEmpty{, "event.action":"%enc{%map{event.action}}{JSON}"}%varsNotEmpty{, "user.name":"%enc{%map{user.name}}{JSON}"}%varsNotEmpty{, "user.run_by.name":"%enc{%map{user.run_by.name}}{JSON}"}%varsNotEmpty{, "user.run_as.name":"%enc{%map{user.run_as.name}}{JSON}"}%varsNotEmpty{, "user.realm":"%enc{%map{user.realm}}{JSON}"}%varsNotEmpty{, "user.run_by.realm":"%enc{%map{user.run_by.realm}}{JSON}"}%varsNotEmpty{, "user.run_as.realm":"%enc{%map{user.run_as.realm}}{JSON}"}%varsNotEmpty{, "user.roles":%map{user.roles}}%varsNotEmpty{, "origin.type":"%enc{%map{origin.type}}{JSON}"}%varsNotEmpty{, "origin.address":"%enc{%map{origin.address}}{JSON}"}%varsNotEmpty{, "realm":"%enc{%map{realm}}{JSON}"}%varsNotEmpty{, "url.path":"%enc{%map{url.path}}{JSON}"}%varsNotEmpty{, "url.query":"%enc{%map{url.query}}{JSON}"}%varsNotEmpty{, "request.body":"%enc{%map{request.body}}{JSON}"}%varsNotEmpty{, "action":"%enc{%map{action}}{JSON}"}%varsNotEmpty{, "request.name":"%enc{%map{request.name}}{JSON}"}%varsNotEmpty{, "indices":%map{indices}}%varsNotEmpty{, "opaque_id":"%enc{%map{opaque_id}}{JSON}"}%varsNotEmpty{, "transport.profile":"%enc{%map{transport.profile}}{JSON}"}%varsNotEmpty{, "rule":"%enc{%map{rule}}{JSON}"}%varsNotEmpty{, "event.category":"%enc{%map{event.category}}{JSON}"}}%n, filePermissions=null, fileOwner=null]] java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@6f1c29b7] unable to create manager for [/var/log/elasticsearch/elasticsearch_audit.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@2b72cb8a[pattern=/var/log/elasticsearch/elasticsearch_audit-%d{yyyy-MM-dd}.log, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[TimeBasedTriggeringPolicy(nextRolloverMillis=0, interval=1, modulate=true)]), strategy=DefaultRolloverStrategy(min=1, max=7, useMax=true), advertiseURI=null, layout={"@timestamp":"%d{ISO8601}"%varsNotEmpty{, "node.name":"%enc{%map{node.name}}{JSON}"}%varsNotEmpty{, "node.id":"%enc{%map{node.id}}{JSON}"}%varsNotEmpty{, "host.name":"%enc{%map{host.name}}{JSON}"}%varsNotEmpty{, "host.ip":"%enc{%map{host.ip}}{JSON}"}%varsNotEmpty{, "event.type":"%enc{%map{event.type}}{JSON}"}%varsNotEmpty{, "event.action":"%enc{%map{event.action}}{JSON}"}%varsNotEmpty{, "user.name":"%enc{%map{user.name}}{JSON}"}%varsNotEmpty{, "user.run_by.name":"%enc{%map{user.run_by.name}}{JSON}"}%varsNotEmpty{, "user.run_as.name":"%enc{%map{user.run_as.name}}{JSON}"}%varsNotEmpty{, "user.realm":"%enc{%map{user.realm}}{JSON}"}%varsNotEmpty{, "user.run_by.realm":"%enc{%map{user.run_by.realm}}{JSON}"}%varsNotEmpty{, "user.run_as.realm":"%enc{%map{user.run_as.realm}}{JSON}"}%varsNotEmpty{, "user.roles":%map{user.roles}}%varsNotEmpty{, "origin.type":"%enc{%map{origin.type}}{JSON}"}%varsNotEmpty{, "origin.address":"%enc{%map{origin.address}}{JSON}"}%varsNotEmpty{, "realm":"%enc{%map{realm}}{JSON}"}%varsNotEmpty{, "url.path":"%enc{%map{url.path}}{JSON}"}%varsNotEmpty{, "url.query":"%enc{%map{url.query}}{JSON}"}%varsNotEmpty{, "request.body":"%enc{%map{request.body}}{JSON}"}%varsNotEmpty{, "action":"%enc{%map{action}}{JSON}"}%varsNotEmpty{, "request.name":"%enc{%map{request.name}}{JSON}"}%varsNotEmpty{, "indices":%map{indices}}%varsNotEmpty{, "opaque_id":"%enc{%map{opaque_id}}{JSON}"}%varsNotEmpty{, "transport.profile":"%enc{%map{transport.profile}}{JSON}"}%varsNotEmpty{, "rule":"%enc{%map{rule}}{JSON}"}%varsNotEmpty{, "event.category":"%enc{%map{event.category}}{JSON}"}}%n, filePermissions=null, fileOwner=null]]
at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:115)
at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:114)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:188)
at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:145)
at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:61)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:123)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:959)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:899)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:891)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:514)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:238)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:250)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:547)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:263)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:234)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:127)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:302)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136)
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:127)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:86)