Invalid format when using Copy input


#1

HI!

I’m running into an issue when trying to copy input a log file timestamp out of the message.

Here is the log file:

Thu Mar 08 09:58:31 2018

“***********************************************************************” (I added those quotes to prevent formating)

Fatal NI connect error 12170.

VERSION INFORMATION:

Here is the input copy config:

Here is the log error:

2018-03-08T09:58:58.158-05:00 ERROR [Extractor] Could not apply converter [date] of extractor [d9361d10-22d9-11e8-a26f-005056bd5bb0].
java.lang.IllegalArgumentException: Invalid format: "Thu Mar 08 09:58:46 2018

*****************************…" is malformed at "

*****************************…"

Any suggestions on how to fix this would be really appreciated


(Jochen) #2

The date converter expects the field to exclusively contain the date string and nothing else.


#3

That fixed my issue, thank you!!!


(system) #4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.