nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Buntu Dev <buntu...@gmail.com>
Subject QueryElasticSearch processor usage
Date Mon, 01 May 2017 22:25:55 GMT
Are there any sample templates to see how QueryElasticSearch processor can
be configured to run a query such as this:

Server: http://es-host.com:9200
POST some-index/_search
{
  "fields": [
    "some_field"
  ],
  "size": 10,
  "query": {
    "exists":{
      "field":"some_field"
    }
  }
}

When configuring the processor this way, I run into "Elasticsearch returned
code 400 with message Bad Request" error:


‚Äč
Whats the right way to configure the processor?


Thanks!

Mime
View raw message