Transform your logs with a basic ingestion pipeline.
The steps below create a pipeline and transformation for dropping INFO
logs.
For a complete list of transformations and more examples, visit Ingestion pipeline reference.
To complete the steps below:
While this page uses the OTel Collector, you can also use the Datadog Agent with log ingestion pipelines.
Follow these steps to access log ingestion pipelines and select a pipeline:
Cloud Observability directs all logs from the OTel Collector through the OTLP pipeline. To learn more about the different pipelines, visit Ingestion pipeline reference.
Follow these steps to create a Drop matching transformation:
Cloud Observability displays Configuration saved successfully. It may take up to 10 minutes for Cloud Observability to implement your changes.
Follow these steps to test your Drop matching transformation:
Paste the logs below into space.log
and save the file.
(space.log
is the file you created in Get started with logs.)
1
2
3
4
5
INFO Spaceship 'Lightstep' reached orbit around Saturn.
INFO Astronaut training completed in sector 4.
ERROR Communication with mission control lost: Signal interference detected.
ERROR Navigation malfunction: Unable to plot course through asteroid field.
FATAL Reactor core meltdown. Evacuate the ship immediately!
space.log
.You’re all set! Cloud Observability now drops all incoming logs with the INFO
severity level.
To remove the transformation from Cloud Observability, select Settings > Log ingestion pipelines. Next, point to the relevant transformation, select X, and then select Save > Save. You won’t be able to recover the transformation.
Now that you know the basics, visit Ingestion pipeline reference to learn about the different transformation types and source-specific pipelines.
Updated Apr 24, 2024