Splunk Cloud Platform

Help with writing props, keep getting error?

jackin
Path Finder

I have below logs 

Status: INFORMATION: Description: Beginning GDP Fransaction Script: 01-22-2023-01-13-04-PM

Status: INFORMATION: Description: txt file already exists

Status: INFORMATION: Description: csv file already exists

Status: OK: Description: C:\GDPFransactionScript\Inputs \GDPTestFile.csv copy to USB successful

Status: OK: Description: C:\GDPTransactionScript\Inputs \GDPTestFile.txt copy to USB successful

Status: ERROR: Description: http POST failed:

Status: ERROR: Description: https POST failed:

Status: INFORMATION: Description: End of GDP Transaction Script: 01-22-2023-01-13-04-PM

 

I have mentioned in my props 

CHARSET=AUTO

SHOULD_LINEMERGE=false

LINE_BREAKER=([\r\n]+)\Status

NO_BINARY_CHECK=true

disabled=false

TIME_PREFIX=^

But i am seeing error like failed to parse timestamp. Default to file modtime

How to resolve this issue

 

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Most of the example events do not contain a timestamp so Splunk has to use the file mod-time or the current time.  To use the current time, specify DATETIME_CONFIG = CURRENT.

Perhaps those lines are a single event.  If so, then try these settings

SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)Status INFORMATION: Description: Beginning
NO_BINARY_CHECK = true
disabled = false
TIME_PREFIX = Script:
TIME_FORMAT = %m-%d-%Y-%I:%M:%S-%p
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...