OpenSearch/elasticsearch/x-pack/watcher
Alexander Reelsen 75ab4f9470 Watcher: Allow for external email attachments
This feature is mainly done for the integration with the commercial reporting, but can be used
for anything else as well.

This adds a `attachments` to the email configuration, which can be used like this

```
"attachments" : {
  "some_id" : {
    "http" : {
      "request" : {
        "url" : "http://example.org/foo.pdf"
      }
    }
  },
  "other_id" : {
    "data" : {
      "format" : "json"
    }
  }
}
```

The main reason to pick this format is extensibility. If we would like to support another
attachment type, like an file reader, we could do so easily from an API point of view.

Closes elastic/elasticsearch#870

Original commit: elastic/x-pack-elasticsearch@66d14be965
2016-01-07 10:49:13 +01:00
..
bin/watcher fix integration tests after reorganization 2015-12-03 16:24:40 +01:00
dev-tools Moved shield, watcher, marvel and license plugin into common x-pack 2015-12-03 16:24:40 +01:00
src Watcher: Allow for external email attachments 2016-01-07 10:49:13 +01: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.