惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 司徒正美
T
The Blog of Author Tim Ferriss
F
Fortinet All Blogs
Martin Fowler
Martin Fowler
罗磊的独立博客
The GitHub Blog
The GitHub Blog
L
LangChain Blog
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
DataBreaches.Net
宝玉的分享
宝玉的分享
U
Unit 42
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
N
Netflix TechBlog - Medium
The Cloudflare Blog
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
美团技术团队
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
爱范儿
爱范儿
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Investigate your log processing with the Datadog Log Pipe...
2023-12-20 · via Datadog | The Monitor blog
Thomas Sobolik

Thomas Sobolik

Pranay Kamat

Pranay Kamat

Lucas Cerdan

Lucas Cerdan

Large-scale organizations typically collect and manage millions of logs a day from various services. Within these orgs, many different teams may set up processing pipelines to modify and enrich logs for security monitoring, compliance audits, and DevOps. Datadog Log Pipelines let you ingest logs from your entire stack, parse and enrich them with contextual information, add tags for usage attribution, generate metrics, and quickly identify log anomalies.

But as organizations’ stacks expand to add new architectures and services, they face more complex requirements around log processing. And when new pipelines are continually set up by siloed application, infrastructure, security, and compliance teams, problems crop up—such as gaps in access control and standardization, or logs being modified by conflicting processing rules that can cause downstream issues with monitors, dashboards, and queries.

To help you solve these issues in your org, Datadog Log Management now includes the Scanner, a no-code, streamlined solution that provides real-time inspection of log events as they travel through your different pipelines and processing rules. With the Log Pipeline Scanner, teams can trace log processing flows in order to:

  • Discover, diagnose, and remediate processing issues such as unparsed logs, missing tags, or unexpected changes to the log structure
  • Ensure their organization is meeting security and compliance requirements
  • Remove conflicting or redundant processing rules caused by team silos, and streamline the end-user experience
  • Eliminate onboarding bottlenecks by helping users diagnose processing issues without relying on central teams or external support mechanisms

In this post, we’ll discuss how the Log Pipeline Scanner helps your teams more easily investigate the behavior of processing pipelines across your organization, diagnose issues, and prevent snags in their monitoring workflows to avoid lost remediation time.

Quickly identify log processing issues

As we’ve introduced, organizations rely on pipelines to process huge volumes of logs and prepare them for various downstream processes. DevOps, security, and compliance teams must each restructure and enrich logs in different ways to suit their needs. For example, a DevOps team may want to process their unstructured logs for easier dashboarding or searching, and include team information for usage attribution. A security team may want to enrich their IP addresses with geography context to help identify the location of threat actors. Or, a compliance team may want to see special tagging for certain industry compliance requirements to streamline audits.

When these teams are all consuming the same log sources (such as AWS Cloudtrail, VPC Flow logs, or Okta), conflicts in their processing rules can arise. By enabling you to scan your log pipelines in real time and trace specific log events as they pass through different pipelines, the Log Pipeline Scanner helps you track, diagnose, and resolve these issues.

The Log Pipeline Scanner samples and annotates logs with the various processing steps they’re running through. This enables you to inspect relevant processing steps to quickly identify changes being made to its fields. For example, let’s say you’re on a central SRE team that streams logs from CloudWatch for various AWS services, and uses processing pipelines to add tags for cost attribution. You notice that some services are missing cost allocation tags. You can query for these logs in the Log Explorer, open a log, and then pivot to the Log Pipeline Scanner to investigate. The Log Pipeline Scanner shows a live tail of logs with similar attributes to the one you initially highlighted—which are likely to be running through the same pipelines.

You can pivot directly from a log side panel to the Log Pipeline Scanner to see a live tail of similar logs alongside your team’s log pipelines.
You can pivot directly from a log side panel to the Log Pipeline Scanner to see a live tail of similar logs alongside your team’s log pipelines.
You can pivot directly from a log side panel to the Log Pipeline Scanner to see a live tail of similar logs alongside your team’s log pipelines.

You can select a log to see all the pipelines it’s running through, which makes it easy to see how changes to processors are reflected in the corresponding log attributes and tags. For example, you might find that one of the services with no cost attribution has all of its logs running through a processor set up by a different team that clears out corresponding attributes before the pipeline adds its own. If you choose to change the processor to fix the issue with the log syntax, you can continue to use the live tail as new logs are emitted to quickly open recent ones and see if they’re now being processed correctly.

The Log Pipeline Scanner lets you select a log and quickly filter to all the pipelines it’s running through.
The Log Pipeline Scanner lets you select a log and quickly filter to all the pipelines it’s running through.
The Log Pipeline Scanner lets you select a log and quickly filter to all the pipelines it’s running through.

Easily edit your pipelines

The Log Pipeline Scanner provides a consolidated look at all the pipelines applied to your logs, their ownership, and all their constituent steps, so that once you’ve found a processing step that you want to change, it’s easy to fix it. For example, let’s say you notice in a dashboard that a graph containing metrics formed from your custom application logs has stopped showing data. You can use the Log Pipeline Scanner to discover that another pipeline is modifying them to break the queries that the metric relies on. The Log Pipeline Scanner helps you find the exact processing step causing this issue, and identify the pipeline owner so you can request that they take a look.

The Log Pipeline Scanner provides details about each pipeline processor, including ownership information.
The Log Pipeline Scanner provides details about each pipeline processor, including ownership information.
The Log Pipeline Scanner provides details about each pipeline processor, including ownership information.

You can click on any log processor step and see how it’s affecting the log fields. Then you (or the pipeline owner) can dive into the configuration and resolve any discrepancies between the processor’s output and your monitoring assets’ expected input. For example, let’s say you find that a remapper is renaming a field to something that doesn’t match the syntax your team is using for their monitors. You can ask the pipeline owner to change this step, or edit your team’s monitors to switch to the new syntax.

You can open a processor step directly within the Log Pipeline Scanner to see how it’s changing the logs and edit its behavior from the same view.
You can open a processor step directly within the Log Pipeline Scanner to see how it’s changing the logs and edit its behavior from the same view.
You can open a processor step directly within the Log Pipeline Scanner to see how it’s changing the logs and edit its behavior from the same view.

For a deeper look at the changes made to this pipeline, you can also use the Pipelines view to quickly pivot to related Audit Trail events. Audit Trail shows you the pipeline’s full change history with detailed user attribution. This way, you can comb through the history to find changes that seem unintentional and follow up with the relevant users.

Get comprehensive visibility into your log pipelines

The Log Pipeline Scanner helps application, security, compliance, and other teams maintain visibility into their log processing. By enabling users to quickly filter through the noise to find the processing steps they need, the Pipelines Scanner ultimately reduces troubleshooting time to resolve issues caused by conflicting or misconfigured pipelines.

The Log Pipeline Scanner is now available for all Log Management customers. For more information about processing pipelines in Datadog Log Management, see our documentation. And to get started with Datadog, sign up for a free trial.