nautobot-app-ssot icon indicating copy to clipboard operation
nautobot-app-ssot copied to clipboard

Log Diff Summary as JSON

Open nlgotz opened this issue 2 months ago • 1 comments

Environment

  • Nautobot version: 2.2
  • nautobot-ssot version: 2.6.1

Proposed Functionality

Currently the diff calculation output outputs it as a Python dictionary. I believe this should be output as JSON for external tooling.

My primary use case is for logging purposes. In particular, Loki and LogQL have the ability to natively parse JSON ({...} | json) while it doesn't easily have the ability to parse a Python dictionary.

Use Case

I'd like to be able to parse my logs to find the diff calculation and apply some JSON to convert to proper labels.

nlgotz avatar May 04 '24 04:05 nlgotz