Search code examples
apidownloadsumologic

How to download more than 10000 data from sumologic


I am new to sumologic. I am trying to use API to download more than 10000 data.

I already generate access id and keys like this:

enter image description here

But when I try to open the url: https://api.au.sumologic.com/api/v1/search/jobs, I have the following erro info:

enter image description here

I am following the introduction from https://help.sumologic.com/APIs/Search-Job-API/About-the-Search-Job-API. I do now know where I did something wrong. Maybe because I am in the company and there is a firewall?


Solution

  • That url https://api.au.sumologic.com/api.v1/search/jobs should be sent a query via a post as directed in the documentation you included. This should return an ID via a json response which if you append it to the end of that url should contain the response for the query for 5 minutes...this can be extended for up to 8 hours by continued polling per the documentation.