I am trying to write a logstash filter to extract individual sub-fields from on concatenated field.
I have a field CGI = 640070003110080
CGI = 640070003110080
I want to split the CGI field in to four other fields as follows;
MCC = 640 MNC = 07 LAC = 00031 CellID = 10080
CGI is always 15 digits long, 1st to 3rd digits are MCC, 4th to 5th digits are MNC, 6th to 10th digits are LAC and 11th to 15th digits are CellID
Which filter plugin can I use? I tried to search I could not find any so far.