I've got a log file with rows like this: Action1 took: 00:00:00.0320605
I would like to parse it and output to elasticsearh.
As far as I know there is no such type like TimeSpan, so I need to convert it to int or float.
I think I've got 2 options here:
- Change the logging and print number of seconds as well
- Convert the existing TimeSpan to seconds representation using the logstash filters
How can I achieve this?