Hello everyone,
I have the attached file that is generated every night through my client's internal system and I need to index the information to collect metrics.
I need these files to be indexed based on their date in the file name.
Ex: The name of the file generated by the system is (qtd_ramal_diario_04042020.txt, qtd_ramal_diario_05042020.txt, etc.), so I need it to be indexed according to the time in the file name.
I need to extract the information that is between ";" in separate fields with the names (Field1, Field2, Field3) respectively.
Remembering that this file is variable, there are days that generate many lines and others do not.
FIELD1 FIELD2 FIELD3
77111010; 8; 614
77111812; 1; 106
77115070; 1; 58
70666287; 4; 171
70662245; 12; 708
77196074; 23; 1439
Is there a way to do this with Splunk?
Below is an example of the generated log:
78122960;2; 132
55002801;3; 279
8068256;8; 466
80661008;4; 134
55258888; 21;1843
76283160;1;25
55735555; 15;1027
55191240;1; 267
80662176;2; 249
790965034;3;93
55159608;1;20
80668021;1;19
76282680;2; 154
80664441;5; 536
71172794;1;28
55196157; 16;1208
55192425;3; 347
55196091;1;23
55192404;1;71
55196032; 24; 996
55196553;2;78
55196040;4;1087
55196426;1; 152
78111816;2; 157
78111847;1;30
78111815;6; 429
78111814;3; 233
55021902;2; 278
55034140;4; 159
550364331;1;80
550561127;2;78
↧