Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Log-queries to api #611

Closed
rynmccrmck opened this issue Oct 19, 2020 · 5 comments
Closed

Add Log-queries to api #611

rynmccrmck opened this issue Oct 19, 2020 · 5 comments
Labels
kind/feature-request Feature request related issue

Comments

@rynmccrmck
Copy link

Note:
Currently trying to extract large number of logs that match a given query. We need to iterate over the 1000 limit imposed and it seems as though this is the only endpoint available.

I can take a stab at implementing unless there are concerns.

Is your feature request related to a problem? Please describe.
Need to extract logs over 1k limit and paginate over nextLogId. No ability to do this via events.

Describe the solution you'd like
Implement LogQuery class to return list of logs: https://docs.datadoghq.com/api/v1/logs/#get-a-list-of-logs

Describe alternatives you've considered
Currently using requests to handle this.

@rynmccrmck rynmccrmck added the kind/feature-request Feature request related issue label Oct 19, 2020
@rynmccrmck rynmccrmck changed the title AddlLog-queries to api Add Log-queries to api Oct 19, 2020
@therve
Copy link
Contributor

therve commented Oct 19, 2020

Hello,

Support for new APIs is implemented in the https://github.com/DataDog/datadog-api-client-python repository. I believe it already contains what you need. We haven't made the first release, but it should happen soon. Could you check if that works for you? Thanks.

@rynmccrmck
Copy link
Author

rynmccrmck commented Oct 19, 2020

Thanks @therve! Confirmed this solves our issue.

@rynmccrmck
Copy link
Author

Any idea on estimated time to release?

@rynmccrmck
Copy link
Author

Closing this as it is implemented in https://github.com/DataDog/datadog-api-client-python

@therve
Copy link
Contributor

therve commented Oct 19, 2020

Thanks for checking!

Any idea on estimated time to release?

I don't want to set expectations, but I hope we'll cut a first beta in the next few weeks if nothing major is found. If this works for you this is a good data point :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature-request Feature request related issue
Projects
None yet
Development

No branches or pull requests

2 participants