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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

818 views 2 19
Join discussion

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