Skip to content
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

Does the open source version of Graylog 6.0.5 support Elasticsearch 7.10.2? #20428

Open
ysj2018 opened this issue Sep 12, 2024 · 7 comments
Open

Comments

@ysj2018
Copy link

ysj2018 commented Sep 12, 2024

Expected Behavior

I want Graylog to function normally.

Current Behavior

After I start Graylog, I keep getting the following error(s)

2024-09-12 18:43:41,201 ERROR: org.graylog2.storage.versionprobe.VersionProbe - Unable to retrieve version from OpenSearch/Elasticsearch node 10.80.69.27:9200: unknown error - an exception occurred while deserializing error response: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `org.graylog2.storage.versionprobe.Error` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('Not Found')
 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 67] (through reference chain: org.graylog2.storage.versionprobe.ErrorResponse["error"])
2024-09-12 18:43:41,201 INFO : org.graylog2.storage.versionprobe.VersionProbe - OpenSearch/Elasticsearch is not available. Retry #1158
2024-09-12 18:43:46,203 ERROR: org.graylog2.storage.versionprobe.VersionProbe - Unable to retrieve version from OpenSearch/Elasticsearch node 10.80.69.27:9200: unknown error - an exception occurred while deserializing error response: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `org.graylog2.storage.versionprobe.Error` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('Not Found')
 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 67] (through reference chain: org.graylog2.storage.versionprobe.ErrorResponse["error"])
2024-09-12 18:43:46,203 INFO : org.graylog2.storage.versionprobe.VersionProbe - OpenSearch/Elasticsearch is not available. Retry #1159
2024-09-12 18:43:51,205 ERROR: org.graylog2.storage.versionprobe.VersionProbe - Unable to retrieve version from OpenSearch/Elasticsearch node 10.80.69.27:9200: unknown error - an exception occurred while deserializing error response: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `org.graylog2.storage.versionprobe.Error` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('Not Found')
 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 67] (through reference chain: org.graylog2.storage.versionprobe.ErrorResponse["error"])
2024-09-12 18:43:51,205 INFO : org.graylog2.storage.versionprobe.VersionProbe - OpenSearch/Elasticsearch is not available. Retry #1160

Possible Solution

Does the open source version of Graylog 6.0.5 support Elasticsearch 7.10.2?

Steps to Reproduce (for bugs)

1.I installed MongoDB 7.0.11
2.I installed elasticsdearch7.10.2
3.I have downloaded the tar package of Graylog 6.0.5, but after configuring and starting it, I keep getting the above-mentioned error. I was able to run Graylog Enterprise Edition normally before, but the open-source version is not working despite similar configurations. I'm not sure what the exact issue is. Could you please tell me if Graylog 6.0.5 open-source edition supports Elasticsearch 7.10.2? Is there anything I might have done wrong?"

Regarding the support for Elasticsearch 7.10.2 with Graylog 6.0.5 open-source edition, it's important to consult the official documentation or release notes of Graylog to verify the compatibility. It's possible that the open-source edition might have different support requirements or limitations compared to the enterprise edition

Context

Your Environment

  • Graylog Version: 6.0.5
  • Java Version: 17
  • OpenSearch Version: elasticsearch7.10.2
  • MongoDB Version: 7.0。11
  • Operating System: RedHat 9.2
  • Browser version:
@ysj2018 ysj2018 added the bug label Sep 12, 2024
@dennisoelkers
Copy link
Member

What happens when you try to fetch 10.80.69.27:9200 with curl in the same way that you configured Graylog with (i.e. http/https, auth, ...)?

@ysj2018
Copy link
Author

ysj2018 commented Sep 14, 2024

My Elasticsearch is not encrypted, and I can access it normally and get results using curl. However, when I use Graylog, it keeps reporting errors. I've reinstalled it on this machine, but the issue persists. I would like to ask if you can confirm that the open-source version of Graylog supports Elasticsearch 7.10.2? If so, I will try reinstalling everything on a different machine to ensure there are no unknown issues with the source data.

@T100D
Copy link

T100D commented Sep 14, 2024

What happens if you take a lower version of MongoDB 6 or even 5 if that is supported. Seen some problems mentioned in that corner to.

@dennisoelkers
Copy link
Member

@ysj2018: We do use ES7 7.10.2 in automated tests (e.g. this one) which are bootstrapping a complete Graylog server + Elasticsearch instance. Therefore I can safely confirm that it supports ES7. Can you post the results of the curl call to http://10.80.69.27:9200/ from your Graylog node here, so I can verify that there is no parsing issue?

@T100D
Copy link

T100D commented Sep 16, 2024

@dennisoelkers

Is the oss version of elasticsearch used, the normal version does not work out of the box with Graylog.

https://www.docker.elastic.co/r/elasticsearch/elasticsearch-oss

@T100D
Copy link

T100D commented Sep 16, 2024

@ysj2018

Asked the wrong person........

Is the oss version for elasticsearch used, the normal version does not work out of the box with Graylog.
https://www.docker.elastic.co/r/elasticsearch/elasticsearch-oss

Java version could be wrong to, Graylog uses it's own binaries of Java and I do not know if
Java 17 is supported bij elasticsearch.

We use openjdk version "1.8.0_422"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants