Splunk Search

How to join metric data

drezanka
Explorer

I have several types of metric data going into a metric index. One has 'username' and 'DimA' as dimensions, and 'ValueA' as the metric_name.
The second type of metric data has 'DimA' as its dimension and 'ValueB' as the metric_name.
I would like to associate the 'username' with 'ValueB'.

How can I accomplish this?

0 Karma

somesoni2
Revered Legend

You should be able to run join after running mstats command like this
https://answers.splunk.com/answers/592935/using-mstats-to-create-separate-columns-per-metric-1.html

OR you can use append-stats alternative of join.

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...