{"id":48080,"date":"2026-10-26T08:52:00","date_gmt":"2026-10-26T07:52:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=48080"},"modified":"2026-10-23T13:55:21","modified_gmt":"2026-10-23T11:55:21","slug":"retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/","title":{"rendered":"Retrieving GoldenGate logs, reports, and diagnostics with the REST API"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I often need to retrieve report files or logs from GoldenGate deployments, and I wanted to find ways of automating this. Hence this blog, about retrieving all available logs with GoldenGate REST API.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I previously wrote about the <a href=\"https:\/\/www.dbi-services.com\/blog\/goldengate-26ai-logs-explained\/\" target=\"_blank\" rel=\"noopener noreferrer\">GoldenGate log files<\/a>. Some of them (<code class=\"nowrap\">extract.log<\/code>, <code class=\"nowrap\">replicat.log<\/code> and others) are in fact just filters of other logs (<code class=\"nowrap\">ggserr.log<\/code> or <code class=\"nowrap\">restapi.log<\/code>). These reconstructed logs do not have a REST API endpoint. For the others, let\u2019s see how to retrieve them, using the <a href=\"https:\/\/juliendelattre.com\/tools\/ogg-python-client\/\" target=\"_blank\" rel=\"noopener noreferrer\">GoldenGate Python client I released earlier<\/a>.<\/p>\n\n\n\n<h2 id=\"authenticating-to-the-rest-api\" class=\"wp-block-heading\">Authenticating to the REST API<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With <code class=\"nowrap\">oggrestapi.py<\/code>, authentication is handled once at client creation. When using <code class=\"nowrap\">auto_discovery<\/code>, you won\u2019t have to bother thinking about the port.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from oggrestapi import OGGRestAPI\n\nogg_client = OGGRestAPI(\n    url=\"https:\/\/vmogg:7809\",\n    username=\"ogg\",\n    deployment=\"ogg_test_01\",\n    auto_discovery=True,\n)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">With <code class=\"nowrap\">auto_discovery<\/code>, the client picks the right service port for each call. If you make direct <code class=\"nowrap\">curl<\/code>\/<code class=\"nowrap\">requests<\/code> calls instead, you have to choose the service yourself:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Service Manager<\/strong> for <code class=\"nowrap\">ServiceManager.log<\/code> and the deployment service logs (<code class=\"nowrap\">adminsrvr.log<\/code>, <code class=\"nowrap\">distsrvr.log<\/code>, etc.)<\/li>\n\n\n\n<li><strong>Administration Service<\/strong> for report files, diagnostic files, <code class=\"nowrap\">ggserr.log<\/code>. You can also retrieve <code class=\"nowrap\">adminsrvr.log<\/code> from here.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The list of log files can be retrieved through <code>GET \/services\/v2\/logs<\/code>. Each individual log is obtained through <code>GET \/services\/v2\/logs\/{log}<\/code>, on the port of the service you connect to. <code class=\"nowrap\">default<\/code> is the service log: against <code class=\"nowrap\">adminsrvr<\/code> (port <code class=\"nowrap\">7810<\/code>), <code class=\"nowrap\">default<\/code> is <code class=\"nowrap\">adminsrvr.log<\/code>. To retrieve the content of the file, you need to send the <code>Accept: text\/plain<\/code> header, or use the <code class=\"nowrap\">content<\/code> toggle in <code class=\"nowrap\">oggrestapi.py<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/services\/v2\/logs - List all logs\n&gt;&gt;&gt; ogg_client.list_logs(ogg_service=\"adminsrvr\")\n&#091;{'name': 'default'}, {'name': 'restapi'}, {'name': 'stdout'}, {'name': 'debug'}, {'name': 'events'}]\n\n# \/services\/v2\/logs\/default - Get adminsrvr.log metadata\n&gt;&gt;&gt; ogg_client.get_log(log=\"default\", ogg_service=\"adminsrvr\")\n{'$schema': 'ogg:log', 'enabled': True, 'dataExists': True}\n\n# \/services\/v2\/logs\/default (Accept: text\/plain) - Get adminsrvr.log content\n&gt;&gt;&gt; ogg_client.get_log(log=\"default\", ogg_service=\"adminsrvr\", content=True)\n\"...\\n2026-09-26T17:21:30.612+0000 INFO | Registering containers &lt;nul&gt; (Thread 7)\\n2026-09-26T17:21:31.820+0000 INFO | Configuration file 'EXT.prm' changed (Thread 7)\\n2026-09-26T17:21:31.881+0000 INFO | Starting extract 'EXT' (EXTRACT:EXT)\\n2026-09-26T17:21:31.915+0000 INFO | Task 'EXTRACT:EXT' started with process id 39143 (EXTRACT:EXT)\\n\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can also use the <code class=\"nowrap\">get_service_log<\/code> directly, when using a reverse proxy or connecting to the Service Manager:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/services\/v2\/deployments\/ogg_test_01\/services\/distsrvr\/logs\/default (Accept: text\/plain) - Service Manager endpoint\n# \/services\/ServiceManager\/v2\/deployments\/ogg_test_01\/services\/distsrvr\/logs\/default (Accept: text\/plain) - reverse proxy endpoint\n&gt;&gt;&gt; ogg_client.get_service_log(deployment=\"ogg_test_01\", service=\"distsrvr\", content=True)\n\"...\\n2026-09-26T17:33:46.183+0000 INFO | remove path Command Received for path PATHX (PATHX)\\n2026-09-26T17:33:46.183+0000 WARN | Path stopped. (PATHX)\\n\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The <code class=\"nowrap\">debug<\/code> log is only relevant when you enable debug logging on a specific service. <code class=\"nowrap\">events<\/code> is the critical events log (same content as <code class=\"nowrap\">ER-events.log<\/code>), reachable directly as <code>GET \/services\/v2\/logs\/events<\/code> too, wrapped as <code class=\"nowrap\">list_log_events()<\/code> :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/services\/v2\/logs\/events (Accept: text\/plain)\n&gt;&gt;&gt; ogg_client.list_log_events(content=True)\n\"...Oracle GoldenGate Capture for Oracle, EXT.prm:  Checkpoint marked as from graceful shutdown, but records found after checkpoint in trail pdb1\/e1.  Expected EOF Seqno 0, RBA 0.  Found Seqno 7, RBA 8884.\\n\"<\/code><\/pre>\n\n\n\n<h2 id=\"service-manager-logs\" class=\"wp-block-heading\">Service Manager logs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">From the Service Manager (port <code class=\"nowrap\">7809<\/code> in my lab), <code class=\"nowrap\">default<\/code> is the <code class=\"nowrap\">ServiceManager.log<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/services\/v2\/logs\/default (Accept: text\/plain)\n&gt;&gt;&gt; ogg_client.get_service_manager_log()\n\"...2026-09-26T15:46:20.138+0000 INFO | CSRFTokenProtection: ENABLED.\\n                                    Cross-Site Request Forgery checks using CSRF-Tokens will be performed. (Thread 12)\\n\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code class=\"nowrap\">get_service_manager_log()<\/code> defaults to <code class=\"nowrap\">content=True<\/code>, since fetching the metadata for this one specific log is not relevant (this log is always enabled).<\/p>\n\n\n\n<h2 id=\"ggserrlog\" class=\"wp-block-heading\"><code class=\"nowrap\">ggserr.log<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><code class=\"nowrap\">ggserr.log<\/code>, the deployment-wide message log, is not one of the names any <code class=\"nowrap\">\/logs<\/code> collection returns. It is provided by a separate Administration Service endpoint at <code class=\"nowrap\">\/services\/v2\/messages<\/code>. A <code class=\"nowrap\">messages<\/code> key returns the log lines.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/services\/v2\/messages\n&gt;&gt;&gt; lines = ogg_client.list_messages()&#091;\"messages\"]\n&gt;&gt;&gt; len(lines)\n53035<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once you find an <code class=\"nowrap\">OGG-<\/code> message code in these lines, another endpoint (<code>GET \/services\/v2\/oggerr\/{message}<\/code>) returns its explanation:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt;&gt; ogg_client.get_ogg_error_info(message=\"OGG-30375\", ogg_service=\"adminsrvr\")\n{'$schema': 'ogg:messageExplanation', 'severity': 'ERROR', 'title': 'There was a problem updating the Administration Service resources.', 'cause': 'An internal error occurred when trying to update the service resources. Possible causes include a corrupted or incorrect resources repository.', 'action': 'Check the error log for other messages adjacent to this one that might help you resolve the problem. If you cannot resolve the problem, contact Oracle Support.'}<\/code><\/pre>\n\n\n\n<h2 id=\"adminclientlog-no-rest-endpoint\" class=\"wp-block-heading\"><code class=\"nowrap\">adminclient.log<\/code>: no REST endpoint<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><code class=\"nowrap\">adminclient.log<\/code> is the client\u2019s connection log. It is located in the client installation at <code class=\"nowrap\">$OGG_HOME\/var\/log\/adminclient.log<\/code>, not in any deployment, and no service can read it.<\/p>\n\n\n\n<h2 id=\"report-files-rpt\" class=\"wp-block-heading\">Report files (<code class=\"nowrap\">.rpt<\/code>)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The report files are accessible with <code class=\"nowrap\">list_extract_reports<\/code> and <code class=\"nowrap\">get_extract_report<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/services\/v2\/extracts\/EXT\/info\/reports\n&gt;&gt;&gt; ogg_client.list_extract_reports(extract=\"EXT\")\n&#091;{'name': 'EXT.dsc'}, {'name': 'EXT.rpt'}]\n\n# \/services\/v2\/extracts\/EXT\/info\/reports\/EXT.rpt\n&gt;&gt;&gt; ogg_client.get_extract_report(extract=\"EXT\", report=\"EXT.rpt\")\n{'lines': &#091;'', '***********************************************************************', '                 Oracle GoldenGate Capture for Oracle', ...], '$schema': 'ogg:report'}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code class=\"nowrap\">get_current_extract_report()<\/code> skips the <code class=\"nowrap\">.dsc<\/code>, resolves the current <code class=\"nowrap\">.rpt<\/code> for you, and returns <code class=\"nowrap\">None<\/code> if the extract has no report listed :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/services\/v2\/extracts\/EXT\/info\/reports\n# \/services\/v2\/extracts\/EXT\/info\/reports\/EXT.rpt\n&gt;&gt;&gt; ogg_client.get_current_extract_report(extract=\"EXT\")\n{'lines': &#091;'', '***********************************************************************', '                 Oracle GoldenGate Capture for Oracle', ...], '$schema': 'ogg:report'}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The same endpoints\/methods exist for replicats.<\/p>\n\n\n\n<h2 id=\"diagnostics\" class=\"wp-block-heading\">Diagnostics<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If a diagnostics collection exists, it is a resource named <code class=\"nowrap\">{process}.diagnostics<\/code>, listed under the same <code class=\"nowrap\">info<\/code> path as reports. It has a status while it runs, and the start and finish times once done :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/services\/v2\/extracts\/EXT\/info\/diagnostics - while running\n&gt;&gt;&gt; ogg_client.list_extract_diagnostics(extract=\"EXT\")\n&#091;{'name': 'EXT.diagnostics', 'status': 'running', 'started': '2026-09-26T17:23:21Z'}]\n\n# \/services\/v2\/extracts\/EXT\/info\/diagnostics - when done\n&gt;&gt;&gt; ogg_client.list_extract_diagnostics(extract=\"EXT\")\n&#091;{'name': 'EXT.diagnostics', 'status': 'stopped', 'started': '2026-09-26T17:23:21Z', 'finished': '2026-09-26T17:33:22Z'}]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">When several collections exist, the previous ones are kept as <code class=\"nowrap\">EXT.diagnostics.1<\/code> (and so on), and the newest keeps the base name. An extract that never had a collection returns an empty list. It returns a JSON, but unlike reports and configuration files, it is a structured document with one entry per sample:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/services\/v2\/extracts\/EXT\/info\/diagnostics\/EXT.diagnostics\n&gt;&gt;&gt; diag = ogg_client.get_extract_diagnostic(extract=\"EXT\", diagnostic=\"EXT.diagnostics\")\n&gt;&gt;&gt; list(diag)\n&#091;'$schema', 'started', 'finished', 'collectionFrequency', 'collectionDuration', 'status', 'samples']\n&gt;&gt;&gt; diag&#091;\"samples\"]&#091;0]&#091;\"processSamples\"]&#091;0]&#091;\"process\"]\n{'type': 'capture', 'state': {'status': 'waiting', 'detail': 'WAITING FOR TRANSACTION'}, 'bytesMined': 2264, 'bytesSent': 1524, 'messagesCaptured': 5, 'lag': 0}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The same pair exists for a replicat: <code class=\"nowrap\">list_replicat_diagnostics()<\/code> \/ <code class=\"nowrap\">get_replicat_diagnostic()<\/code>.<\/p>\n\n\n\n<h2 id=\"configuration-files\" class=\"wp-block-heading\">Configuration files<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><code class=\"nowrap\">GLOBALS<\/code>, parameter files, and the rest of what a deployment keeps under its config directory come from <code class=\"nowrap\">\/services\/v2\/config\/files<\/code>. That directory is <code class=\"nowrap\">$OGG_CONF_HOME<\/code>, or <code class=\"nowrap\">$OGG_DEPLOYMENT_HOME\/etc\/conf<\/code>. They return their content directly:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/services\/v2\/config\/files\n&gt;&gt;&gt; ogg_client.list_configuration_files(ogg_service=\"adminsrvr\")\n&#091;{'name': 'EXT1.prm'}, {'name': 'EXT2.prm'}, {'name': 'REP1.prm'}, ...]\n\n# \/services\/v2\/config\/files\/EXT1.prm\n&gt;&gt;&gt; ogg_client.get_configuration_file(file=\"EXT1.prm\", ogg_service=\"adminsrvr\")\n{'lines': &#091;'EXTRACT EXT1', 'USERIDALIAS pdb1 DOMAIN OracleGoldenGate', 'EXTTRAIL qa\/xa', 'TABLE APP_PDB1.TEST;'], '$schema': 'ogg:config'}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To summarize, for each file:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>File<\/th><th>API endpoint<\/th><th><code class=\"nowrap\">oggrestapi.<wbr>py<\/code> call<\/th><\/tr><\/thead><tbody><tr><td>Service logs (<code class=\"nowrap\">adminsrvr.<wbr>log<\/code>, etc.)<\/td><td><code class=\"nowrap\">\/services\/v2\/logs\/default<\/code> with <code>Accept: text\/plain<\/code><\/td><td><code>get_log('default', content=True)<\/code> \/ <code>get_service_log('default', content=True)<\/code><\/td><\/tr><tr><td>Service Manager logs (<code class=\"nowrap\">ServiceManager.<wbr>log<\/code>, <code class=\"nowrap\">restapi.<wbr>log<\/code>)<\/td><td>Same resource, against the Service Manager\u2019s port<\/td><td><code class=\"nowrap\">get_service_manager_log()<\/code><\/td><\/tr><tr><td><code class=\"nowrap\">ggserr.<wbr>log<\/code><\/td><td><code class=\"nowrap\">\/services\/v2\/messages<\/code><\/td><td><code class=\"nowrap\">list_messages()<\/code><\/td><\/tr><tr><td><code class=\"nowrap\">adminclient.<wbr>log<\/code><\/td><td>None, it is a client-side file under <code class=\"nowrap\">&lt;OGG_HOME&gt;\/var\/log<\/code><\/td><td>None (filesystem only)<\/td><\/tr><tr><td><code class=\"nowrap\">extract.<wbr>log<\/code> or <code class=\"nowrap\">replicat.<wbr>log<\/code><\/td><td>None, they are filtered views of <code class=\"nowrap\">ggserr.<wbr>log<\/code><\/td><td>None (filtered view)<\/td><\/tr><tr><td>Reports (<code class=\"nowrap\">.<wbr>rpt<\/code>)<\/td><td><code>\/services\/v2\/extracts\/{extract}\/info\/reports[\/{report}]<\/code> (or <code class=\"nowrap\">replicats<\/code>), content returned directly<\/td><td><code class=\"nowrap\">list_extract_reports()<\/code> \/ <code class=\"nowrap\">get_extract_report()<\/code>, or <code class=\"nowrap\">get_current_extract_report()<\/code> \/ <code class=\"nowrap\">get_current_replicat_report()<\/code><\/td><\/tr><tr><td>Diagnostics<\/td><td><code>\/services\/v2\/extracts\/{extract}\/info\/diagnostics[\/{diagnostic}]<\/code><\/td><td><code class=\"nowrap\">list_extract_diagnostics()<\/code> \/ <code class=\"nowrap\">get_extract_diagnostic()<\/code><\/td><\/tr><tr><td>Configuration files<\/td><td><code class=\"nowrap\">\/services\/v2\/config\/files\/{file}<\/code> (content returned directly)<\/td><td><code class=\"nowrap\">list_configuration_files()<\/code> \/ <code class=\"nowrap\">get_configuration_file()<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I often need to retrieve report files or logs from GoldenGate deployments, and I wanted to find ways of automating this. Hence this blog, about retrieving all available logs with GoldenGate REST API. I previously wrote about the GoldenGate log files. Some of them (extract.log, replicat.log and others) are in fact just filters of other [&hellip;]<\/p>\n","protected":false},"author":152,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229,3787,59],"tags":[515,979,4289,328,890,3730,1089,3198,1521,4255],"type_dbi":[4196,3801,4291,3740,3859,3881,3768,4290,3800,4261],"class_list":["post-48080","post","type-post","status-publish","format-standard","hentry","category-database-administration-monitoring","category-goldengate","category-oracle","tag-administration","tag-api","tag-ggserr-log-2","tag-goldengate","tag-log","tag-ogg","tag-python","tag-report","tag-rest","tag-rest-api-2","type-administration","type-api","type-ggserr-log-3","type-goldengate","type-log","type-ogg","type-python","type-report","type-rest","type-rest-api-3"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.7 (Yoast SEO v28.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Retrieving GoldenGate logs, reports, and diagnostics with the REST API - dbi Blog<\/title>\n<meta name=\"description\" content=\"Retrieving GoldenGate logs, reports, diagnostics and configuration files of a deployment, each mapped to a REST endpoint and oggrestapi.py.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Retrieving GoldenGate logs, reports, and diagnostics with the REST API\" \/>\n<meta property=\"og:description\" content=\"Retrieving GoldenGate logs, reports, diagnostics and configuration files of a deployment, each mapped to a REST endpoint and oggrestapi.py.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-26T07:52:00+00:00\" \/>\n<meta name=\"author\" content=\"Julien Delattre\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julien Delattre\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\\\/\"},\"author\":{\"name\":\"Julien Delattre\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/812297b963933317cfcbbf006a273eec\"},\"headline\":\"Retrieving GoldenGate logs, reports, and diagnostics with the REST API\",\"datePublished\":\"2026-10-26T07:52:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\\\/\"},\"wordCount\":566,\"commentCount\":0,\"keywords\":[\"administration\",\"api\",\"ggserr log\",\"GoldenGate\",\"log\",\"ogg\",\"Python\",\"Report\",\"rest\",\"rest api\"],\"articleSection\":[\"Database Administration &amp; Monitoring\",\"GoldenGate\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\\\/\",\"name\":\"Retrieving GoldenGate logs, reports, and diagnostics with the REST API - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2026-10-26T07:52:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/812297b963933317cfcbbf006a273eec\"},\"description\":\"Retrieving GoldenGate logs, reports, diagnostics and configuration files of a deployment, each mapped to a REST endpoint and oggrestapi.py.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Retrieving GoldenGate logs, reports, and diagnostics with the REST API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/812297b963933317cfcbbf006a273eec\",\"name\":\"Julien Delattre\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"caption\":\"Julien Delattre\"},\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/juliendelattre\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Retrieving GoldenGate logs, reports, and diagnostics with the REST API - dbi Blog","description":"Retrieving GoldenGate logs, reports, diagnostics and configuration files of a deployment, each mapped to a REST endpoint and oggrestapi.py.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/","og_locale":"en_US","og_type":"article","og_title":"Retrieving GoldenGate logs, reports, and diagnostics with the REST API","og_description":"Retrieving GoldenGate logs, reports, diagnostics and configuration files of a deployment, each mapped to a REST endpoint and oggrestapi.py.","og_url":"https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/","og_site_name":"dbi Blog","article_published_time":"2026-10-26T07:52:00+00:00","author":"Julien Delattre","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Julien Delattre","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/"},"author":{"name":"Julien Delattre","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/812297b963933317cfcbbf006a273eec"},"headline":"Retrieving GoldenGate logs, reports, and diagnostics with the REST API","datePublished":"2026-10-26T07:52:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/"},"wordCount":566,"commentCount":0,"keywords":["administration","api","ggserr log","GoldenGate","log","ogg","Python","Report","rest","rest api"],"articleSection":["Database Administration &amp; Monitoring","GoldenGate","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/","url":"https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/","name":"Retrieving GoldenGate logs, reports, and diagnostics with the REST API - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2026-10-26T07:52:00+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/812297b963933317cfcbbf006a273eec"},"description":"Retrieving GoldenGate logs, reports, diagnostics and configuration files of a deployment, each mapped to a REST endpoint and oggrestapi.py.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/retrieving-goldengate-logs-reports-and-diagnostics-with-the-rest-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Retrieving GoldenGate logs, reports, and diagnostics with the REST API"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/812297b963933317cfcbbf006a273eec","name":"Julien Delattre","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","caption":"Julien Delattre"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/juliendelattre\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/48080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/152"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=48080"}],"version-history":[{"count":1,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/48080\/revisions"}],"predecessor-version":[{"id":48081,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/48080\/revisions\/48081"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=48080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=48080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=48080"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=48080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}