Ce produit n'est pas pris en charge par le
site Datadog que vous avez sélectionné. (
).
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel,
n'hésitez pas à nous contacter.
Disponible pour:
Logs
|
Metrics
Overview
Use Live Capture to see the data a source sends through the pipeline and also the data a processor receives and sends out.
Specifically, the following information is shown:
- The timestamp of when the data was received
- The data that was sent out and whether it was:
- Modified
- Unmodified
- Dropped
- Reduced
An example of Live Capture showing the log’s message field before and after it has been processed by the Parse XML processor.
Permissions
Only users with the Observability Pipelines Live Capture Write permission can set up captures. Users with the Observability Pipelines Live Capture Read permission can only view the events that have already been captured. See Observability Pipelines Permissions for a list of permissions for Observability Pipelines assets.
Admins have read and write permissions by default. Standard users only have read permission by default. See Access Control for more information about default Datadog roles and how to create custom roles.
Add domains to firewall allowlist
If you want to use Live Capture and are using a firewall, you must add these domains to the allowlist:
api.obpipeline-intake.config.
Capture events
- Navigate to Observability Pipelines.
- Select your pipeline.
- Click the cog for the source or processor that you want to capture events for.
- Select Capture and view events in the side panel.
- Click Capture.
- Optional configurations (in Preview):
Note: Optional configurations are only available if all active Workers are version 2.13 or later.- Enter a query to specify which events you want to capture. For more information, see Search Syntax for Logs or Search Syntax for Metrics.
- Enter a capture duration (in seconds or minutes) for how long you want events to be captured.
- Minimum duration (default if no duration is specified): 30 seconds
- Maximum duration: 300 seconds (5 minutes)
- Select which Workers you want to capture events from. If no Workers are selected, a random Worker is chosen.
- Click Capture to start capturing events.
Note: It might take up to 60 seconds for captured events to appear in the UI. Captured data is visible to all users with view access, and is stored in the Datadog Platform for 72 hours. - After the capture is complete:
- Click a specific captured event to see the data that was received and sent out. You can also search for specific events in the search bar. Use the dropdown menu next to the search bar to show events based on status (
MODIFIED, UNMODIFIED, DROPPED, and REDUCED). - In the Workers - Capture Execution Details section, click View Logs to see the Worker logs for the capture.
- To see other captures for the same component, click Captures on the top left of the side panel. Note: Viewing other captures only applies if all active Workers are version 2.13 or later.
- You can filter captures by capture event ID, filter query, pipeline version, or status (
in_progress or completed). - For the Total Events column, the maximum captured events per Worker is 200 when including both the input and output of an event.
Further reading
Documentation, liens et articles supplémentaires utiles: