Skip to main content
abigaila
Participating Frequently
Jul 10, 2023 3:56 PM UTC
Solved

Filter logs by application

Is there a way to filter the system logs by application?

The use case is as follows: Our client has a ton of applications in their environment but they would like to consume/analyze the logs externally (using logstash for example) just for one specific application. That includes all types of logs (record usage, user login, design errors, etc.), not just one specific type (although I would think not all are applicable to be filtered).

Any thoughts around this?

mikes0011
mikes0011Answer
Brainy
Jul 10, 2023 4:07 PM UTC

I can't think of anything that wouldn't require either a) multiple environments (which i already assume you don't want or can't do), or b) lots of manual work to parse and then store log data locally.

For b, what I mean is: for our error message log file, I built a process that manually reads the CSV, parses it into a CDT, then stores it in our DB.  This enables me to have a site tab on our admin team site, where you can just type in the error message UUID (or any part of the error message, or user) and pull up the relevant error message.  These could likely be further parsed by application depending on the naming conventions used, or some other similar way.  But like I said it's a lot of front-end work to set up, and that's just for one log file.

The Expression Guru

4 replies

mikes0011
mikes0011Answer
Brainy
Jul 10, 2023 4:07 PM UTC

I can't think of anything that wouldn't require either a) multiple environments (which i already assume you don't want or can't do), or b) lots of manual work to parse and then store log data locally.

For b, what I mean is: for our error message log file, I built a process that manually reads the CSV, parses it into a CDT, then stores it in our DB.  This enables me to have a site tab on our admin team site, where you can just type in the error message UUID (or any part of the error message, or user) and pull up the relevant error message.  These could likely be further parsed by application depending on the naming conventions used, or some other similar way.  But like I said it's a lot of front-end work to set up, and that's just for one log file.

The Expression Guru
abigaila
abigailaAuthor
Participating Frequently
Jul 13, 2023 2:15 PM UTC

Thanks a lot for your detailed response Mike!

New Participant
Jul 13, 2023 12:15 PM UTC

did you try using Using the Windows Event Viewer? https://kodi.software/ https://dltutuapp.com/tutuapp-download/ 

mikes0011
Brainy
Jul 13, 2023 12:54 PM UTC
Using the Windows Event Viewer?

The Expression Guru