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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...