key=time,value=09:54:37:566
if line have key=R then value=SRV1 OR if line have key=S then value=SRV2 (R means recieve, S means send), two R with two S (SRV1,SRV2) with same ID(696119) and T(0300=0310) means a complete transaction.
key=L, value=477
key=T, value=0300
key=ID, value=696119
FYI: four lines like above log that I mentioned are single transaction, now need to extract from file that contain lot's of these lines.
1-number of transactions
2-incomplete transactions
3-duraion of transactions
Obviously you may need to rewrite parts of that to suit your use case. As always with aggregate you will need pipeline.workers set to 1 and pipeline.ordered to evaluate to true.
@Badger two other issues:
1- show delimiter for ID like this: 624,325 how get ride of it, correct value is: 624325
2-generate negative value for duration -0.259, correct value is: 0.259
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.