Can't ingest data


I am testing druid in docker-compose locally and for now Im following the guide from but i cant ingest data.

I’ve downloaded the wikipedia templates from without making any changes to template

When i try to ingest data with:
curl -X ‘POST’ -H ‘Content-Type:application/json’ -d @example/wikipedia-index.json http://localhost:8001/druid/indexer/v1/task


I am getting this error:

Warning: Couldn’t read data from file “example/wikiticker-index.json”, this makes
Warning: an empty POST.

Error 500


It looks like can’t find the JSON file

And when I try to ingest without @example

curl -X ‘POST’ -H ‘Content-Type:application/json’ -d wikipedia-index.json http://localhost:8001/druid/indexer/v1/task


I get different error:

Problem accessing /druid/indexer/v1/task. Reason:

    javax.servlet.ServletException: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'wikiticker': was expecting ('true', 'false' or 'null')
 at [Source: HttpInputOverHTTP@3310bd55[c=21,q=1,[0]=EOF,s=STREAM]; line: 1, column: 12]

Powered by Jetty:// 9.3.19.v20170502


If you’re following and the path should be “examples/wikipedia-index.json”, not “example”.