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!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

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 ...