---
title: Connect RUM and Logs
description: >-
  Correlate RUM events with logs to get full visibility into frontend and
  backend issues across your application stack.
breadcrumbs: >-
  Docs > RUM & Session Replay > Correlate RUM Events with Other Telemetry >
  Connect RUM and Logs
---

# Connect RUM and Logs

{% image
   source="https://datadog-docs.imgix.net/images/real_user_monitoring/correlate_rum_and_logs/rum_browser_logs.118bdcdcf100c391cde110d537ca2d0e.png?auto=format"
   alt="Browser logs in a RUM action" /%}

## Overview{% #overview %}

The RUM integration with Logs allows you to have full visibility of the state of your application.

Use frontend data from RUM, as well as backend, infrastructure, and log information to pinpoint issues anywhere in your stack and understand what your users are experiencing.

To start sending RUM events to Datadog, see [Real User Monitoring](https://docs.datadoghq.com/real_user_monitoring/).

## How is RUM correlated with Logs?{% #how-is-rum-correlated-with-logs %}

Logs and RUM events are automatically correlated. Correlating your logs with RUM also eases [aggressive sampling strategy without losing entity-level consistency](https://docs.datadoghq.com/logs/guide/ease-troubleshooting-with-cross-product-correlation/#correlate-frontend-products) with the use of attributes like `session_id` and `view.id`.

For more information, see [RUM & Session Replay Billing](https://docs.datadoghq.com/account_management/billing/rum/#how-do-you-view-logs-from-the-browser-collector-in-rum). To ensure proper correlation for **Browser Logs**, you must [match configurations between the RUM Browser SDK and Logs SDK](https://docs.datadoghq.com/logs/log_collection/javascript/#initialization-parameters).

## Setup instructions{% #setup-instructions %}

To access the Logs setup pages, follow the links below based on your platform:

- [browser](https://docs.datadoghq.com/logs/log_collection/javascript)
- [android](https://docs.datadoghq.com/logs/log_collection/android)
- [ios](https://docs.datadoghq.com/logs/log_collection/ios)
- [flutter](https://docs.datadoghq.com/logs/log_collection/flutter/)
- [react native](https://docs.datadoghq.com/logs/log_collection/reactnative)
- [Roku](https://docs.datadoghq.com/logs/log_collection/roku)
- [Kotlin Multiplatform](https://docs.datadoghq.com/logs/log_collection/kotlin_multiplatform)

## Further Reading{% #further-reading %}

- [Real User Monitoring](https://www.datadoghq.com/blog/real-user-monitoring-with-datadog/)
- [Ease troubleshooting with cross-product correlation](https://docs.datadoghq.com/logs/guide/ease-troubleshooting-with-cross-product-correlation/)
