This processor is designed to take any valid JSON and index it into Elasticsearch 5.x or newer. Unlike the record-aware alternative, it only does index operations, not updates, upserts or deletes.

The ID for each document can be set in one of three ways:

Example document:

        {
            "index": "messages",
            "type": "message",
            "message": "Hello, world",
            "from": "john.smith"
        }
    

The following JsonPath operations will extract the index and type: