bseltz-cohesity / scripts

Cohesity REST API examples in PowerShell and Python
Apache License 2.0
102 stars 41 forks source link

oracleLogDeletionDaysReport #181

Closed isheehan-q closed 1 week ago

isheehan-q commented 1 week ago

Hi Brian,

when running the oracleLogDeletionDaysReport.py script an error is encountered, Connected! Traceback (most recent call last): File "./oracleLogDeletionDaysReport.py", line 76, in for instance in thisSource['applicationNodes']: KeyError: 'applicationNodes'

Any suggestions on how to fix/avoid the error?,

thanks

bseltz-cohesity commented 1 week ago

Hi you appear to be using an old version of the script. Please find the updated version here: https://github.com/cohesity/community-automation-samples/tree/main/oracle/python/oracleLogDeletionDaysReport

isheehan-q commented 1 week ago

Great, thanks Brian , working now, really useful script, Ivan