10 Jan 2024 12:34 PM - last edited on 11 Jan 2024 08:23 AM by MaciejNeumann
Hello dear community, I have a question. I need to export results from a log query that has more than 1000 records—there are approximately 30,000 records in total. Exporting every 1000 records individually is not feasible. Has anyone faced this issue, and how did you resolve it?
Solved! Go to Solution.
10 Jan 2024 01:50 PM
Hi @Ellery
I think you may increase this limit to 10 000 with this "samplingratio" :
fetch logs, samplingRatio:10000
Test it with 30 000 but this might not work.
This information can be found in the documentation : https://docs.dynatrace.com/docs/shortlink/dql-best-practices#utilize-available-sampling-options
10 Jan 2024 02:05 PM
Unfortunately, it didn't work for me, as adding the limits doesn't display any results. 😞
10 Jan 2024 02:54 PM
My bad 😅
Try to add this command in last line of your query :
| limit 10000