I have log in here
There are any line that print
3GPP-IMSI : String Value = 528111500090773
Calling-Station-Id : String Value = 6738804956
Then I will parse log become ( only takes IMSI and MSISDN number )
3GPP-IMSI,Calling-Station-Id
528111500090773,6738804956
.
.
.
.
end
Can anybody help me?
I've try using awk and doesn't work
here my script
Quote
/\Dictionary\ /{f=1}
/\3GPP-IMSI\ /{imsi=$2}
f && /\Calling-Station-Id\ /{msisdn=$2}
f && /Accounting /{
s= imsi "," msisdn
print s
f=0
}' SBR_FE2_grep.log

Sign In
Register
Help


MultiQuote