x
Ignite-Promo_Microsite Hero_1855x360

Enhancing Data Flexibility in Microsoft Sentinel with Cribl

November 11, 2024

At Cribl, we’ve been deeply investing in the Microsft Azure security space. Last year, we introduced a native integration with Microsoft Sentinel, enabling us to write data seamlessly to native and custom tables.

As highlighted earlier, working with Microsoft Sentinel and Log Analytics involves interacting with tables with predefined column names and data types. This setup also requires a Data Collection Rule (DCR) along with a Data Collection Endpoint (DCE) to ensure the Log Ingestion API successfully writes data into the intended table.

Challenges with Schema Changes

Imagine a scenario where data is already being sent to Sentinel, but a field needs to be added or a data type must be changed, say from integer to string. While making these changes in Cribl Stream is straightforward, updating Sentinel to match these changes can be complex. This process involves modifying the table schema and using the cloud shell to update an existing DCR or even creating a new one.

The Advantage of Using Dynamic Data Types

Alternatively, leveraging the dynamic data type in Sentinel offers greater flexibility and resilience as data evolves. The process is simple: format your data as a JSON object within Cribl Stream and send it to a custom table in Microsoft Sentinel with a dynamic data type column. Below are some practical examples to illustrate this approach.

First, let’s look at a custom table schema where the column name is Event with the type set to Dynamic:

Custom table schema with dynamic type column

Next, here’s an example of a DCR. This DCR setup is simple, with only the dynamic type column Event and the required column TimeGenerated:

Data Collection Rule for custom table

Now, take a look at a straightforward QuickConnect being used to send syslog data to the custom table in Sentinel through a pipeline:

QuickConnect setup for data flow

The syslog message is parsed and serialized within the pipeline into a JSON object called Event. The TimeGenerated field is created from _time and formatted to ISO8601, as required by Microsoft Sentinel:

Pipeline configuration for data formatting

Viewing Logs in Microsoft Sentinel

Once data reaches Sentinel, this is how the logs appear when using the dynamic data type:

Logs in Azure Sentinel with dynamic data type

The JSON object can be easily referenced and utilized within KQL (Kusto Query Language):

Using KQL with JSON object

With this setup, adapting to data changes is seamless. Modifying or updating KQL to reference new or changed fields is much simpler and faster, making data management more efficient.

Wrap-Up

Embracing the dynamic data type approach in Microsoft Sentinel through Cribl Stream unlocks unparalleled flexibility for handling evolving data. It reduces the complexity of managing schema changes, ensures faster data processing, and simplifies updates. This method provides a robust foundation for scaling and adapting to the continuous changes in data streams, ultimately making data management more resilient and user-friendly.

Ready to explore how Cribl and Microsoft Sentinel can enhance your data handling processes? Start leveraging these powerful tools today and see the benefits for yourself. Start leveraging these powerful tools today and see the benefits for yourself by checking Cribl out on Azure Marketplace. Learn more about our integrations with Microsoft Azure.


 

Cribl, the Data Engine for IT and Security, empowers organizations to transform their data strategy. Customers use Cribl’s suite of products to collect, process, route, and analyze all IT and security data, delivering the flexibility, choice, and control required to adapt to their ever-changing needs.

We offer free training, certifications, and a free tier across our products. Our community Slack features Cribl engineers, partners, and customers who can answer your questions as you get started and continue to build and evolve. We also offer a variety of hands-on Sandboxes for those interested in how companies globally leverage our products for their data challenges.

.
Blog
Feature Image

Cribl and CrowdStrike Partner to Transform Data Management for SIEM Solutions

Read More
.
Blog
Feature Image

Mastering Tail Sampling for OpenTelemetry: Cost-Effective Strategies with Cribl

Read More
.
Blog
Feature Image

The Stream Life Podcast 110: Microsoft Azure + Cribl – Better together

Read More
pattern

Try Your Own Cribl Sandbox

Experience a full version of Cribl Stream and Cribl Edge in the cloud with pre-made sources and destinations.

box

So you're rockin' Internet Explorer!

Classic choice. Sadly, our website is designed for all modern supported browsers like Edge, Chrome, Firefox, and Safari

Got one of those handy?