ThoughtSpot Community
Hi everyone
How do we "fetch logs" (SECURITY_AUDIT) older than 24 hours?
Using GraphQL's "FetchLogs" or REST API v2.0's "fetch", it seems we always get the same data, which only covers the last 24 hours.
We want to see the logs from one week ago. The docs state the following:
If we "set a custom duration in EPOCH time" and add the parameters for startEpochTimeInMillis and endEpochTimeInMillis and ensure those parameters covered a time range of less than 24 hours to get a single day from a week ago, we still get the same results (i.e. the last 24 hours), as if we did not supply parameters.
Do we need some configuration switched flipped on in order to retrieve logs older than 24 hours?
https://community.thoughtspot.com/s/question/0D5Uk00000E8bRlKAJ/how-do-we-fetch-logs-securityaudit-older-than-24-hours
Using GraphQL's "FetchLogs" or REST API v2.0's "fetch", it seems we always get the same data, which only covers the last 24 hours.
We want to see the logs from one week ago. The docs state the following:
By default, the API retrieves logs for the last 24 hours. You can set a custom duration in EPOCH time. Make sure the log duration specified in your API request doesn’t exceed 24 hours. If you must fetch logs for a longer time range, modify the duration and make multiple sequential API requests.If we "set a custom duration in EPOCH time" and add the parameters for startEpochTimeInMillis and endEpochTimeInMillis and ensure those parameters covered a time range of less than 24 hours to get a single day from a week ago, we still get the same results (i.e. the last 24 hours), as if we did not supply parameters.
Do we need some configuration switched flipped on in order to retrieve logs older than 24 hours?
https://community.thoughtspot.com/s/question/0D5Uk00000E8bRlKAJ/how-do-we-fetch-logs-securityaudit-older-than-24-hours
Find useful content, exchange ideas and best practices, and collaborate with other customers, partners, and ThoughtSpot employees.
