fkie-cad / Logprep

log data pre processing, generation and shipping in python
https://logprep.readthedocs.io/en/latest/
GNU Lesser General Public License v2.1
31 stars 8 forks source link

add dynamic scaling of time representations #690

Closed Malutthias closed 3 weeks ago

Malutthias commented 3 weeks ago

The solution adjusts the timestamp to the actual length so that the timestamp is processed correctly regardless of its precision (milliseconds, microseconds, nanoseconds). It dynamically takes into account how many additional digits are present and scales accordingly to obtain a correct time representation in seconds.Tests are also added. fixed issue 687