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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

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