Splunk Search

How to reformat my table to make some rows into columns?

trutgers
Engager

I have a table that looks like the following:

Endpoint ------- Application -------- Count
A ------------------ app1 ------------------ 1
A ------------------ app2 ------------------ 5
A ------------------ app3 ------------------ 10
B ------------------ app1 ------------------ 15
B ------------------ app2 ------------------ 20

I would like to transform this into a table like this:

Endpoint -------- app1 -------- app2 -------- app3
A ------------------ 1 --------------- 5 ------------ 10
B ------------------ 15 ------------- 20

Is this possible?

Tags (5)
0 Karma
1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

Replace whatever is at the end of your search with this:

| contingency Endpoint Application

Bam!

View solution in original post

alacercogitatus
SplunkTrust
SplunkTrust

Replace whatever is at the end of your search with this:

| contingency Endpoint Application

Bam!

trutgers
Engager

This worked perfectly! Thanks!

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...