Kibana bulk index from a Json file

I'm trying to index a json file using the bulk API. From the terminal I can easily do:
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/_bulk?pretty' --data-binary @logs.json

What's the syntax to do the same using kibana Console? I tried:
POST /_bulk?pretty --data-binary @[absolute path to logs.json]

But it gave me a null pointer exception.

I'm really new to ES and Kibana, so any help would be appreciated.

You cannot do that in Console as you cannot pull in files in that manner unfortunately.

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