Splunk Search

How to add a row in a table based on the value of the cell?

fperalde
Engager

Hello,

Here is my data! Basically everything is in the same table, however I separated to better explain my problem! 

number

customer

ref

1

1

A

2

1

B

3

1

C

4

2

D

 

number

customer

ref

2-1

X

B

2-2

X

B

3-1

X

C

 

I would like a table that groups all the data as you can see here, with an order as you can see made by a correlation on the "ref" :

number

customer

ref

1

1

A

2

1

B

2-1

X

B

2-2

X

B

3

1

C

3-1

X

C

4

2

D

 

I have already tried many things, the map, the append, the foreach, etc. 

Do you have any ideas?

Thank you

Labels (3)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Does this give you what you want?

| sort 0 ref number

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

Does this give you what you want?

| sort 0 ref number
Get Updates on the Splunk Community!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...