简体   繁体   中英

how to retrieve json file data in elastic search using sense plugin

I am new to elastic search. I am using sense plugin. While i am trying to retrieve data from JSON file using command

POST/bank/accounts/_bulk?pretty @accounts.json

and the output in sense console is giving like:

Request failed to get to the server (status code: 0):

I want to know which command should I type in Sense to retrieve data from JSON file.

我得到了输出。我刚刚将全部内容复制到json文件中并将其粘贴到Sense Editor中n得到了输出谢谢

no need to paste the content to sense editor. just get postman from https://www.getpostman.com/docs/environments give it the file location with /bank/accounts/_bulk?pretty command. 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM