i have have been going through the docs but cannot get through the basic step that indexes the sample file from this page: https://www.elastic.co/guide/en/elasticsearch/reference/current/_exploring_your_data.html
I get the error below. Im not sure if the file is not in the correct directory or if the content cannot be read (appears to be the issue). Any assistance would be appreciated. Thanks
curl -XPOST 'localhost:9200/bank/account/_bulk?pretty' --data-binary "@accounts.json"
Warning: Couldn't read data from file "accounts.json", this makes an empty
Warning: POST.
{
"error" : {
"root_cause" : [ {
"type" : "parse_exception",
"reason" : "Failed to derive xcontent"
} ],
"type" : "parse_exception",
"reason" : "Failed to derive xcontent"
},
"status" : 400
}