Absent Member.. Absent Member..
Absent Member..

Log file pattern matching

I am looking to monitor a log file, but unable to filter the required string.

Sample Line

2017-02-28T16:16:30.685723+04:00 neengine Engine-01[542]: [2017-02-28 15:00:00] Devices with
Unsupported Browsers |FB103318|windows|Ajax|desktop|Windows 7 Professional SP1 (64 bits)|
28.02.2017@16:15:26|HP Compaq Elite 8400 SFF|

Filter which i am trying but which does not work 

<*>nexthinkengine Engine-01[542]: <*.MSG1> |<*.HOST>|<*.MSG2>

I think this is not matching due to "|" since it is also an OR operator

Tags (3)
2 Replies
Fleet Admiral
Fleet Admiral

Use pattern:

<*>neengine Engine-01\[542\]: <*.MSG1> \|<*.HOST>\|<*.MSG2>

HOST becomes: FB103318

MSG1: [2017-02-28 15:00:00] Devices with Unsupported Browsers

MSG2: windows|Ajax|desktop|Windows 7 Professional SP1 (64 bits)|28.02.2017@16:15:26|HP Compaq Elite 8400 SFF|


Fleet Admiral
Fleet Admiral

Hello @pHilp

I would like to know if the information provided was useful?
Please do not hesitate to let us know if you need something else.


Daniela Gómez Alvarado
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
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.