Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: tekalekahi...i have a txt file that i need to be converted into columns.The data i am dealing with consists of multiple txt files and i need to be able to convert it into table view with its fields and attributes. I managed to convert this but the output is mixed up ie. 'OctetsIn' from 'Uid' = "aaa" goes to 'OctetsIn' of 'UId'= "bbb". I can post my filter statement but i want a fresh approach to this please. I will post my approach if you guys need it.
[2013-06-01 00:00:40]
Type = Bytes
UId = aaa
CallingId =
SessionSeconds = 13738
OctetsIn = 1.50
OctetsOut = 9.44
[2013-06-01 00:00:51]
Type = Bytes
UId = bbb
CallingId =
SessionSeconds = 5592
OctetsIn = 25.99
OctetsOut = 132.75
[2013-06-01 00:01:18]
Type = Bytes
UId = ccc
CallingId =
SessionSeconds = 2777
OctetsIn = 6.88
OctetsOut = 3.10
I need it to be in the following format:
Date,Time,Types,UId,CallingId,SessionSeconds,Octet sIn,OctetsOut
2013-06-01,00:00:40,Bytes,aaa,,13738,1.50,9.44
2013-06-01,00:00:51,Bytes,bbb,,5592,25.99,132.75
.........
thanks in advance