Comment 3 for bug 1182091

Revision history for this message
Andrew Johnson (anj) wrote :

Summing up our Zoom discussion: The ts post filter should be able to allocate a new db_field_log and convert the timestamp from the pLog->time field into a new value of whatever type/format was requested by the filter args.

My preference would be that ts:{fmt="%Y-%m-%d %H:%M:%S.%09f"} would return a DBF_STRING (although Michael isn't keen on accepting format strings from the network for security reasons; we can discuss that), while say ts:{epoch:1970} would return a double giving the number of seconds since 1970-01-01 00:00:00 UTC (that being the Posix epoch, while for 1990 it would use the EPICS epoch).