Getting Data In

How to edit props.conf to retrieve time from my data?

sravankaripe
Communicator

i have a data like this:

   capturedTime = "12/6/16, 9:08 PM";    indymeDepartmentNumber = 250;   lastCacheTime = "12/6/16, 12:00 AM";    storeNumber = 1520;          vendorID = "4426E4B9-1658-438C-9890-6A01DB164189";
capturedTime = "12/6/16, 6:07 PM";      indymeDepartmentNumber = 250;     lastCacheTime = "12/6/16, 12:00 AM";      storeNumber = 1520;      vendorID = "4426E4B9-1658-438C-9890-6A01DB164189";
capturedTime = "12/6/16, 3:32 PM";    indymeDepartmentNumber = 250;     lastCacheTime = "12/6/16, 12:00 AM";        storeNumber = 1520;    vendorID = "4426E4B9-1658-438C-9890-6A01DB164189";

i need to retrieve time(capturedTime) from above data . please help me with the props

TIME_FORMAT=
TIME_PREFIX=
BREAK_ONLY_BEFORE=

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust
TIME_FORMAT=%m/%d/%y, %H:%M %p
TIME_PREFIX="
BREAK_ONLY_BEFORE=capturedTime
---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust
TIME_FORMAT=%m/%d/%y, %H:%M %p
TIME_PREFIX="
BREAK_ONLY_BEFORE=capturedTime
---
If this reply helps you, Karma would be appreciated.
0 Karma

sravankaripe
Communicator

%m/%d/%y, %I:%M %p

0 Karma
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...