4
responses

Hi everyone,

I'm getting this issue of

1) assignment failed at line 215, character 67 in C:\Program Files (x86)\nxlog\conf\nxlog.conf. statement execution has been aborted function 'strftime' failed at line 215, character 66 in C:\Program Files
(x86)\nxlog\conf\nxlog.conf. expression evaluation has been aborted got 'unknown' for first argument of function 'strftime(datetime, string)'.

2) if-else failed at line 208, character 277 in C:\Program Files (x86)\nxlog\conf\nxlog.conf. statement execution has been aborted procedure 'parse_csv' failed at line 208, character 129 in C:\Program Files
(x86)\nxlog\conf\nxlog.conf. statement execution has been aborted Not enough fields in CSV input, expected 17, got 0 in input ''

Below is the line the error is refering to:
1) Exec $EventTime = strftime($EventTime, '%Y-%m-%d %H:%M:%S, %z');
2) }

Kindly help me out to fix this issue and what is causing the error.

Thanks.

AskedOctober 16, 2020 - 5:39pm

Answer (1)

Hello,

Could you provide your full conf file?

Thanks,

Rafal

Comments (3)

  • raf's picture
    (NXLog)

    Hello,

    Point 1): Unfortunately, I was unable to reproduce it. Could you tell me more about your setup? Which version of NXLog and Windows do you use?

    point 2): (x86)\nxlog\conf\nxlog.conf. statement execution has been aborted Not enough fields in CSV input, expected 17, got 0 in input clearly states your CSV file is (most likely) empty or corrupted. Please, take a look at that.

    Regards,

    Rafal