Hi everyone, as the title, is there any way I can disable that log? Since I’m granting user permission to log in to kibana and query to specific index pattern, not all index. That is why that log throws
[2021-09-14T11:20:07,899][WARN ][stderr ] [hostname-odfe-7-8] java.lang.UnsupportedOperationException
[2021-09-14T11:20:07,900][WARN ][stderr ] [hostname-odfe-7-8] at java.base/java.util.Collections$UnmodifiableMap.put(Collections.java:1473)
[2021-09-14T11:20:07,900][WARN ][stderr ] [hostname-odfe-7-8] at com.amazon.opendistroforelasticsearch.security.dlic.rest.api.PermissionsInfoAction$1.accept(PermissionsInfoAction.java:111)
[2021-09-14T11:20:07,900][WARN ][stderr ] [hostname-odfe-7-8] at com.amazon.opendistroforelasticsearch.security.dlic.rest.api.PermissionsInfoAction$1.accept(PermissionsInfoAction.java:95)
[2021-09-14T11:20:07,900][WARN ][stderr ] [hostname-odfe-7-8] at org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:115)
[2021-09-14T11:20:07,900][WARN ][stderr ] [hostname-odfe-7-8] at com.amazon.opendistroforelasticsearch.security.filter.OpenDistroSecurityRestFilter$1.handleRequest(OpenDistroSecurityRestFilter.java:116)
[2021-09-14T11:20:07,900][WARN ][stderr ] [hostname-odfe-7-8] at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:236)
[2021-09-14T11:20:07,900][WARN ][stderr ] [hostname-odfe-7-8] at org.elasticsearch.rest.RestController.tryAllHandlers(RestController.java:318)
[2021-09-14T11:20:07,901][WARN ][stderr ] [hostname-odfe-7-8] at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:176)
[2021-09-14T11:20:07,901][WARN ][stderr ] [hostname-odfe-7-8] at org.elasticsearch.http.AbstractHttpServerTransport.dispatchRequest(AbstractHttpServerTransport.java:329)
[2021-09-14T11:20:07,901][WARN ][stderr ] [hostname-odfe-7-8] at org.elasticsearch.http.AbstractHttpServerTransport.handleIncomingRequest(AbstractHttpServerTransport.java:383)
[2021-09-14T11:20:07,901][WARN ][stderr ] [hostname-odfe-7-8] at org.elasticsearch.http.AbstractHttpServerTransport.incomingRequest(AbstractHttpServerTransport.java:308)
[2021-09-14T11:20:07,901][WARN ][stderr ] [hostname-odfe-7-8] at org.elasticsearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:54)
[2021-09-14T11:20:07,901][WARN ][stderr ] [hostname-odfe-7-8] at org.elasticsearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:29)
[2021-09-14T11:20:07,901][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
[2021-09-14T11:20:07,901][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[2021-09-14T11:20:07,901][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[2021-09-14T11:20:07,901][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[2021-09-14T11:20:07,901][WARN ][stderr ] [hostname-odfe-7-8] at org.elasticsearch.http.netty4.Netty4HttpPipeliningHandler.channelRead(Netty4HttpPipeliningHandler.java:58)
[2021-09-14T11:20:07,902][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[2021-09-14T11:20:07,902][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[2021-09-14T11:20:07,902][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[2021-09-14T11:20:07,902][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[2021-09-14T11:20:07,902][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)
[2021-09-14T11:20:07,902][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[2021-09-14T11:20:07,902][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[2021-09-14T11:20:07,902][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[2021-09-14T11:20:07,902][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[2021-09-14T11:20:07,902][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[2021-09-14T11:20:07,902][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[2021-09-14T11:20:07,903][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[2021-09-14T11:20:07,903][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[2021-09-14T11:20:07,903][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[2021-09-14T11:20:07,903][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[2021-09-14T11:20:07,903][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[2021-09-14T11:20:07,903][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
[2021-09-14T11:20:07,903][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
[2021-09-14T11:20:07,903][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[2021-09-14T11:20:07,903][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[2021-09-14T11:20:07,904][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[2021-09-14T11:20:07,904][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
[2021-09-14T11:20:07,904][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[2021-09-14T11:20:07,904][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[2021-09-14T11:20:07,904][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[2021-09-14T11:20:07,904][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
[2021-09-14T11:20:07,904][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[2021-09-14T11:20:07,904][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[2021-09-14T11:20:07,904][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
[2021-09-14T11:20:07,905][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
[2021-09-14T11:20:07,905][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
[2021-09-14T11:20:07,905][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:615)
[2021-09-14T11:20:07,905][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:578)
[2021-09-14T11:20:07,905][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
[2021-09-14T11:20:07,905][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
[2021-09-14T11:20:07,905][WARN ][stderr ] [hostname-odfe-7-8] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
[2021-09-14T11:20:07,905][WARN ][stderr ] [hostname-odfe-7-8] at java.base/java.lang.Thread.run(Thread.java:832)
Also, I’m doing monitor is check if a line with text WARN
appears, It will notify me. But these throws make that check wrong.