-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elasticseach and Kibana related warning spam after upgrade to 7.x #9822
Comments
Hey @mikkolehtisalo, thanks for reporting this! Can you do the following to support fixing this issue:
Thanks a lot! |
That's odd because I haven't done any manual operations that could cause this. However the Kibana version was older (not in synch with ES!) so that might have caused something. In any case here are the outputs:
|
Hello, I have the same behavior after an update from ES 6.8 to 7.10, i have like 1 line every second. But this is for ".security", not ".kibana" 2021-01-26T09:30:09.021+01:00 WARN [RestClient] request [GET http://pirv-siem-es-05:9200/gl-system-events_*/_alias?ignore_throttled=false&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=false] returned 1 warnings: [299 Elasticsearch-7.10.2-747e1cc71def077253878a59143c1f785afa92b9 "this request accesses aliases with names reserved for system indices: [.security], but in a future major version, directaccess to system indices and their aliases will not be allowed"] Note : i'm not using ES oos; but the regular release as i'm using xpack plugins (ILM) graylog-server-4.0.1-1.noarch Outputs :
< HTTP/1.1 200 OK
$ curl $es_auth -v "http://localhost:9200/.security/_alias?ignore_throttled=false&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=false"
< HTTP/1.1 200 OK
` |
Thanks @mikkolehtisalo & @BenoitPoulet, what's puzzling me is that an alias request for |
In my case it's possible (although I am not sure) that I have at some point installed one of the xpack bundles, and not just Kibana. The installation is old. I would guess it's from around ElasticSearch 2.x. I doubt installing recent versions reproduces this. Installing ancient versions and doing version upgrades might, but I'm unable to tell which combination triggers the issue. Could the following (source) provide a hint why the aliases behave oddly? Just a wild guess though.
|
I will try to explain my setup, which is not very complicated. I started with a fresh install of Graylog 3.3.8 and ES 6.8 (i repeat, not the OSS version) From this repository :
And i activate this in the ES configuration (/etc/elasticsearch/elasticsearch.yml)
I found one more report of this pb here : https://community.graylog.org/t/elastic-warnings-in-graylog-server-log/18046 (but with no solution but hiding the warnings) |
My guess would be checkSystemAliasAccess might report especially |
I have the same issue with .security. My setup is fresh, Graylog 4.0.5, commercial ElasticSearch 7.10.1(not ElasticSearch OSS). And xpack.security is enabled. Although I temporarily hide the warning message, I have the same concern that it would be broken in ES 8. I put this in ES config as other people suggested |
I've had a similar problem with this sort of spam in my depreciation log: I tried the suggestion above: My current solution I changed the line 95 in the following file /etc/elasticsearch/log4j2.properties Although this will of course make an administrator oblivious to probable breaking changes in the future. But for Graylog I'm following their guidelines and staying on supported versions of Elasticsearch. |
Starting with
in your Graylog config, you should not see those anymore. This is obviously not solving the problem. It is not causing an impact for now, but indicates a potential future breakage. We are looking into that and checking if we can do some requests differently to avoid it. |
In my case running
stopped the message spam. Still doesn't explain why though. |
This doesn't work because of a typo at Lines 31 to 36 in 553fadb
A space was omitted in |
If the ElasticSearch has also Kibana installed, after updating ElasticSearch to 7.x Graylog logs are full of spam like this:
As it is only a warning so far this is mostly an annoyance. The real issue is that ElasticSearch 8.x will probably break Graylog if also Kibana is used.
The text was updated successfully, but these errors were encountered: