Splunk Search

How to join normalized data into a single timechart?

kuali_brandon
New Member

We have normalized data where multiple rows represent a single point in time, but attributes within the row represent the type. For example:

time=1 metric=ReadIOPs Average=0.01
time=1 metric=WriteIOPs Average=0.02

And so forth. There are multiple metric types beyond what is shown here. We would like to have this appear in a single timechart overlayed. We can get it to work in separate time charts by simply doing:

metric_name=ReadIOPs | timechart values(Average) as ReadIOPs

Is it possible to get this to join both Read and Write together into a single timechart?

0 Karma
1 Solution

sundareshr
Legend

Try this

 metric_name=* | chart values(Average) as IOPs over _time by metric_name

View solution in original post

sundareshr
Legend

Try this

 metric_name=* | chart values(Average) as IOPs over _time by metric_name
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Analytics Workspace deprecation

As of Splunk Cloud Platform 10.4.2604 and Splunk Enterprise 10.4, Analytics Workspace is now deprecated. ...

Splunk Developer Day Recap: Building, Publishing, and Growing on the Splunk Platform

Splunk Developer Day brought the Splunk developer community together for a practical look at what it means to ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...