Connection Access Logs and Events.

Working on some access/event loggging for both Confluence and JIRA:

 

http://www.mos-eisley.dk/display/ATLASSIAN/Access+Logging+in+Confluence

http://www.mos-eisley.dk/display/ATLASSIAN/Logging+PageEvents+to+Splunk

(Work in progress - comments welcome)

 

I would like to corrolate access logs and/or catalina.out from Tomcat with Confluence Events. In catalina.out, there is a "token", can this token be found in a Event? A Catalina out:

 

2017-10-27 08:18:31,054 http-nio-6060-exec-18 INFO person@@domain.com 498x3216418x1 9egm1s 77.2412.33 /rest/jddap/1.0/attachment [ExampleListener.class] Script=Listener.groovy IssueKey=PROJECT-723 ScriptRunIdent=32533 Action=EndScript

 

Can the "9egm1s" part be grabbed in the script or event?

1 answer

Hi!

I have excluded this paramater in my parser, 

because I have not seen any reason in my experience. 

 

Better for your situation you need parse  pattern from Valve config (server.xml) and log4j.properties 

https://confluence.atlassian.com/confkb/audit-confluence-using-the-tomcat-valve-component-223216846.html

https://tomcat.apache.org/tomcat-8.0-doc/config/valve.html

https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html

 

I hope it will help you.

I will be happy if you click vote and answer accepted:)

 

 

Cheers, 

Gonchik Tsymzhitov

Hi,

 

Interesting links, but I dont think my core question was answered, as in can I corrolate logs and events. 

Preferrably by a unique ident that is present in both logs and events.

 

BR,

 

Normann

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

75 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you