Splunk Search

Field Extraction Help

carmackd
Communicator

I would like to combine extracted values into a single field. Here is my transform

[end_time_extact]
REGEX = (\d+\/\d+\/\d+)[,](\d+:\d+:\d+)
FORMAT = end_time::$2

A comma seperates yy/mm/dd from hh:mm:ss and i would like to join the two into a single field.

Suggestions? I've tried

FORMAT = end_time::$1:$2

along with many other variations

Tags (1)
0 Karma

woodcock
Esteemed Legend

Do it in reverse order like this:

[end_time_extact]
REGEX = (\d+/\d+/\d+[,]\d+:\d+:\d+)
FORMAT = end_time::$1

[split_end_time]
SOURCE_KEY=end_time
REGEX = (?<end_time_part1>\d+/\d+/\d+)[,](?<end_time_part2>\d+:\d+:\d+)
0 Karma

dwaddle
SplunkTrust
SplunkTrust

can you supply a couple of sample (redacted if necessary) events?

0 Karma
Get Updates on the Splunk Community!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...