Compare condition use dot in JSON key string

alerting

(Chenryn) #1

Elasticsearch 2.x forbidden us using dot in JSON key strings. But the compare condition of watcher configuration always use dot, like ctx.**, ctx.**.**.

It make us a confusion.


(Alexander Reelsen) #2

Hey,

Elasticsearch 2.x forbids to use field names that contain dots, but it still requires you to use the dot-notation to refer to inner fields. See https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_mapping_changes.html#_field_names_may_not_contain_dots

--Alex


(system) #3