Splunk Search

How to repeat a string in multiple row table

harshal_chakran
Builder

Hi,

I have written a search query to get a table as shown below:

alt text

I want to add one more column, where I want to repeat the string "overhead" in all the existing rows.
i.e.

alt text

Please guide me how to do this.

Tags (4)
0 Karma

MuS
Legend

Hi harshal,

just add an eval to your search like this

YourMagicSearchFu | eval parameter="overhead" | table parameter ID Value

hope this helps ...

cheers, MuS

MuS
Legend

HeHe, thanks somesoni2 for correcting the eval command 😉

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...