{"id":15095,"date":"2023-11-21T11:23:44","date_gmt":"2023-11-21T19:23:44","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=15095"},"modified":"2025-06-13T22:04:23","modified_gmt":"2025-06-14T05:04:23","slug":"logstream-capella-app-services-part2","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/","title":{"rendered":"Capella App Services: Real-time Log Streaming to Datadog"},"content":{"rendered":"<div id=\"attachment_15083\" style=\"width: 389px\" class=\"wp-caption alignright\"><a href=\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part1\/\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-15083\" class=\"wp-image-15083\" style=\"border-style: solid; border-width: 1px;\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/11\/capella-log-streaming-1024x697.png\" alt=\"\" width=\"379\" height=\"258\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/capella-log-streaming-1024x697.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/capella-log-streaming-300x204.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/capella-log-streaming-768x523.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/capella-log-streaming-1536x1045.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/capella-log-streaming-2048x1394.png 2048w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/capella-log-streaming-235x160.png 235w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/capella-log-streaming-1320x898.png 1320w\" sizes=\"auto, (max-width: 379px) 100vw, 379px\" \/><\/a><p id=\"caption-attachment-15083\" class=\"wp-caption-text\">Capella App Services: Enhancing Observability with Real-Time Log Streaming Support<\/p><\/div>\n<p><a href=\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part1\/\"><span style=\"font-weight: 400;\">In an earlier post<\/span><\/a><span style=\"font-weight: 400;\">, we discussed the fundamentals of the Log Streaming feature on Capella App Services. App Services logs can be streamed in real-time to third-party observability platforms such as <\/span><a href=\"https:\/\/www.datadoghq.com\/\"><span style=\"font-weight: 400;\">Datadog<\/span><\/a><span style=\"font-weight: 400;\"> or collectors, hosted in customer premises.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Log Streaming allows you to gain instant insights into application behavior, enabling rapid issue detection and resolution. This enhancement is key to improving your application&#8217;s reliability, availability, and security.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In this blog post, I\u2019ll guide you on how to easily stream logs from App Services to Datadog\u2019s Log Management solution to enable log collection, parsing and normalization, visualization and proactive logs analysis.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This blog post assumes you are familiar with the capabilities of real-time Log Streaming in App Services. If you need a refresher, catch up with the first part of this blog on <\/span><a href=\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part1\/\"><span style=\"font-weight: 400;\">Capella App Services: Enhancing Observability with Real-Time Log Streaming Support<\/span><\/a><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Prerequisites<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Before diving into the tutorial, ensure that you have the following prerequisites in place:<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A deployed Capella <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/app-services\/deployment\/creating-an-app-service.html\"><span style=\"font-weight: 400;\">App Service<\/span><\/a><span style=\"font-weight: 400;\"> and a configured <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/app-services\/deployment\/configuring-app-endpoints.html\"><span style=\"font-weight: 400;\">App Endpoint<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Datadog account. If you don\u2019t have one, you can sign up <\/span><a href=\"https:\/\/www.datadoghq.com\/\"><span style=\"font-weight: 400;\">here<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><i><span style=\"font-weight: 400;\">Note:<\/span><\/i><span style=\"font-weight: 400;\"> Log Streaming is not available in <\/span><a href=\"https:\/\/cloud.couchbase.com\/sign-up\"><span style=\"font-weight: 400;\">Capella trials<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400;\">Real-time log streaming from Capella App Services to Datadog<\/span><\/h2>\n<p><a href=\"https:\/\/www.datadoghq.com\/\"><b>Datadog<\/b><\/a><span style=\"font-weight: 400;\"> is a leading cloud-based monitoring and analytics platform that aids in observing, troubleshooting, and optimizing their applications&#8217; performance. Within the context of this tutorial, we&#8217;ll focus on Datadog&#8217;s capabilities of <\/span><a href=\"https:\/\/docs.datadoghq.com\/logs\/log_collection\/\"><span style=\"font-weight: 400;\">logs monitoring<\/span><\/a><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Logs are essential data streams that capture event-specific details about software applications, systems, and platforms. By monitoring logs in real-time, teams can gain immediate insights into system behaviors, spot anomalies, troubleshoot issues, and ensure optimal system health.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Streaming real-time logs offers visibility into the operations of your applications and is simple to set up. By connecting Couchbase&#8217;s <\/span><a href=\"https:\/\/www.couchbase.com\/products\/capella\/app-services\/\"><span style=\"font-weight: 400;\">Capella App Services<\/span><\/a><span style=\"font-weight: 400;\"> to Datadog and utilizing App Services Log Streaming, you can have a centralized place to store your logs, that supports advanced processing and normalization, visualization and dashboards as well as alerting.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This integration not only simplifies the setup process but also enhances the ability to monitor, analyze, and respond to the logs your applications generate, ensuring proactive insights extraction and issue resolution.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">How to set up log streaming to Datadog<\/span><\/h2>\n<h3>Step 1: Setup in Datadog<\/h3>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li aria-level=\"1\"><b>Log in to your Datadog account.<\/b><\/li>\n<li aria-level=\"1\"><b>Navigate to Logs.<\/b>\n<ul>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">Look for the &#8216;Logs&#8217; section in the Datadog dashboard.\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<li aria-level=\"1\"><b>Select Fluent Bit as your log source.<\/b>\n<ul>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">This will show you the details you&#8217;ll need to set up streaming from Capella App Services. Specifically, you will see:<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><b>Host Address:<\/b><span style=\"font-weight: 400;\"> This is the endpoint where the logs will be sent.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><b>API Key:<\/b> An authorization token to authenticate your log streams.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-15096\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/11\/image5-1-1024x703.png\" alt=\"\" width=\"900\" height=\"618\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image5-1-1024x703.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image5-1-300x206.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image5-1-768x527.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image5-1-1536x1055.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image5-1-235x160.png 235w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image5-1-1320x907.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image5-1.png 1999w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<h3>Step 2: Setup in Capella App Services<\/h3>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li aria-level=\"1\"><b>Log in to your Couchbase Capella dashboard.<\/b><\/li>\n<li aria-level=\"1\"><b>Navigate to your App Service&#8217;s Settings page.<\/b><\/li>\n<li aria-level=\"1\"><b>Find and select the Log Streaming option.<\/b>\n<ul>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">Here, you&#8217;ll configure where and how your logs will be sent.<\/span><\/li>\n<\/ul>\n<\/li>\n<li aria-level=\"1\"><b>Configure Datadog as your Log Collection Provider:<\/b>\n<ul>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">For <\/span><b>Collection URL<\/b><span style=\"font-weight: 400;\">, enter the <\/span><b>Host Address<\/b><span style=\"font-weight: 400;\"> you obtained from Datadog.<\/span><\/li>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">In <\/span><b>Access Credentials<\/b><span style=\"font-weight: 400;\">, input the <\/span><b>Datadog API Key<\/b><span style=\"font-weight: 400;\"> you noted earlier.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\"> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-15097\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/11\/image13-1024x687.png\" alt=\"\" width=\"900\" height=\"604\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image13-1024x687.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image13-300x201.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image13-768x515.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image13-1536x1030.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image13-400x267.png 400w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image13-1320x886.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image13.png 1999w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/span><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li aria-level=\"1\"><b>Enable Log Streaming:<\/b>\n<ul>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">Click on the option to enable log streaming. This might take a moment as it sets up the collector.<\/span><\/li>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">Monitor the status. Once fully set up, you should see the status transition to &#8220;Enabled&#8221;, indicating that logs are now streaming from Capella App Services to Datadog.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-15099\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/11\/image7-2-1024x687.png\" alt=\"\" width=\"900\" height=\"604\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image7-2-1024x687.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image7-2-300x201.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image7-2-768x515.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image7-2-1536x1030.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image7-2-400x267.png 400w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image7-2-1320x886.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image7-2.png 1999w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Once enabled, App Services Log Streaming can be then <\/span><b>disabled or paused<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Pausing<\/b><span style=\"font-weight: 400;\"> temporarily stops streaming logs to the log collector until streaming is resumed.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Disabling<\/b><span style=\"font-weight: 400;\"> stops the streaming of logs and clears the configuration.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Configuration can also be <\/span><b>changed<\/b><span style=\"font-weight: 400;\"> if any of the log collector\u2019s target URLs or secrets change.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li aria-level=\"1\"><b>(Optional) Powerful App Endpoints level configurability<\/b>\n<ul>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">Variety of advanced Log Filters can be configured such as Auth, Import, Sync and many more to enhance the log types that are captured and streamed.<\/span><\/li>\n<li aria-level=\"1\">The <b>Log Level<\/b> (e.g. Info, Warning and Error) can also be altered for a given App Endpoint.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-15100\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/11\/image2-3-1024x687.png\" alt=\"\" width=\"900\" height=\"604\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image2-3-1024x687.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image2-3-300x201.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image2-3-768x515.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image2-3-1536x1030.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image2-3-400x267.png 400w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image2-3-1320x886.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image2-3.png 1999w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<h3>Step 3: View and Analyze Logs in Datadog<\/h3>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li aria-level=\"1\"><b>Go back to your Datadog dashboard.<\/b><\/li>\n<li aria-level=\"1\"><b>Navigate to the &#8216;Live Tail&#8217; section within &#8216;Logs&#8217;.\u00a0<\/b>\n<ul>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">This section gives you a real-time view of incoming logs.\u00a0<\/span><\/li>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">You should now see a real-time stream of logs coming in from Capella App Services.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-15101\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/11\/image14-1024x703.png\" alt=\"\" width=\"900\" height=\"618\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image14-1024x703.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image14-300x206.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image14-768x527.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image14-1536x1055.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image14-235x160.png 235w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image14-1320x907.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image14.png 1999w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>(Recommended) Set up a Datadog Logs Pipeline:<\/b>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">This is beneficial if you want to translate the logs from App Services into a common format that suits your monitoring needs within Datadog. Follow Datadog\u2019s documentation or guidelines on how to set this up based on your specific requirements.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-15102\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/11\/image4-1-1024x703.png\" alt=\"\" width=\"900\" height=\"618\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image4-1-1024x703.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image4-1-300x206.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image4-1-768x527.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image4-1-1536x1055.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image4-1-235x160.png 235w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image4-1-1320x907.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/image4-1.png 1999w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<h2><span style=\"font-weight: 400;\">Wrap Up<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Congratulations! You&#8217;ve now successfully set up real-time log streaming from Couchbase Capella App Services to Datadog. You can now monitor, analyze, and act upon the insights you gain from your logs. Remember to keep an eye on your logs and set up any alerts or further integrations as needed to maximize your monitoring capabilities.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">What\u2019s Next<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">In this post we described the fundamentals of real-time Log Streaming in Capella App Services . In a future post, we will go through a step-by-step tutorial on <a href=\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part3\/\">how to easily stream App Services operational logs to Sumologic<\/a>. Stay tuned!<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you have questions or feedback, please leave a comment below or <a href=\"mailto:iveta.dulova@couchbase.com\">email me<\/a>. The <\/span><a href=\"https:\/\/www.couchbase.com\/forums\/latest\"><span style=\"font-weight: 400;\">Couchbase Forums <\/span><\/a><span style=\"font-weight: 400;\">or <\/span><a href=\"https:\/\/discord.com\/invite\/K7NPMPGrPk?utm_source=launchblogpost&amp;utm_medium=text&amp;utm_campaign=discord\"><span style=\"font-weight: 400;\">Discord<\/span><\/a><span style=\"font-weight: 400;\"> are another good place to reach out with questions.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Catch up with the rest of the posts in this series on Capella App Services Log Streaming:<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><a href=\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part1\/\"><span style=\"font-weight: 400;\">Capella App Services: Enhancing Observability with Real-Time Log Streaming Support [Part 1]<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/\"><span style=\"font-weight: 400;\">Capella App Services: Real-time Log Streaming to Datadog [Part 2]<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part3\/\"><span style=\"font-weight: 400;\">Capella App Services: Real-time Log Streaming to SumoLogic [Part 3]<\/span><\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\"><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In an earlier post, we discussed the fundamentals of the Log Streaming feature on Capella App Services. App Services logs can be streamed in real-time to third-party observability platforms such as Datadog or collectors, hosted in customer premises. Log Streaming [&hellip;]<\/p>\n","protected":false},"author":84502,"featured_media":15103,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[10130,1815,2225],"tags":[9899,9901],"ppma_author":[9840],"class_list":["post-15095","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-app-services","category-best-practices-and-tutorials","category-cloud","tag-datadog","tag-log-streaming"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.7.1 (Yoast SEO v25.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Capella App Services: Real-time Log Streaming to Datadog - The Couchbase Blog<\/title>\n<meta name=\"description\" content=\"Learn to easily stream logs from App Services to Datadog\u2019s Log Management solution to enable log collection, parsing, visualization and proactive analysis.\u00a0\" \/>\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.couchbase.com\/blog\/logstream-capella-app-services-part2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Capella App Services: Real-time Log Streaming to Datadog\" \/>\n<meta property=\"og:description\" content=\"Learn to easily stream logs from App Services to Datadog\u2019s Log Management solution to enable log collection, parsing, visualization and proactive analysis.\u00a0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-21T19:23:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T05:04:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/dev-log-streaming-capella.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Iveta Dulova, Senior Product Manager\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Iveta Dulova, Senior Product Manager\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/\"},\"author\":{\"name\":\"Iveta Dulova, Senior Product Manager\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/73cfb275d3ce43e4ab5b905782937189\"},\"headline\":\"Capella App Services: Real-time Log Streaming to Datadog\",\"datePublished\":\"2023-11-21T19:23:44+00:00\",\"dateModified\":\"2025-06-14T05:04:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/\"},\"wordCount\":951,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/dev-log-streaming-capella.jpg\",\"keywords\":[\"datadog\",\"log streaming\"],\"articleSection\":[\"App Services\",\"Best Practices and Tutorials\",\"Couchbase Capella\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/\",\"name\":\"Capella App Services: Real-time Log Streaming to Datadog - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/dev-log-streaming-capella.jpg\",\"datePublished\":\"2023-11-21T19:23:44+00:00\",\"dateModified\":\"2025-06-14T05:04:23+00:00\",\"description\":\"Learn to easily stream logs from App Services to Datadog\u2019s Log Management solution to enable log collection, parsing, visualization and proactive analysis.\u00a0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/dev-log-streaming-capella.jpg\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/dev-log-streaming-capella.jpg\",\"width\":1200,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Capella App Services: Real-time Log Streaming to Datadog\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/73cfb275d3ce43e4ab5b905782937189\",\"name\":\"Iveta Dulova, Senior Product Manager\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/455d2ce79d9da60a8c6d8945ac5f3bed\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/07\/image_2023-07-19_112713653.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/07\/image_2023-07-19_112713653.png\",\"caption\":\"Iveta Dulova, Senior Product Manager\"},\"url\":\"https:\/\/www.couchbase.com\/blog\/author\/ivetadulova\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Capella App Services: Real-time Log Streaming to Datadog - The Couchbase Blog","description":"Learn to easily stream logs from App Services to Datadog\u2019s Log Management solution to enable log collection, parsing, visualization and proactive analysis.\u00a0","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.couchbase.com\/blog\/logstream-capella-app-services-part2\/","og_locale":"en_US","og_type":"article","og_title":"Capella App Services: Real-time Log Streaming to Datadog","og_description":"Learn to easily stream logs from App Services to Datadog\u2019s Log Management solution to enable log collection, parsing, visualization and proactive analysis.\u00a0","og_url":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/","og_site_name":"The Couchbase Blog","article_published_time":"2023-11-21T19:23:44+00:00","article_modified_time":"2025-06-14T05:04:23+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/dev-log-streaming-capella.jpg","type":"image\/jpeg"}],"author":"Iveta Dulova, Senior Product Manager","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Iveta Dulova, Senior Product Manager","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/"},"author":{"name":"Iveta Dulova, Senior Product Manager","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/73cfb275d3ce43e4ab5b905782937189"},"headline":"Capella App Services: Real-time Log Streaming to Datadog","datePublished":"2023-11-21T19:23:44+00:00","dateModified":"2025-06-14T05:04:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/"},"wordCount":951,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/dev-log-streaming-capella.jpg","keywords":["datadog","log streaming"],"articleSection":["App Services","Best Practices and Tutorials","Couchbase Capella"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/","url":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/","name":"Capella App Services: Real-time Log Streaming to Datadog - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/dev-log-streaming-capella.jpg","datePublished":"2023-11-21T19:23:44+00:00","dateModified":"2025-06-14T05:04:23+00:00","description":"Learn to easily stream logs from App Services to Datadog\u2019s Log Management solution to enable log collection, parsing, visualization and proactive analysis.\u00a0","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/dev-log-streaming-capella.jpg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/11\/dev-log-streaming-capella.jpg","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/logstream-capella-app-services-part2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Capella App Services: Real-time Log Streaming to Datadog"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/73cfb275d3ce43e4ab5b905782937189","name":"Iveta Dulova, Senior Product Manager","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/455d2ce79d9da60a8c6d8945ac5f3bed","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/07\/image_2023-07-19_112713653.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/07\/image_2023-07-19_112713653.png","caption":"Iveta Dulova, Senior Product Manager"},"url":"https:\/\/www.couchbase.com\/blog\/author\/ivetadulova\/"}]}},"authors":[{"term_id":9840,"user_id":84502,"is_guest":0,"slug":"ivetadulova","display_name":"Iveta Dulova, Senior Product Manager","avatar_url":{"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/07\/image_2023-07-19_112713653.png","url2x":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/07\/image_2023-07-19_112713653.png"},"author_category":"","last_name":"Dulova, Senior Product Manager","first_name":"Iveta","job_title":"","user_url":"","description":""}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/15095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/84502"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=15095"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/15095\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/15103"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=15095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=15095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=15095"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=15095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}