Elasticsearch update api from custom made Beat

I'm trying to use the ES update API from my custom made Beat.

Here is what I'm trying to reproduce in my Beat implementation:

POST test/_doc/1/_update
   "doc" : {
        "name" : "new_name"

I saw there is a client structure created in the beat source code, with an eventType: "_doc" attribute. But I couldn't manage to modify the client to use the update API.

I'm not sure whether it's possible or not. Does someone has the answer ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.