My log item collecting is working and I grab only the log lines I want with the use of regex.
In my latest data is have Timestamp, local time and value,
Timestamp = 2025-01-20 07:37:17
local time = <empty>
value = "07:36:23 - [some item] error text"
The code above is format of the log file
In my template item I have Log time format "hh:mm:ssppp" which still leave the local time empty, tested also with "hh:mm:ss" and still the local time column stays empty.
How can I get the logfile time in the local time column.
I use logRT because the machine generates a daily log file with where the log filename contains the date.
In my latest data is have Timestamp, local time and value,
Timestamp = 2025-01-20 07:37:17
local time = <empty>
value = "07:36:23 - [some item] error text"
Code:
07:36:23 - [some item] error text 17:26:23 - [some item] error text
In my template item I have Log time format "hh:mm:ssppp" which still leave the local time empty, tested also with "hh:mm:ss" and still the local time column stays empty.
How can I get the logfile time in the local time column.
I use logRT because the machine generates a daily log file with where the log filename contains the date.
Comment