Hi,
I have a log pattern like this
requrl : serviceName: **abcd** key: **xyz-abc-def** header: http
requrl : serviceName: **efgh** key: **abc-asd-sssd** header: http
requrl : serviceName: **1234** key: **abc-1234-sssd** header: http
The above log lines follow the pattern - requrl : serviceName: **** key: **** header: http
The bold items are values that changes.
I would like to find the unique pattern on the above. The above pattern can be duplicated - like the first line can be multiple times.
I would need a table which prints that serviceName and key. Also would like to ignore the duplicate entries.So, if the same line prints in the log multiple time, i would like to have only one entry in the table.
serviceName key
abcd xyz-abc-def
efgh abc-asd-sssd
1234 abc-1234-sssd
How would i do that? Can anyone help me here?
... View more