/
Log Troubleshooting / Grep examples
Log Troubleshooting / Grep examples
Important logs:
atlassian-jira.log (type locate atlassian-jira.log
in UNIX to find in directory)
(Below this line could be cleaned up - I copied/pasted this from my personal confluence space)
User enters issue into quick bar: (TEST-101)
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:28 -0400] "POST /rest/webResources/1.0/resources HTTP/1.1" 200 445 7 "https://labopsjira.broadinstitute.org/browse/TEST-101" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:28 -0400] "GET /browse/TEST-101 HTTP/1.1" 200 17957 320 "https://labopsjira.broadinstitute.org/browse/TEST-100" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:28 -0400] "POST /rest/webResources/1.0/resources HTTP/1.1" 200 294 7 "https://labopsjira.broadinstitute.org/browse/TEST-101" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:28 -0400] "GET /secure/useravatar?size=small&ownerId=mhusby&avatarId=13211 HTTP/1.1" 200 2047 4 "https://labopsjira.broadinstitute.org/browse/TEST-101" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:28 -0400] "GET /rest/menu/latest/appswitcher?_=1503420568458 HTTP/1.1" 200 291 4 "https://labopsjira.broadinstitute.org/browse/TEST-101" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:28 -0400] "GET /rest/hipchat/integrations/1.0/issuepanel/data/TEST-101?_=1503420568571 HTTP/1.1" 200 183 8 "https://labopsjira.broadinstitute.org/browse/TEST-101" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:28 -0400] "GET /rest/hipchat/integrations/1.0/configuration/status?_=1503420568577 HTTP/1.1" 200 141 5 "https://labopsjira.broadinstitute.org/browse/TEST-101" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:28 -0400] "POST /rest/webResources/1.0/resources HTTP/1.1" 200 390 9 "https://labopsjira.broadinstitute.org/browse/TEST-101" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:28 -0400] "GET /rest/supportHealthCheck/1.0/check/biasella?_=1503420568611 HTTP/1.1" 200 57 7 "https://labopsjira.broadinstitute.org/browse/TEST-101" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:28 -0400] "GET /secure/AjaxIssueEditAction!default.jspa?decorator=none&issueId=129504&_=1503420568593 HTTP/1.1" 200 9346 38 "https://labopsjira.broadinstitute.org/browse/TEST-101" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:28 -0400] "POST /rest/webResources/1.0/resources HTTP/1.1" 200 420 7 "https://labopsjira.broadinstitute.org/browse/TEST-101" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:29 -0400] "POST /rest/analytics/1.0/publish/bulk HTTP/1.1" 200 40 7 "https://labopsjira.broadinstitute.org/browse/TEST-101" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
cp589-16c.broadinstitute.org - biasella [22/Aug/2017:12:49:29 -0400] "GET /rest/api/2/filter/favourite?expand=subscriptions[-5:]&_=1503420568779 HTTP/1.1" 200 11149 348 "https://labopsjira.broadinstitute.org/browse/TEST-101" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
See who navigated to tabs in rapidboard configurations. Use access_logs.
Command:
grep rapidView=1085 access_log.2017-11-06 | grep tab=
Output:
10.75.114.45 697x317481x1 biasella [06/Nov/2017:11:37:49 -0500] "POST /rest/analytics/1.0/publish/bulk HTTP/1.1" 200 40 8 "https://labopsjiratest.broadinstitute.org/secure/RapidView.jspa?rapidView=1085&tab=swimlanes" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36" "15rzgkz"
10.75.114.45 698x317483x1 biasella [06/Nov/2017:11:38:04 -0500] "POST /rest/analytics/1.0/publish/bulk HTTP/1.1" 200 40 6 "https://labopsjiratest.broadinstitute.org/secure/RapidView.jspa?rapidView=1085&tab=detailView" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36" "15rzgkz"
10.75.114.45 698x317484x1 biasella [06/Nov/2017:11:38:09 -0500] "POST /rest/analytics/1.0/publish/bulk HTTP/1.1" 200 40 55 "https://labopsjiratest.broadinstitute.org/secure/RapidView.jspa?rapidView=1085&tab=swimlanes" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36" "15rzgkz"
See if someone deleted an issue
ssh into relevant server (e.g. ssh vlabopsjira1)
enter the following command, which searches all access logs from 2019. (grep stands for global regular expression print, basically a text search)
example for labopsjira