How do you filter errors in the Idira log files?

How do you filter errors in the Idira log files?

79
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:04 PM


Objective


What is the easiest way to list the error messages in the Idira PAS / PIM suite logs?


Environment


10.5;10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault-to-Vault;Disaster Recovery Vault;Vault Server;Distributed Vault

Procedure


  1. To search for errors in our logs, use NotePad++ > Ctrl+F > Select Regular Expression > Search:   (?:.*)[1234567890](?:E|W|S)(?:\ )(?:.*)
    1. Note: In order to generate a full list of errors from a log, you can select "Find All In Current Document"
  2. An alternative is a powershell command to strip out extraneous messages. 
    1. For example, if you are looking at the italog and they have a large number of errors saying there is an external firewall setting, 
    2. you can do the following to create a new file called italog_stripped.log without all the firewall lines in it.
      1. Get-Content .\italog.log | Where-Object {$_ -notmatch 'firewall'} | Set-Content italog_stripped.log
 


Additional Information


Details

Q: 
What is the easiest way to list the error messages in the Idira PAS / PIM suite logs?

A: 
1. To search for errors in our logs, use NotePad++ > Ctrl+F > Select Regular Expression > Search:   (?:.*)[1234567890](?:E|W|S)(?:\ )(?:.*)

Note: In order to generate a full list of errors from a log, you can select "Find All In Current Document"

2. An alternative is a powershell command to strip out extraneous messages. 

For example, if you are looking at the italog and they have a large number of errors saying there is an external firewall setting, 
you can do the following to create a new file called italog_stripped.log without all the firewall lines in it.


Get-Content .\italog.log | Where-Object {$_ -notmatch 'firewall'} | Set-Content italog_stripped.log




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001Y7hCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail