OpenSearch/elasticsearch/x-pack/watcher
Alexander Reelsen 6d0a2f642a Watcher: HttpResponse serialization may not contain dots in field names
The HTTP response toXContent() method contains the http response headers, which
are used as field names in Elasticsearch in the watch history.
These can contain dots, like `es.index` being returned when Elasticsearch
encounters an exception - which results in an index error.

This patch changes the dots to an underscore when calling toXContent()

Closes elastic/elasticsearch#1803

Original commit: elastic/x-pack-elasticsearch@e4070f8b70
2016-04-13 15:07:22 +02:00
..
bin/x-pack Remove CONF_FILE from scripts 2016-03-30 11:17:15 +02:00
dev-tools Moved shield, watcher, marvel and license plugin into common x-pack 2015-12-03 16:24:40 +01:00
src Watcher: HttpResponse serialization may not contain dots in field names 2016-04-13 15:07:22 +02:00
LICENSE.txt Moved shield, watcher, marvel and license plugin into common x-pack 2015-12-03 16:24:40 +01:00
NOTICE.txt Moved shield, watcher, marvel and license plugin into common x-pack 2015-12-03 16:24:40 +01:00
README.asciidoc Moved shield, watcher, marvel and license plugin into common x-pack 2015-12-03 16:24:40 +01:00

README.asciidoc

= Elasticsearch Watcher Plugin

This plugins adds conditioned scheduled tasks features to elasticsearch - such a task is called a `Watch`.

You can build the plugin with `mvn package`.

The documentation is put in the `docs/` directory.