What does it mean?
What kind of console is that? Are you speaking about Kibana console?
If so, just copy and paste curl -H "Content-Type: application/json" -XPOST 'localhost:9200/bank/account/_bulk?pretty&refresh' in Kibana console. It will be automatically transformed to something like:
POST /bank/account/_bulk?pretty&refresh
Then just open the content of the accounts.json file in notepad or whatever text editor. Copy its content just after the POST /bank/account/_bulk?pretty&refresh line.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.