All Apps and Add-ons

split one field in two column

goyals05
Explorer

Hi,

How can we split Time in two different column.

alt text

Tags (2)
0 Karma
1 Solution

elliotproebstel
Champion

If each row has exactly two values for Time, I'd suggest this:

your base search 
| eval first_time=mvindex(Time, 0), last_time=mvindex(Time, 1)

This will create two new fields, each containing one of the values from the Time field.

View solution in original post

elliotproebstel
Champion

If each row has exactly two values for Time, I'd suggest this:

your base search 
| eval first_time=mvindex(Time, 0), last_time=mvindex(Time, 1)

This will create two new fields, each containing one of the values from the Time field.

Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...