Splunk Search

How to concatenate strings with special characters?

tondapi
New Member

Hi,

How can I concatenate Start time and duration in below format. Right now I am using this, but it is only half working.

... | eval newField= Start_time."".duration 

Desired format : 01:40[20m]

Tags (2)
0 Karma

woodcock
Esteemed Legend

You just need spacing, like this:

...| eval newField = Start_time . "[" . duration . "]"
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...