Multiple Parameter Queries to System Logs using Golang SDK

I have been trying to using the Golang SDK to write some scripts that require querying the System Logs. While I have found many Log object structs in the Github repo, I have not found anything that queries that log API endpoint directly. Is this something that has not been developed yet, or am I missing some functionality? Mostly I need to be able to see if a user has been added to a specific group in the past 30 days. I would appreciate any suggestions or information.

Hi @ebristol

You can use GetLogs() to retrieve the resources from /api/v1/logs endpoint.

Thank you so much. I never would have thought to look for a logs function in a file for application operations.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.