Splunk Search

how to duplicate value in one row to multiple rows.

theouhuios
Motivator

Hello

I am trying to duplicate the values of status and user for all rows below so that I can use them in my search later. Is there a way to have all rows filled with the status and user automatically ?

alt text

Tags (1)
0 Karma
1 Solution

Ayn
Legend

Use eventstats.

... | eventstats first(status) as status, first(user) as user | ...

View solution in original post

Ayn
Legend

Use eventstats.

... | eventstats first(status) as status, first(user) as user | ...
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...