{"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-26T08:52:00","modified_gmt":"2026-10-26T07:52:00","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;&nbsp;<\/p>\n","protected":false},"author":152,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[4133,3787,59],"tags":[515,979,890,1089,3198,1521,13433],"class_list":["post-48080","post","type-post","status-publish","format-standard","category-database","category-goldengate","category-oracle","tag-administration","tag-api","tag-log","tag-python","tag-report","tag-rest","tag-rest-api-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Retrieving GoldenGate logs, reports, and diagnostics with the REST API - dbi services 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 services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\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:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\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\\\/0e990b04385bd7ff84b414bb8d92c544\"},\"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,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"keywords\":[\"administration\",\"api\",\"log\",\"Python\",\"Report\",\"rest\",\"rest api\"],\"articleSection\":[\"Database\",\"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 services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2026-10-26T07:52:00+00:00\",\"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\":\"Home\",\"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 services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"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\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/0e990b04385bd7ff84b414bb8d92c544\",\"name\":\"Julien Delattre\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/JDE_Web-1-scaled.jpg\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/JDE_Web-1-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/JDE_Web-1-scaled.jpg\",\"caption\":\"Julien Delattre\"},\"description\":\"Julien Delattre, member of the Oracle Team Zurich, has more than five years of experience specializing in Oracle databases, plus expertise in MariaDB and MongoDB. Prior to dbi services, he was a Database Administrator at Atos in Angers, France, and a Data Scientist at Air France in Paris and Apurata in Lima. Julien holds a Master's degree in Computer Science, Data Science, and Statistics from Centrale Paris \\\/ Universit\u00e9 Paris-Saclay.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/julien-delattre\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Retrieving GoldenGate logs, reports, and diagnostics with the REST API - dbi services 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 services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2026-10-26T07:52:00+00:00","author":"Julien Delattre","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","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\/0e990b04385bd7ff84b414bb8d92c544"},"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,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"keywords":["administration","api","log","Python","Report","rest","rest api"],"articleSection":["Database","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 services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2026-10-26T07:52:00+00:00","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":"Home","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 services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"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":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/0e990b04385bd7ff84b414bb8d92c544","name":"Julien Delattre","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2025\/05\/JDE_Web-1-scaled.jpg","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2025\/05\/JDE_Web-1-scaled.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2025\/05\/JDE_Web-1-scaled.jpg","caption":"Julien Delattre"},"description":"Julien Delattre, member of the Oracle Team Zurich, has more than five years of experience specializing in Oracle databases, plus expertise in MariaDB and MongoDB. Prior to dbi services, he was a Database Administrator at Atos in Angers, France, and a Data Scientist at Air France in Paris and Apurata in Lima. Julien holds a Master's degree in Computer Science, Data Science, and Statistics from Centrale Paris \/ Universit\u00e9 Paris-Saclay.","url":"https:\/\/www.dbi-services.com\/blog\/author\/julien-delattre\/"}]}},"_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":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/48080\/revisions"}],"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"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}