Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kibana throwing 429 (Too many requests) when trying to create an index pattern

I have an elasticsearch index (150kb only) which I want to visualise in kibana. After going to stack management > index patterns > crate new index pattern a 429 (Too many requests) error is being thrown. This is from the browser:

Failed to load resource: http://localhost:5601/api/saved_objects/index-pattern the server responded with a status of 429 (Too Many Requests)

Why is this happening? I switched off elasticsearch and kibana and back on but the error persists.

like image 970
bcsta Avatar asked Dec 19 '20 10:12

bcsta


People also ask

How do I change the index pattern in Kibana?

simply navigate to Management > Stack Management > Kibana > Index Pattern > Click on the appropriate index pattern > Obtain the ID from URL. Once done, click Save visualization Object to update the Kibana visualization index pattern ID. You visualization should now be restored.

What's an .kibana index?

Kibana requires an index pattern to access the Elasticsearch data that you want to explore. An index pattern selects the data to use and allows you to define properties of the fields. An index pattern can point to one or more indices, data stream, or index aliases.


2 Answers

In our case we had almost no space left on the disks.

Our solution was to go into Stack Management > Index Management > Select a few indices we no longer needed (eg. old or big), and select manage index, and delete. Afterwards the ES cluster recovered.

like image 24
vladimirror Avatar answered Oct 17 '22 11:10

vladimirror


The problem here is that kibana does not really give a good error response. My issue was that elasticsearch was not allowing any changes to be made because it determined that I was running low on storage.

This answer solved the above issue.

like image 53
bcsta Avatar answered Oct 17 '22 13:10

bcsta