carina-studio / ULogViewer

Cross-Platform Universal Log Viewer.
https://carina-studio.github.io/ULogViewer/
MIT License
380 stars 39 forks source link

Feature request: Can you add apache logs support as well please? #15

Closed reddyshyam closed 2 years ago

reddyshyam commented 2 years ago

Hi,

Good day! Great app by the way! I have a feature request if I am may please. Ideally I would like to drop apache logs, see, filter and analyse it. Would this be possible?

hamster620 commented 2 years ago

Hi @reddyshyam Could you help to provide a sample Apache log file so that I can provide a log profile based-on it. Thanks.

reddyshyam commented 2 years ago

Hi @reddyshyam Could you help to provide a sample Apache log file so that I can provide a log profile based-on it. Thanks.

Hi @hamster620,

Good day! Thanks for getting back and trying. Please find attached a sample log file. Hope this helps. access.zip

Some log formatting basics if they help https://www.loggly.com/ultimate-guide/apache-logging-basics/ https://www.sentinelone.com/blog/detailed-introduction-apache-access-log/ https://httpd.apache.org/docs/2.4/logs.html

hamster620 commented 2 years ago

Hi @reddyshyam Here is a custom log profile based on the file you provided and documentation of Apache Access Log: ApacheAccessLog.json.zip

You just need to download, extract and import .json file to your ULogViewer before using it. You can refer to here if you want to modify or create your own log profile.

For any log file with unknown format, you can choose Raw Text In Files log profile to view content in file. It is also good to use ULogViewer as plain text viewer.

reddyshyam commented 2 years ago

Hi @reddyshyam Here is a custom log profile based on the file you provided and documentation of Apache Access Log: ApacheAccessLog.json.zip

You just need to download, extract and import .json file to your ULogViewer before using it. You can refer to here if you want to modify or create your own log profile.

For any log file with unknown format, you can choose Raw Text In Files log profile to view content in file. It is also good to use ULogViewer as plain text viewer.

Just perfect! Highly customisable. Thanks @hamster620. I really appreciate your help. 👍 🙏👏