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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Tuning Edge Processor in Hybrid Mode: What Limits Each Data Path

When you run Edge Processor in hybrid mode, alongside a Splunk heavy forwarder on the same host, two questions ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Request for Professional Development: Attending .conf26

Winning Over the Boss: Your Pass to .conf26 conf26 is going to be here before you know it. If don't already ...