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

Search page does not display log data ,the page indicates "Elasticsearch exception [type=index_not_found_exception, reason=no such index []]." #20364

Open
mmweiyin opened this issue Sep 5, 2024 · 1 comment

Comments

@mmweiyin
Copy link

mmweiyin commented Sep 5, 2024

The System/Inputs has been configured with Syslog UDP and has received data. Upon clicking "Show received messages," when I navigate to the search menu, detailed log data is not displayed. The page indicates: "While retrieving data for this widget, the following error(s) occurred: Elasticsearch exception [type=index_not_found_exception, reason=no such index []]."

I have reviewed a similar issue at #9588. I have reinstalled MongoDB, but the same error persists. I have also restarted Graylog and Elasticsearch, yet the problem still exists.

Expected Behavior

Display log data.

Current Behavior

NO log data.
20240905150920

the status of elasticsearch is green,No errors inside Graylog Server logfiles or Elastic logs.
{
"cluster_name" : "elasticsearch",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 9,
"active_shards" : 9,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 100.0
}

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Graylog Version: Graylog 5.0.13
  • Java Version:
  • ElasticSearch Version: 7.10.2
  • MongoDB Version: 6.0.17
  • Operating System: Centos 7.9
  • Browser version:
@mmweiyin mmweiyin added the bug label Sep 5, 2024
@mmweiyin mmweiyin changed the title Search menu does not display log data ,the page indicates dispay "Elasticsearch exception [type=index_not_found_exception, reason=no such index []]." Search menu does not display log data ,the page indicates "Elasticsearch exception [type=index_not_found_exception, reason=no such index []]." Sep 5, 2024
@mmweiyin mmweiyin changed the title Search menu does not display log data ,the page indicates "Elasticsearch exception [type=index_not_found_exception, reason=no such index []]." Search page does not display log data ,the page indicates "Elasticsearch exception [type=index_not_found_exception, reason=no such index []]." Sep 5, 2024
@sethgraylog
Copy link
Collaborator

Are you able to upgrade to the latest version of Graylog? It would also be preferred to use OpenSearch since Elastic has deprecated this version.

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

2 participants