wow, tks
| makeresults | eval data = "
801 20/01/2018 18:40 262719 329507;
863 20/01/2018 23:50 264437 331450;
864 20/01/2018 23:55 264454 331467;
865 21/01/2018 0:00 264464 331477;
1151 21/01/2018 23:50 271316 339177;
1152 21/01/2018 23:55 271328 339189;
1153 22/01/2018 0:00 271339 339201;
1154 22/01/2018 0:05 271354 339221;
1155 22/01/2018 0:10 271365 339232;
1156 22/01/2018 0:15 271373 339240" |
makemv delim=";" data |
mvexpand data |
rex field=data "(?<serial>[\d]*)\s+(?<_time>\d{2}\/\d{2}\/\d{4}\s+\d{1,2}\:\d{1,2})\s+(?<delivery>\d+)\s+(?<sent>\d+)" |
fields - data serial |
rex field=_time "(?<condition>\d{1,2}:\d{1,2})" |
where condition="0:00" OR condition="00:00" |
delta delivery as delivery |
delta sent as sent |
fields - condition
Tidied it up a bit and get the following:
_time delivery sent
1 21/01/2018 0:00 264464 331477
2 22/01/2018 0:00 6875 7724
But how do I get the values 6875 and 7724 to be in the same _time row as 21/01/2018 0:00??
... View more