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!

Hunt Smarter, Not Harder: Discover New SPL “Recipes” in Our Threat Hunting Webinar

Are you ready to take your threat hunting skills to the next level? As Splunk community members, you know the ...

Splunk ITSI & Correlated Network Visibility

  Now On Demand   Take Your Network Visibility to the Next Level In today’s complex IT environments, ...

Community Content Calendar, August edition

In the dynamic world of cybersecurity, staying ahead means constantly solving new puzzles and optimizing your ...