Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

Unable to extract timestamp from a CSV file

$
0
0

Hi All, I'm trying to extract some reports form a sample csv file. the first two lines are:

BOT_ID,TECHNOLOGY,TEST_CASE_ID,TEST_CASE_NAME,TEST_PARAM_NAME,TEST_PARAM_VALUE,TEST_PARAM_UNIT,TEST_CASE_RESULT_ID,TEST_SUITE_RESULT_ID,TIMESTAMP DD-99-AA-55-11-11,LTE,14,NA,LAC,ffff,NA,12e285e0-7a38-416e-b077-88aca4add7c8,fedec8a8-a156-4fc9-a63a-049523f2972e,11-01-2013 12:13:16

it fails with an error "could not use strptime to parse timestamp (null). Tried adding TIME_FORMAT=%d-%m-%y %H:%M:%S but this does not work either. What an I missing?

My prop file looks like this:

-#your settings NO_BINARY_CHECK=1 SHOULD_LINEMERGE=false TIME_FORMAT=%d-%m-%y %H:%M:%S TIME_PREFIX=^([^,]*,){14}

-#set by detected source type CHECK_FOR_HEADER=true KV_MODE=none pulldown_type=true


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>