05-14-2014 11:54 AM
I am trying to search message logs from CLI. My search query which involves a regular expression is giving thousands of results. We need to further filter the results using another regular expression. Please let me know if we can put two regular expressions in the search query.
Below is how I use grep command: Can I use multiple regular expression separated by a "|" (pipe) symbol
Enter the regular expression to grep.
[]> MID 123456
Solved! Go to Solution.
05-14-2014 01:28 PM
No - unfortunately - from the CLI on the ESA/SMA - the 'grep' command is not as intuitive as the unix/linux 'grep'. You would need to push logs off appliance, and then take advantage of an external OS in order to parse through the logs as definitively needed.
-Robert
(*If you have received the answer to your original question, and found this helpful/correct - please mark the question as answered, and be sure to leave a rating to reflect!)
05-14-2014 01:28 PM
No - unfortunately - from the CLI on the ESA/SMA - the 'grep' command is not as intuitive as the unix/linux 'grep'. You would need to push logs off appliance, and then take advantage of an external OS in order to parse through the logs as definitively needed.
-Robert
(*If you have received the answer to your original question, and found this helpful/correct - please mark the question as answered, and be sure to leave a rating to reflect!)
05-14-2014 02:13 PM
Thanks Rob!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide