Hello @stephenb thanks for your reply.
Actually, the error suddenly appeared without me changing anything.
I have a test server that I installed with winlogbeat
I configured it correctly because it started sending logs to my logstash
I tried to query GET /_security/api_key but the api key whose id is m-232swds23_wee12 is not there.
How should I know if my API Key get Invalidated?
I'm sorry I only know a little I just started learning this.
I also found out that I have another error @stephenb .
[WARN ][o.e.x.s.a.ApiKeyAuthenticator] [node-1] Authentication using apikey failed - apikey authentication for id m-232swds23_wee12 encountered a failure
org.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [.security][_doc][m-232swds23_wee12]: routing [null]]
at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.perform(TransportSingleShardAction.java:217) [elasticsearch-7.17.8.jar:7.17.8]
at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.start(TransportSingleShardAction.java:194) [elasticsearch-7.17.8.jar:7.17.8]
at org.elasticsearch.action.support.single.shard.TransportSingleShardAction.doExecute(TransportSingleShardAction.java:98) [elasticsearch-7.17.8.jar:7.17.8]
at org.elasticsearch.action.support.single.shard.TransportSingleShardAction.doExecute(TransportSingleShardAction.java:51) [elasticsearch-7.17.8.jar:7.17.8]
at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:186) [elasticsearch-7.17.8.jar:7.17.8]
at org.elasticsearch.action.support.ActionFilter$Simple.apply(ActionFilter.java:53) [elasticsearch-7.17.8.jar:7.17.8]
at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:184) [elasticsearch-7.17.8.jar:7.17.8]
at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.lambda$applyInternal$3(SecurityActionFilter.java:190) [x-pack-security-7.17.8.jar:7.17.8]
at org.elasticsearch.action.ActionListener$DelegatingFailureActionListener.onResponse(ActionListener.java:219) [elasticsearch-7.17.8.jar:7.17.8]
at org.elasticsearch.xpack.security.authz.AuthorizationService$1.onResponse(AuthorizationService.java:571) [x-pack-security-7.17.8.jar:7.17.8]
at org.elasticsearch.xpack.security.authz.AuthorizationService$1.onResponse(AuthorizationService.java:565) [x-pack-security-7.17.8.jar:7.17.8]
at org.elasticsearch.xpack.security.authz.interceptor.ResizeRequestInterceptor.intercept(ResizeRequestInterceptor.java:103) [x-pack-security-7.17.8.jar:7.17.8]
at org.elasticsearch.xpack.security.authz.AuthorizationService$1.onResponse(AuthorizationService.java:569) [x-pack-security-7.17.8.jar:7.17.8]
at org.elasticsearch.xpack.security.authz.AuthorizationService$1.onResponse(AuthorizationService.java:565) [x-pack-security-7.17.8.jar:7.17.8]
at org.elasticsearch.xpack.security.authz.interceptor.FieldAndDocumentLevelSecurityRequestInterceptor.intercept(FieldAndDocumentLevelSecurityRequestInterceptor.java:85) [x-pack-security-7.17.8.jar:7.17.8]
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.