2015-07-13 06:23:07 -04:00
|
|
|
[[input]]
|
|
|
|
=== Input
|
|
|
|
|
|
|
|
A watch _input_ loads data into a watch's execution context as the initial payload.
|
2015-10-30 04:55:00 -04:00
|
|
|
Watcher supports four input types: <<input-simple, `simple`>> , <<input-search, `search`>>,
|
|
|
|
<<input-http, `http`>> and <<input-chain, `chain`>>
|
2015-07-13 06:23:07 -04:00
|
|
|
|
|
|
|
NOTE: If you don't define an input for a watch, an empty payload is loaded into the
|
|
|
|
execution context.
|
|
|
|
|
|
|
|
include::input/simple.asciidoc[]
|
|
|
|
|
|
|
|
include::input/search.asciidoc[]
|
|
|
|
|
2015-10-30 04:55:00 -04:00
|
|
|
include::input/http.asciidoc[]
|
|
|
|
|
|
|
|
include::input/chain.asciidoc[]
|
|
|
|
|