Absent Member.
Absent Member.
172 views

Help to extract User details using Regex mapping

Hi All,

Below is my sample events. From this i need to map User details which is highlighted.

Since user name not in specific format, can any one advise how to write mapping for this?

2014-05-02 00:56:15,678 [http-localhost%2F127.0.0.1-9300-13] INFO  com.hp.ov.cr.auth.cognos.ErsAuthenticationProvider  Internal logon request with User: ErsAdmin

2014-05-02 00:56:15,881 [http-localhost%2F127.0.0.1-9300-13] INFO  com.hp.ov.cr.auth.cognos.ErsAuthenticationProvider  User ErsAdmin logged off.

2014-05-02 00:56:15,881 [http-localhost%2F127.0.0.1-9300-5] INFO  com.hp.ov.cr.auth.cognos.ErsAuthenticationProvider  logon request from NNMi trusted User: opcprado, Role: level1, UserGroups: level1

2014-05-02 01:02:00,585 [http-localhost%2F127.0.0.1-9300-13] INFO  com.hp.ov.cr.auth.cognos.ErsAuthenticationProvider  User opcprado logged off.

2014-05-02 01:02:34,828 [http-localhost%2F127.0.0.1-9300-9] INFO  com.hp.ov.cr.auth.cognos.ErsAuthenticationProvider  Internal logon request with User: ErsAdmin

2014-05-02 01:02:35,078 [http-localhost%2F127.0.0.1-9300-9] INFO  com.hp.ov.cr.auth.cognos.ErsAuthenticationProvider  User ErsAdmin logged off.

2014-05-02 01:02:35,078 [http-localhost%2F127.0.0.1-9300-13] INFO  com.hp.ov.cr.auth.cognos.ErsAuthenticationProvider  logon request from NNMi trusted User: opcprado, Role: level1, UserGroups: level1

2014-05-02 01:07:00,002 [http-localhost%2F127.0.0.1-9300-9] INFO  com.hp.ov.cr.auth.cognos.ErsAuthenticationProvider  User opcprado logged off.

2014-05-02 01:07:35,259 [http-localhost%2F127.0.0.1-9300-11] INFO  com.hp.ov.cr.auth.cognos.ErsAuthenticationProvider  Internal logon request with User: ErsAdmin

thanks

jayakrishnan

Labels (1)
0 Likes
1 Reply
Fleet Admiral
Fleet Admiral

This has already been answered in your previous question

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.