[docs] fixed `chain` input example

Original commit: elastic/x-pack-elasticsearch@6ac4ac4ac9
This commit is contained in:
uboness 2015-11-22 21:21:54 +01:00
parent 11e17752a9
commit b752b79a29
1 changed files with 12 additions and 8 deletions

View File

@ -17,9 +17,12 @@ For example, the following chain input loads data from an HTTP server using the
"input" : { "input" : {
"chain" : { "chain" : {
"inputs" : [ <1> "inputs" : [ <1>
{
"first" : { "first" : {
"simple" : { "path" : "/_search" } "simple" : { "path" : "/_search" }
}
}, },
{
"second" : { "second" : {
"http" : { "http" : {
"request" : { "request" : {
@ -29,6 +32,7 @@ For example, the following chain input loads data from an HTTP server using the
} }
} }
} }
}
] ]
} }
} }