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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...