This post is part of a blog series.
Oracle Data Guard 26ai adds JSON output support to DGMGRL.
Previously, you needed Linux tools like sed, awk, or grep to extract information from DGMGRL command-line output.
Now, you can display DGMGRL results as JSON, making them easy to parse with standard libraries or tools such as jq.
While you can programmatically interact with the broker using PL/SQL or REST, JSON output modernizes existing scripts and simplifies automation.

Enable JSON output by running DGMGRL in batch mode with the -json argument, or toggle it on and off in interactive mode with set json on and set json off.
The following two tabs change content below.
Latest posts by Ludovico (see all)
- Data Guard 26ai – #14: JSON output for DGMGRL - February 17, 2026
- Data Guard 26ai – #13: Show / edit all members at once - February 13, 2026
- Data Guard 26ai – #12: ORDS support for Data Guard - February 12, 2026