Hi,
I have a CDR file that I would like to parse. The file looks like this:
Thu Jun 1 06:00:00 2017
NAS-Identifier = 'TOR'
Acct-Status-Type = Stop
NAS-IP-Address = 10.2.1.16
NAS-Port = 5060
Thu Jun 1 06:10:00 2017
NAS-Identifier = 'MTRL'
Acct-Status-Type = Stop
NAS-IP-Address = 10.9.1.14
NAS-Port = 5060
What is the best way to parse it using logstash. My first Idea is to 'awk' the file and format it in Json format and then parse it on logstash. If there is a better way please let me know.
Thanks,