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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...