Is there an API for Hubitat logs that emits events in a form meant for machine consumption vs display?
I see that I can request past logs from /logs/past/json
but the result looks like ["2023-01-17 13:24:08.369\tINFO \tapp|354|L1 hall motion dim <span style='color:red'>Restricted</span>|evt: 1F main hall motion sensor motion active --> restricted"
whereas I’m looking for data with a schema or in some kind of structure that doesn’t require parsing. An example might be:
{"timestamp": "2023-01-17 13:24:08.369", "logLevel": "INFO", "source": "application", "sourceId": "354", "sourceDescription": "L1 hall motion dim <span style='color:red'>Restricted</span>", "eventDescription: "1F main hall motion sensor motion active --> restricted"}
Thanks!