Hello,
I do the upgrade to 3.2, but… I did not do the curl manipulation “BEFORE” restart, so it’s my fault!
And of course, I have a problem ^^
The loading never finishes:
however, my dashboard looks ok:
But not visualisable because loading don’t want finish:
So now, I try to do the Curl:
[root@elasticsearch ~]# curl -s localhost:9200/_cat/aliases/*_deflector?h=index
gl-events_3
graylog_1
soc_0
gl-system-events_3
For the 3 fist, it’s ok:
curl -s -X PUT --data '{"properties":{"gl2_accounted_message_size":{"type": "long"}}}' -H Content-Type:application/json localhost:9200/gl-events_3/_mapping/message
curl -s -X PUT --data '{"properties":{"gl2_accounted_message_size":{"type": "long"}}}' -H Content-Type:application/json localhost:9200/gl-system-events_3/_mapping/message
curl -s -X PUT --data '{"properties":{"gl2_accounted_message_size":{"type": "long"}}}' -H Content-Type:application/json localhost:9200/soc_0/_mapping/message
But for the last “graylog_1”:
[root@elasticsearch ~]# curl -s -X PUT --data '{"properties":{"gl2_accounted_message_size":{"type": "long"}}}' -H Content-Type:application/json localhost:9200/graylog_1/_mapping/message
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"mapper [gl2_accounted_message_size] of different type, current_type [keyword], merged_type [long]"}],"type":"illegal_argument_exception","reason":"mapper [gl2_accounted_message_size] of different type, current_type [keyword], merged_type [long]"},"status":400}
I try this to:
[root@elasticsearch ~]# for index in `curl -s localhost:9200/_cat/aliases/*_deflector?h=index`; do curl -s -X PUT --data '{"properties":{"gl2_accounted_message_size":{"type": "long"}}}' -H Content-Type:application/json localhost:9200/$index/_mapping/message ; done
{"acknowledged":true}{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"mapper [gl2_accounted_message_size] of different type, current_type [keyword], merged_type [long]"}],"type":"illegal_argument_exception","reason":"mapper [gl2_accounted_message_size] of different type, current_type [keyword], merged_type [long]"},"status":400}{"acknowledged":true}{"acknowledged":true}
This is my Index:
The data is not very important if I can’t fix it, I will drop Index, but If it’s recoverable, that can be good too.
Thank you.