How to solve this question "Determining the type of content for vacation requests is an outdated" elastisearch problem?

I get a lot of logs on my Elasticsearch server, and this log takes up too much disk space. every 2-3 hours the server receives about 4 GB of logs.

Magazines look like

[2017-05-08T03: 08: 14,616] [WARN] [oedrRestController] Content type definition for vacation requests is out of date. Specify the content type using the [Content-Type] header

+4
source share
2 answers

Updating my clients, in my case elasticsearch-model and elasticsearch-rails solved the problem for me.

+1
source

, ,

-H 'Content-Type: application/json'

+4

Source: https://habr.com/ru/post/1676712/


All Articles