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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...