iukea
(jordan)
April 28, 2019, 3:58pm
#1
Hello, I am trying to use the elastic Search API to just get a quick JSON object out of ElasticSearch.
using the VScode extension listed below
https://marketplace.visualstudio.com/items?itemName=ria.elastic
using query
GET _search
{
"query": {
"match_all": {}
}
}
and getting the following response back
<h1>Critical error while processing request: /_search/_search</h1>
I feel like I am missing something simple here, but I am a noob. Any words of wisdom would be greatly appreciated.
iukea
(jordan)
April 28, 2019, 4:46pm
#2
I also get the following error
Expected a JSON object, array or literal.
dadoonet
(David Pilato)
April 28, 2019, 4:58pm
#3
Not sure what this tool is or works.
What about using Kibana dev console instead?
iukea
(jordan)
April 28, 2019, 7:18pm
#4
Wish i could but the json file i want out of ElasticSeach will be quite large and i want to push it to an S3 bucket.
iukea
(jordan)
April 28, 2019, 10:27pm
#6
Making a Threat Intelligence feed for people to use to prevent Cyber Attacks.
dadoonet
(David Pilato)
April 28, 2019, 11:59pm
#7
So you want to serve data using elasticsearch or you want to extract all data to somewhere else?
iukea
(jordan)
April 30, 2019, 12:36am
#9
extra data based on a search.
So doing an API call to elasticsearch and getting back the JSON values
dadoonet
(David Pilato)
April 30, 2019, 2:07am
#10
Use the scroll API. It has been designed to extract a huge quantity of records.
system
(system)
closed
June 4, 2019, 1:53am
#12
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.