Splunk Search

Table Modify Structure

adityapavan18
Contributor

I have a query which results in following data

alt text

But i need to generate a table in this format

alt text

Tags (3)
0 Karma
1 Solution

imrago
Contributor

You could use chart instead of table

... | chart sum(TxDuration) over ProductID by Tier

http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Chart

View solution in original post

imrago
Contributor

You could use chart instead of table

... | chart sum(TxDuration) over ProductID by Tier

http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Chart

adityapavan18
Contributor

productID, TxDuration, Tier are three fields

0 Karma

adityapavan18
Contributor

sorry images not uploaded properly..

I have a query which results in following data

ProductID txnDuration Tier


1 0.12 Tier_1


1 0.14 Tier_2


1 1.25 Tier_3


2 0.56 Tier_1


2 0.89 Tier_2

But i need to generate a table in this format

productID Tier_1 Tier_2 Tier_3


1 0.12 0.14 1.25


2 0.56 0.89

Can any one help me here please.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...