Cribl puts your IT and Security data at the center of your data management strategy and provides a one-stop shop for analyzing, collecting, processing, and routing it all at any scale. Try the Cribl suite of products and start building your data engine today!
Learn more ›Evolving demands placed on IT and Security teams are driving a new architecture for how observability data is captured, curated, and queried. This new architecture provides flexibility and control while managing the costs of increasing data volumes.
Read white paper ›Cribl Stream is a vendor-agnostic observability pipeline that gives you the flexibility to collect, reduce, enrich, normalize, and route data from any source to any destination within your existing data infrastructure.
Learn more ›Cribl Edge provides an intelligent, highly scalable edge-based data collection system for logs, metrics, and application data.
Learn more ›Cribl Search turns the traditional search process on its head, allowing users to search data in place without having to collect/store first.
Learn more ›Cribl Lake is a turnkey data lake solution that takes just minutes to get up and running — no data expertise needed. Leverage open formats, unified security with rich access controls, and central access to all IT and security data.
Learn more ›The Cribl.Cloud platform gets you up and running fast without the hassle of running infrastructure.
Learn more ›Cribl.Cloud Solution Brief
The fastest and easiest way to realize the value of an observability ecosystem.
Read Solution Brief ›Cribl Copilot gets your deployments up and running in minutes, not weeks or months.
Learn more ›AppScope gives operators the visibility they need into application behavior, metrics and events with no configuration and no agent required.
Learn more ›Explore Cribl’s Solutions by Use Cases:
Explore Cribl’s Solutions by Integrations:
Explore Cribl’s Solutions by Industry:
Try Your Own Cribl Sandbox
Experience a full version of Cribl Stream and Cribl Edge in the cloud.
Launch Now ›Get inspired by how our customers are innovating IT, security and observability. They inspire us daily!
Read Customer Stories ›Sally Beauty Holdings
Sally Beauty Swaps LogStash and Syslog-ng with Cribl.Cloud for a Resilient Security and Observability Pipeline
Read Case Study ›Experience a full version of Cribl Stream and Cribl Edge in the cloud.
Launch Now ›Transform data management with Cribl, the Data Engine for IT and Security
Learn More ›Cribl Corporate Overview
Cribl makes open observability a reality, giving you the freedom and flexibility to make choices instead of compromises.
Get the Guide ›Stay up to date on all things Cribl and observability.
Visit the Newsroom ›Cribl’s leadership team has built and launched category-defining products for some of the most innovative companies in the technology sector, and is supported by the world’s most elite investors.
Meet our Leaders ›Join the Cribl herd! The smartest, funniest, most passionate goats you’ll ever meet.
Learn More ›Whether you’re just getting started or scaling up, the Cribl for Startups program gives you the tools and resources your company needs to be successful at every stage.
Learn More ›Want to learn more about Cribl from our sales experts? Send us your contact information and we’ll be in touch.
Talk to an Expert ›New in Cribl 4.5, the Model Driven Telemetry Source enables you to collect, transform, and route Model Driven Telemetry (MDT) data.
In this blog, you’ll learn how to explore the YANG Suite to understand the wide variety of datasets available to transmit as well as how to configure the tools to get data flowing from Cisco IOS XE network devices to Cribl Stream.
As Cisco recommends, you’ll use the YANG data modeling language along with Network Configuration Protocol (NETCONF) to make the network devices dance, so to speak.
After a whirlwind tour of MDT history, we’ll explain all the pieces and get them running in no time. So, let’s put on our Daft Punk helmets and see how network monitoring gets better, faster, and stronger with Cribl.
Why MDT?
(This section explains why network engineering and security operations teams are moving away from SNMP to MDT. If you prefer to dive right into our configuration tutorial, skip ahead to YANG Suite and NETCONF: Making Cisco devices dance.)
The network monitoring space is evolving. SNMP trap and polling solutions have been around since the 1980s, and over the years (and v2 & v3 versions), these solutions have worked well, providing network engineering and security operations teams with the level of transparency, granularity, and response latency that met the standards of the times. But yesterday’s network monitoring solutions are up against today’s growing demands. In today’s context, SNMP solutions are heavy. Polling solutions are pull-based, loading queues on network devices, impacting performance, and weighing down teams with non-scalable maintenance operations. Modern network teams demand modern solutions. They require finer-grained telemetry, real-time responses, and heightened scalability requirements that are not being met by legacy solutions.
As a direct response to these growing demands, network engineering and security operations teams are shopping and adopting Model Driven Telemetry (MDT) because it does so much more than SNMP. In contrast to SNMP solutions, MDT enables real-time streaming of telemetry data from network devices using a push-based, highly granular, and optimized model. These benefits are robust, and industry leaders are aware. If you’re already leveraging network devices from Cisco, Arista, Juniper, and Huawei, you’re probably aware that they’ve released support of MDT.
In the February 4.5 release, Cribl Stream introduces a new Model Driven Telemetry Source, allowing customers to collect, transform, and route MDT data as they wish. Let’s get into the details.
Cisco’s preferred approach for working with MDT is to use the YANG Suite of tools to configure network devices according to NETCONF. How do these elements interact?
This tutorial assumes that you’ve completed the following steps:
If you’re unfamiliar with MDT and the YANG Suite, see Cisco’s in-depth tech guide and then follow up with the Cisco DevNet sandboxes where you can spin up virtual networks to tap into virtual Cisco devices. Here’s a tip: running the IOS XE on Cat8kv sandbox is the easiest way to obtain the YANG, NETCONF, and other prerequisites you’ll need for this tutorial. (We used this sandbox for testing when we wrote this blog post, too.)
Log into YANG Suite.
Use the Analytics option to explore the catalog of data sets (YANG Modules) available from your Cisco device.
From the Cisco YANG Suite menu at left, select Analytics > Datasets and diffs.
From the Current YANG set drop-down, select the YANG set that you set up previously (in this example, the set is cat8000v-default-yangset
).
In the YANG Module drop-down, select a module. (In this example, we select Cisco-IOS-XE-memory-oper.)
In the Additional fields to include in dataset drop-down, select Description. This option is a good starting point for exploring and gaining more insight on what is available in the dataset.
Click Display dataset to see the XPaths associated with the elements and metrics your dataset supports. (Why XPaths? Because NETCONF is an XML-based protocol.)
cat8000v-default-yangset
Cisco-IOS-XE-mdt-cfg
When the module has loaded, its name will appear under Nodes in the window at left.
Use the drop-downs to set NETCONF Operation to edit-config and select the Device to configure (in this example, cat8000v).
Double-click on any branch in the module to expand its attributes as in the screenshot below. Of the values used in this example, two are required:
yang-push
encode-kvgpb
Another, the XPath, needs to be one of the XPaths that your chosen dataset makes available. In this example, we chose an XPath for memory-related metrics:
/memory-ios-xe-oper:memory-statistics/memory-statistic
Finally, there are attributes whose value is completely up to you. In this example, they are:
subscription-id: 100
period: 1000
Further down the tree, locate and expand the mdt-receivers branch.
Enter the following values:
grpc-tcp
grpc-tcp
is the only allowed value for the protocol attribute.Now that you’ve chosen your desired Device Subscription values, YANG Suite will use them to build an RPC, also known as a code bundle.
Click Build RPC.
For simplicity, we’re walking through a use case where one XPath is sufficient to produce the elements and metrics we want to send to Cribl. In production, you might want to use multiple XPaths.
For each additional XPath, you’ll need to run Build RPC again in the following way:
This procedure will append the content associated with each XPath to the RPC.
When you’ve built an RPC with all desired XPaths:
You will see a list of transmissions, including the RPC payload (also called an XML code bundle) and the NETCONF edit-config COMPLETE message.
Configuring the Model Driven Telemetry Source in Cribl Stream
In Cribl Stream, add a new Model Driven Telemetry Source.
In the New Source modal:
When Cribl Stream has finished deploying your changes:
Navigate to the Live Data tab.
You’ll see events from your MDT device begin to roll in. Welcome to streaming network telemetry in Cribl Stream!
Expand the content array to see metric attributes within the message. You can break out these individual metrics to prepare them for downstream routing to observability platform destinations. To do this, create Cribl Pipelines and use Eval and Publish Metrics Functions to accomplish the desired transformations.
The benefits of Model Driven Telemetry shine when compared to its predecessor, SNMP:
Cribl Stream, YANG, and NETCONF work together to give you visibility into and control of MDT data from your Cisco IOS XE network devices:
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.
Experience a full version of Cribl Stream and Cribl Edge in the cloud with pre-made sources and destinations.
Classic choice. Sadly, our website is designed for all modern supported browsers like Edge, Chrome, Firefox, and Safari
Got one of those handy?