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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...