Analyze Metric and Event Data on the Same Platform

Platform Anna Mensing

Analyze both metric and event data on the same platform regardless of source or structure. With Splunk metric indexes, you can quickly and easily ingest, store, and analyze metrics — whether in the Analytics Workspace or with SPL — so you can deliver positive business results. Get the most value out of your data with Splunk.

Why Bring Metrics into Splunk?

While Splunk is the industry leader for storing and retrieving log data, did you know that you now also can store and search metrics data in Splunk as well?

A log is an event that happened and a metric is a measurement of the health of a system. Splunk now offers metric indexes. The introduction of metric indexes in addition to traditional indexes allows users to efficiently store and search both events and metrics data in Splunk. Keeping your metrics data in the Splunk metric indexes uses less storage space than events, and increases query search speed 500 times, using less system resources at a lower licensing cost.

How to Create a Metric Index

Creating a metric index is as easy as toggling the data type while you create your new index. There are multiple ways to bring metrics into your new metrics index — you can bring data in directly as metrics or convert your already ingested event data into metrics for faster analysis in Splunk:

Query Your Metrics Easily

Once your data is in a Metric Index, Splunk has a powerful UI tool that allows you to search it without any SPL — the Analytics Workspace.

Use the Analytics Workspace to quickly browse and visualize your metrics data with different types of charts. Apply filters, dimension splits, and aggregations to gain insights into your data. Create reports, alerts, and dashboard panels without using SPL. The Splunk Analytics Workspace helps you to quickly identify and respond to any issues or anomalies in your data.

If you prefer to search your data using SPL, you can access and analyze your data with the Search and Reporting app using metrics-specific commands like mstats and mcatalog.

Alert on Your Metrics

Once you start tracking your metrics, you can monitor them and set up a Splunk alert to find out you are in or out of your target range.

Whether you use the Analytics Workspace or SPL to analyze your metrics data, you can easily create a new type of streaming metric alert to stay informed on your health. Streaming alerts are more efficient than traditional scheduled alerts and can scale up to tens of thousands of alerts.

Keep Your Metrics Handy for Future Reference

After a year of tracking your metric regularly, you may want to zoom out and see your monthly or yearly average and store your summaries for future reference. This is where metric rollups become useful. Splunk lets you define metric roll ups that summarize your metric data into indexes that are optimized for long-term storage and review.

You can create different time frame based rollups of your data and take advantage of faster query time using these rolled-up indexes.

So What?

Splunk’s underlying technology powers the ability to analyze both metrics and event data in the same platform. No matter your data source or structure, you can get the most value from your data, and invest in only one tool to do it — with Splunk. Try a free trial of Splunk Enterprise or Splunk Cloud to see for yourself.

To learn more about self service analytics capabilities at Splunk and see a hands-on demo of the Analytics Workspace discussed in this blog, join us for the Splunk Self Service Analytics Tech Talk Webinar.

Related Articles

Detecting Credit Card Fraud Using SMLE
Platform
4 Minute Read

Detecting Credit Card Fraud Using SMLE

In this blog post, we’ll explore an ML-powered solution using the Splunk Machine Learning Environment to detect fraudulent credit card transactions in real time. Using out-of-the-box Splunk capabilities, we’ll walk you through how to ingest and transform log data, train a predictive model using open source algorithms, and predict fraud in real-time against transaction events.
REMA 1000’s Dashboarding Best Practices: Reducing Time to Resolution with Accessible Data and End-to-End Visibility
Platform
9 Minute Read

REMA 1000’s Dashboarding Best Practices: Reducing Time to Resolution with Accessible Data and End-to-End Visibility

By transforming complex data into actionable insights, REMA empowers all team members to make informed decisions.
Analyzing Text with Deep Learning: New Use Cases in Splunk DSDL
Platform
4 Minute Read

Analyzing Text with Deep Learning: New Use Cases in Splunk DSDL

In this blog post, we will introduce two use cases for text analysis based on deep learning: text similarity scoring and zero-shot text labeling. These functionalities are now available in the latest release (v5.1.1) of the Splunk App for Data Science and Deep Learning (DSDL), available for Splunk Cloud Platform and Splunk Enterprise. We will provide step-by-step demonstrations of how to use these features in this blog.