Does minus value in 'from' field make cluster status red?


(Oğuzhan Demir) #1

Hi, I have a problem with my cluster and trying to figure it out why. I found this exception in logs. I know minus value in this field is wrong but does it make cluster status red?

Elastic version: 1.7.3

org.elasticsearch.search.SearchParseException: [{$myindex}][0]: from[-1],size[-1]: Parse Failure [from is set to [-2] and is expected to be higher or equal to 0]

Thanks.


(Xavier Facq) #2

Hi,

This this a SearchParseException, I don't think this is the reason that makes your cluster red.
You don't have any other logs ? if you search for RED in the ES logs ?

bye,
Xavier


(Oğuzhan Demir) #3

Well, I couldnt find anything like this in my logs. Should I enable debug or info logs?


(Xavier Facq) #4

In the server logs you may find some traces like :

Cluster health status changed from [YELLOW] to [GREEN]

With, RED, YELLOW or GREEN

In /var/log/elasticsearch/*.log


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.