Hi there,
I wanted to share a tool I developed over the course of a day which performs the task of the built-in Log Analyser that is bundled with all Atlassian applications (aka. Hercules).
I've open-sourced the code on GitHub:
https://github.com/jackgraves/standalone-atlassian-log-scanner
Compared to the built-in tool, it is considerably faster - a 3MB log file time was as follows:
That's an over 70% improvement!
Hopefully this tool will help other people who are providing support to Atlassian systems.
In the future, I hope to improve on the code with:
If anyone has a chance to try it out, please let me know any feedback you have :).
Screenshot:
Hi Gonchik,
That's a great idea - I don't see any reason why this cannot be implemented - provided there is a XML document published (potentially on GitHub) which follows the structure of the Atlassian-provided files from this page:
<object-stream>
<RegexEntry>
<pageName>Page Name</pageName>
<regex>Regular Expression</regex>
<URL>https://www.url-of-troubleshooting-article.com</URL>
</RegexEntry>
...
</object-stream>
I will add this to my backlog for this project and try to write some example definitions for the scanner.
I expect this to work by replacing the product code (e.g. "jira-core") with a URL, which will then be downloaded and used instead - this will allow plugin vendors to provide their own definition packs.
Best Regards,
Jack
I've updated the Source Code with the suggested changes:
Next, I hope to allow you to pass multiple 'definitions', such as jira-core, jira-software and several custom plugin definition files in one operation.
Best Regards,
Jack
Hi @Jack [AppFox]!
Thank you for this opportunity!
Very good start for the admin tools development!
Cheers,
Gonchik Tsymzhitov
The above tools is scanning only for scanning atlassian-jira logs, If parse catalina logs it couldn't read. I would appreciate if enhance to support or share me open source tools to integrate with atlassian jira and scan.
Thanks