<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y0000ALqRTOSQ3Okta Identity EngineWorkflowsAnswered2021-01-28T22:07:55.000Z2021-01-27T16:52:31.000Z2021-01-28T22:07:55.000Z

RichardW.07861 (Lucidworks) asked a question.

Okta Workflows - Scheduled job to export Okta logs

I'm looking at finding a way to export Okta logs for auditing purposes since logs are only retained for 3 months. Using workflows I'm able to use the "Custom API Action" to query for Okta logs and this would present it in a JSON format. Is there a native way in Workflows to convert the JSON format to a table/CSV that I can then get into Google Drive/Sheets?


  • User15807855251883082608 (Tier 2 - US East)

    Hi @RichardW.07861 (Lucidworks)​ ,

     

    There is not a single function card that would convert JSON to a Table or CSV however, the outcome you are looking for is possible through a series of card/flows. This would involve retrieving the data from the Okta SysLogs using the Custom API Action Card and then using For Each function cards to pull the list of objects and then add them to a table. This would also most likely involve various child flows to pull the data for each column.

     

    I recommend opening a Support Case for further assistance on getting this flow built properly. Thanks!

    Expand Post
This question is closed.
Loading
Okta Workflows - Scheduled job to export Okta logs