mmk1995
(MatthewMak)
February 5, 2021, 9:58am
1
Hi,
I am trying to use URL to query Elasticsearch using the below URL:
https://xxxxxx.xxxx.xxx:9200/xxx-xxxxxx/_search/scroll?q="+scroll:10m +scroll_id:DnF1ZXJ5VGhlbkZldGNoBgAAAAAAALjLFjQ1X0c5Q0dkVDB1X215YUFOQ0NIWmcAAAAAAAInShZrRXRzZ0dkZlN0QzhaQUl0Q2VaVXFRAAAAAAAAUUUWUmRyN3pBTXpSWHVHelEtb1hMcFJodwAAAAAAALjKFjQ1X0c5Q0dkVDB1X215YUFOQ0NIWmcAAAAAAAEQUhZNQXZFVWFUWVQxdVg4QXIzTVdOeEhBAAAAAAACDg4WWk5MQTlyWlBUMEdSRzBpcmI4c1NDdw=="
But it returned 400 Bad request, what is the problem?
Thanks.
warkolm
(Mark Walkom)
February 8, 2021, 4:39am
3
Can you post the entire response that you are getting.
warkolm
(Mark Walkom)
February 8, 2021, 6:26am
5
Where is this image from exactly?
mmk1995
(MatthewMak)
February 9, 2021, 3:10am
7
can you help please?
Is my URL not correct?
warkolm
(Mark Walkom)
February 9, 2021, 3:12am
8
I'm not familiar with this integration sorry.
dadoonet
(David Pilato)
February 9, 2021, 6:16am
9
I have a doubt with this part of the URL:
q="
Could you remove it to see if it fixes the problem?
mmk1995
(MatthewMak)
February 9, 2021, 6:58am
10
Same error
Or would you please provide me a correct URL format?
Thanks.
dadoonet
(David Pilato)
February 9, 2021, 9:05am
11
According to the documentation, you should use the body instead of the url to pass the scroll_id parameter as it is deprecated and will be removed in the next major version.
But here I think there are other problems.
Url parameters should be
?scroll=10m&scroll_id=XXXXX
mmk1995
(MatthewMak)
February 9, 2021, 9:32am
12
I have found a way to draw data in Power BI,
I wonder why using url parameter is depreciated and will be removed?
system
(system)
Closed
March 9, 2021, 9:32am
13
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.