Advertisement
ponsfrilus

Grafana OAuth2 Github Login Logs

May 30th, 2023 (edited)
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 38.19 KB | None | 0 0
  1. logger=ngalert.state.manager t=2023-05-30T21:53:08.127327328Z level=debug msg="Recording state cache metrics" now=2023-05-30T21:53:08.127295139Z
  2. logger=context userId=0 orgId=0 uname= t=2023-05-30T21:53:08.496417338Z level=info msg="Request Completed" method=GET path=/login/github status=302 remote_addr=128.179.1.2 time_ms=2 duration=2.038614ms size=282 referer=https://grafana.noc-test.fsd.team/login handler=/login/:name
  3. logger=oauth t=2023-05-30T21:53:08.92855701Z level=info msg="state check" queryState=e13e607de265a74d4f35136d3f148f55ae0f0de9a90daa31c3141b8f1b5440d0 cookieState=e13e607de265a74d4f35136d3f148f55ae0f0de9a90daa31c3141b8f1b5440d0
  4. logger=oauth t=2023-05-30T21:53:09.198165532Z level=debug msg="OAuthLogin: got token" expiry="0001-01-01 00:00:00 +0000 UTC" type=Bearer access_token=gho_Mmtp0EV8BM4dlAxxp2aEAhvKpEWkPl1AQYTe refresh_token=
  5. logger=oauth.github t=2023-05-30T21:53:09.435947596Z level=debug msg="HTTP GET" url=https://api.github.com/user status="200 OK" response_body="{\"login\":\"ponsfrilus\",\"id\":176002,\"node_id\":\"MDQ6VXNlcjE3NjAwMg==\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/176002?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/ponsfrilus\",\"html_url\":\"https://github.com/ponsfrilus\",\"followers_url\":\"https://api.github.com/users/ponsfrilus/followers\",\"following_url\":\"https://api.github.com/users/ponsfrilus/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/ponsfrilus/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/ponsfrilus/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/ponsfrilus/subscriptions\",\"organizations_url\":\"https://api.github.com/users/ponsfrilus/orgs\",\"repos_url\":\"https://api.github.com/users/ponsfrilus/repos\",\"events_url\":\"https://api.github.com/users/ponsfrilus/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/ponsfrilus/received_events\",\"type\":\"User\",\"site_admin\":false,\"name\":\"Nicolas Borboën\",\"company\":\"@epfl-si\",\"blog\":\"https://ponsfrilus.github.io\",\"location\":\"Lausanne, Switzerland\",\"email\":null,\"hireable\":null,\"bio\":\"Full Stack Engineer @epfl-si, volunteer @epfl-dojo! #1TBS\",\"twitter_username\":\"ponsfrilus\",\"public_repos\":172,\"public_gists\":13,\"followers\":83,\"following\":143,\"created_at\":\"2010-01-04T09:35:59Z\",\"updated_at\":\"2023-05-28T16:03:25Z\"}"
  6. logger=oauth.github t=2023-05-30T21:53:09.758649282Z level=debug msg="HTTP GET" url="https://api.github.com/user/teams?per_page=100" status="200 OK" response_body="[{\"name\":\"Owners\",\"id\":101478,\"node_id\":\"MDQ6VGVhbTEwMTQ3OA==\",\"slug\":\"owners\",\"description\":\"Fixme, hackerspace Lausanne, https://fixme.ch/ \",\"privacy\":\"secret\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/1140610/team/101478\",\"html_url\":\"https://github.com/orgs/fixme-lausanne/teams/owners\",\"members_url\":\"https://api.github.com/organizations/1140610/team/101478/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/1140610/team/101478/repos\",\"permission\":\"admin\",\"created_at\":\"2007-10-20T11:24:19Z\",\"updated_at\":\"2014-08-04T13:48:49Z\",\"members_count\":21,\"repos_count\":30,\"organization\":{\"login\":\"fixme-lausanne\",\"id\":1140610,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjExNDA2MTA=\",\"url\":\"https://api.github.com/orgs/fixme-lausanne\",\"repos_url\":\"https://api.github.com/orgs/fixme-lausanne/repos\",\"events_url\":\"https://api.github.com/orgs/fixme-lausanne/events\",\"hooks_url\":\"https://api.github.com/orgs/fixme-lausanne/hooks\",\"issues_url\":\"https://api.github.com/orgs/fixme-lausanne/issues\",\"members_url\":\"https://api.github.com/orgs/fixme-lausanne/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/fixme-lausanne/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/1140610?v=4\",\"description\":null,\"name\":\"Hackerspace Fixme, Lausanne, Switzerland\",\"company\":null,\"blog\":\"https://fixme.ch/\",\"location\":\"Lausanne, Switzerland\",\"email\":null,\"twitter_username\":null,\"is_verified\":false,\"has_organization_projects\":true,\"has_repository_projects\":true,\"public_repos\":37,\"public_gists\":0,\"followers\":1,\"following\":0,\"html_url\":\"https://github.com/fixme-lausanne\",\"created_at\":\"2011-10-20T11:59:29Z\",\"updated_at\":\"2020-02-28T13:15:20Z\",\"type\":\"Organization\"},\"parent\":null},{\"name\":\"Watchers\",\"id\":411537,\"node_id\":\"MDQ6VGVhbTQxMTUzNw==\",\"slug\":\"watchers\",\"description\":null,\"privacy\":\"secret\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/4472300/team/411537\",\"html_url\":\"https://github.com/orgs/ssergni/teams/watchers\",\"members_url\":\"https://api.github.com/organizations/4472300/team/411537/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/4472300/team/411537/repos\",\"permission\":\"pull\",\"created_at\":\"2013-05-21T12:00:02Z\",\"updated_at\":\"2013-05-21T12:00:02Z\",\"members_count\":12,\"repos_count\":0,\"organization\":{\"login\":\"ssergni\",\"id\":4472300,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjQ0NzIzMDA=\",\"url\":\"https://api.github.com/orgs/ssergni\",\"repos_url\":\"https://api.github.com/orgs/ssergni/repos\",\"events_url\":\"https://api.github.com/orgs/ssergni/events\",\"hooks_url\":\"https://api.github.com/orgs/ssergni/hooks\",\"issues_url\":\"https://api.github.com/orgs/ssergni/issues\",\"members_url\":\"https://api.github.com/orgs/ssergni/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/ssergni/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/4472300?v=4\",\"description\":null,\"name\":\"Developer\",\"company\":null,\"blog\":null,\"location\":null,\"email\":null,\"twitter_username\":null,\"is_verified\":false,\"has_organization_projects\":true,\"has_repository_projects\":true,\"public_repos\":0,\"public_gists\":0,\"followers\":0,\"following\":0,\"html_url\":\"https://github.com/ssergni\",\"created_at\":\"2013-05-19T17:42:29Z\",\"updated_at\":\"2015-03-09T15:12:56Z\",\"type\":\"Organization\"},\"parent\":null},{\"name\":\"Tutors\",\"id\":2146529,\"node_id\":\"MDQ6VGVhbTIxNDY1Mjk=\",\"slug\":\"tutors\",\"description\":\"\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/14234715/team/2146529\",\"html_url\":\"https://github.com/orgs/epfl-dojo/teams/tutors\",\"members_url\":\"https://api.github.com/organizations/14234715/team/2146529/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/14234715/team/2146529/repos\",\"permission\":\"pull\",\"created_at\":\"2016-10-03T11:00:27Z\",\"updated_at\":\"2016-10-03T11:00:27Z\",\"members_count\":6,\"repos_count\":5,\"organization\":{\"login\":\"epfl-dojo\",\"id\":14234715,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjE0MjM0NzE1\",\"url\":\"https://api.github.com/orgs/epfl-dojo\",\"repos_url\":\"https://api.github.com/orgs/epfl-dojo/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-dojo/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-dojo/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-dojo/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-dojo/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-dojo/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/14234715?v=4\",\"description\":\"EPFL Dojo public repo\",\"name\":\"EPFL-Dojo\",\"company\":null,\"blog\":null,\"location\":\"Lausanne, Switzerland\",\"email\":\"dojo@epfl.ch\",\"twitter_username\":\"EPFL_dojo\",\"is_verified\":false,\"has_organization_projects\":true,\"has_repository_projects\":true,\"public_repos\":150,\"public_gists\":0,\"followers\":4,\"following\":0,\"html_url\":\"https://github.com/epfl-dojo\",\"created_at\":\"2015-09-11T12:31:07Z\",\"updated_at\":\"2021-09-22T20:55:08Z\",\"type\":\"Organization\"},\"parent\":null},{\"name\":\"wwp\",\"id\":2376817,\"node_id\":\"MDQ6VGVhbTIzNzY4MTc=\",\"slug\":\"wwp\",\"description\":\"Jahia 2 Wordpress... going on\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/24317326/team/2376817\",\"html_url\":\"https://github.com/orgs/epfl-si/teams/wwp\",\"members_url\":\"https://api.github.com/organizations/24317326/team/2376817/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/24317326/team/2376817/repos\",\"permission\":\"pull\",\"created_at\":\"2017-05-31T14:30:37Z\",\"updated_at\":\"2017-09-09T11:31:00Z\",\"members_count\":7,\"repos_count\":13,\"organization\":{\"login\":\"epfl-si\",\"id\":24317326,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjI0MzE3MzI2\",\"url\":\"https://api.github.com/orgs/epfl-si\",\"repos_url\":\"https://api.github.com/orgs/epfl-si/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-si/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-si/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-si/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-si/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-si/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/24317326?v=4\",\"description\":\"\",\"name\":\"EPFL-SI\",\"company\":null,\"blog\":null,\"location\":null,\"email\":null,\"twitter_username\":null,\"is_verified\":false,\"has_organization_projects\":true,\"has_repository_projects\":true,\"public_repos\":179,\"public_gists\":0,\"followers\":7,\"following\":0,\"html_url\":\"https://github.com/epfl-si\",\"created_at\":\"2016-12-02T13:24:41Z\",\"updated_at\":\"2023-03-08T20:39:57Z\",\"type\":\"Organization\"},\"parent\":null},{\"name\":\"NOC\",\"id\":3273153,\"node_id\":\"MDQ6VGVhbTMyNzMxNTM=\",\"slug\":\"noc\",\"description\":\"Network Operations Center\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/24317326/team/3273153\",\"html_url\":\"https://github.com/orgs/epfl-si/teams/noc\",\"members_url\":\"https://api.github.com/organizations/24317326/team/3273153/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/24317326/team/3273153/repos\",\"permission\":\"pull\",\"created_at\":\"2019-06-01T11:26:32Z\",\"updated_at\":\"2019-06-01T11:26:32Z\",\"members_count\":4,\"repos_count\":1,\"organization\":{\"login\":\"epfl-si\",\"id\":24317326,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjI0MzE3MzI2\",\"url\":\"https://api.github.com/orgs/epfl-si\",\"repos_url\":\"https://api.github.com/orgs/epfl-si/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-si/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-si/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-si/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-si/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-si/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/24317326?v=4\",\"description\":\"\",\"name\":\"EPFL-SI\",\"company\":null,\"blog\":null,\"location\":null,\"email\":null,\"twitter_username\":null,\"is_verified\":false,\"has_organization_projects\":true,\"has_repository_projects\":true,\"public_repos\":179,\"public_gists\":0,\"followers\":7,\"following\":0,\"html_url\":\"https://github.com/epfl-si\",\"created_at\":\"2016-12-02T13:24:41Z\",\"updated_at\":\"2023-03-08T20:39:57Z\",\"type\":\"Organization\"},\"parent\":{\"name\":\"ISAS-FSD\",\"id\":5646748,\"node_id\":\"T_kwDOAXMNjs4AVimc\",\"slug\":\"isas-fsd\",\"description\":\"Full Stack Development team @ DSI\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/24317326/team/5646748\",\"html_url\":\"https://github.com/orgs/epfl-si/teams/isas-fsd\",\"members_url\":\"https://api.github.com/organizations/24317326/team/5646748/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/24317326/team/5646748/repos\",\"permission\":\"pull\"}},{\"name\":\"IDEV-FSD all hands\",\"id\":3546016,\"node_id\":\"MDQ6VGVhbTM1NDYwMTY=\",\"slug\":\"idev-fsd-all-hands\",\"description\":\"Tous les membres de l'équipe IDEV-FSD (employés, apprentis, hôtes et hors-EPFL)\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/52152394/team/3546016\",\"html_url\":\"https://github.com/orgs/epfl-fsd/teams/idev-fsd-all-hands\",\"members_url\":\"https://api.github.com/organizations/52152394/team/3546016/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/52152394/team/3546016/repos\",\"permission\":\"pull\",\"created_at\":\"2019-11-29T12:27:58Z\",\"updated_at\":\"2019-11-29T12:27:58Z\",\"members_count\":8,\"repos_count\":1,\"organization\":{\"login\":\"epfl-fsd\",\"id\":52152394,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjUyMTUyMzk0\",\"url\":\"https://api.github.com/orgs/epfl-fsd\",\"repos_url\":\"https://api.github.com/orgs/epfl-fsd/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-fsd/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-fsd/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-fsd/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-fsd/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-fsd/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/52152394?v=4\",\"description\":\"EPFL ISAS Full Stack Developers\",\"name\":\"EPFL FSD\",\"company\":null,\"blog\":null,\"location\":null,\"email\":null,\"twitter_username\":null,\"is_verified\":false,\"has_organization_projects\":true,\"has_repository_projects\":true,\"public_repos\":8,\"public_gists\":0,\"followers\":1,\"following\":0,\"html_url\":\"https://github.com/epfl-fsd\",\"created_at\":\"2019-06-24T07:14:53Z\",\"updated_at\":\"2023-02-20T10:23:00Z\",\"type\":\"Organization\"},\"parent\":null},{\"name\":\"ISAS-FSD\",\"id\":5646748,\"node_id\":\"T_kwDOAXMNjs4AVimc\",\"slug\":\"isas-fsd\",\"description\":\"Full Stack Development team @ DSI\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/24317326/team/5646748\",\"html_url\":\"https://github.com/orgs/epfl-si/teams/isas-fsd\",\"members_url\":\"https://api.github.com/organizations/24317326/team/5646748/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/24317326/team/5646748/repos\",\"permission\":\"pull\",\"created_at\":\"2022-02-07T08:22:08Z\",\"updated_at\":\"2022-02-07T08:22:08Z\",\"members_count\":10,\"repos_count\":1,\"organization\":{\"login\":\"epfl-si\",\"id\":24317326,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjI0MzE3MzI2\",\"url\":\"https://api.github.com/orgs/epfl-si\",\"repos_url\":\"https://api.github.com/orgs/epfl-si/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-si/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-si/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-si/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-si/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-si/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/24317326?v=4\",\"description\":\"\",\"name\":\"EPFL-SI\",\"company\":null,\"blog\":null,\"location\":null,\"email\":null,\"twitter_username\":null,\"is_verified\":false,\"has_organization_projects\":true,\"has_repository_projects\":true,\"public_repos\":179,\"public_gists\":0,\"followers\":7,\"following\":0,\"html_url\":\"https://github.com/epfl-si\",\"created_at\":\"2016-12-02T13:24:41Z\",\"updated_at\":\"2023-03-08T20:39:57Z\",\"type\":\"Organization\"},\"parent\":null},{\"name\":\"External\",\"id\":7158323,\"node_id\":\"T_kwDOAXMNjs4AbToz\",\"slug\":\"external\",\"description\":\"\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/24317326/team/7158323\",\"html_url\":\"https://github.com/orgs/epfl-si/teams/external\",\"members_url\":\"https://api.github.com/organizations/24317326/team/7158323/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/24317326/team/7158323/repos\",\"permission\":\"pull\",\"created_at\":\"2022-12-22T09:05:40Z\",\"updated_at\":\"2022-12-22T09:05:40Z\",\"members_count\":1,\"repos_count\":0,\"organization\":{\"login\":\"epfl-si\",\"id\":24317326,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjI0MzE3MzI2\",\"url\":\"https://api.github.com/orgs/epfl-si\",\"repos_url\":\"https://api.github.com/orgs/epfl-si/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-si/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-si/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-si/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-si/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-si/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/24317326?v=4\",\"description\":\"\",\"name\":\"EPFL-SI\",\"company\":null,\"blog\":null,\"location\":null,\"email\":null,\"twitter_username\":null,\"is_verified\":false,\"has_organization_projects\":true,\"has_repository_projects\":true,\"public_repos\":179,\"public_gists\":0,\"followers\":7,\"following\":0,\"html_url\":\"https://github.com/epfl-si\",\"created_at\":\"2016-12-02T13:24:41Z\",\"updated_at\":\"2023-03-08T20:39:57Z\",\"type\":\"Organization\"},\"parent\":null},{\"name\":\"Sokube\",\"id\":7158325,\"node_id\":\"T_kwDOAXMNjs4AbTo1\",\"slug\":\"sokube\",\"description\":\"\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/24317326/team/7158325\",\"html_url\":\"https://github.com/orgs/epfl-si/teams/sokube\",\"members_url\":\"https://api.github.com/organizations/24317326/team/7158325/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/24317326/team/7158325/repos\",\"permission\":\"pull\",\"created_at\":\"2022-12-22T09:06:01Z\",\"updated_at\":\"2022-12-22T09:06:01Z\",\"members_count\":1,\"repos_count\":0,\"organization\":{\"login\":\"epfl-si\",\"id\":24317326,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjI0MzE3MzI2\",\"url\":\"https://api.github.com/orgs/epfl-si\",\"repos_url\":\"https://api.github.com/orgs/epfl-si/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-si/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-si/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-si/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-si/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-si/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/24317326?v=4\",\"description\":\"\",\"name\":\"EPFL-SI\",\"company\":null,\"blog\":null,\"location\":null,\"email\":null,\"twitter_username\":null,\"is_verified\":false,\"has_organization_projects\":true,\"has_repository_projects\":true,\"public_repos\":179,\"public_gists\":0,\"followers\":7,\"following\":0,\"html_url\":\"https://github.com/epfl-si\",\"created_at\":\"2016-12-02T13:24:41Z\",\"updated_at\":\"2023-03-08T20:39:57Z\",\"type\":\"Organization\"},\"parent\":{\"name\":\"External\",\"id\":7158323,\"node_id\":\"T_kwDOAXMNjs4AbToz\",\"slug\":\"external\",\"description\":\"\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/24317326/team/7158323\",\"html_url\":\"https://github.com/orgs/epfl-si/teams/external\",\"members_url\":\"https://api.github.com/organizations/24317326/team/7158323/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/24317326/team/7158323/repos\",\"permission\":\"pull\"}},{\"name\":\"Camptocamp\",\"id\":7158326,\"node_id\":\"T_kwDOAXMNjs4AbTo2\",\"slug\":\"camptocamp\",\"description\":\"\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/24317326/team/7158326\",\"html_url\":\"https://github.com/orgs/epfl-si/teams/camptocamp\",\"members_url\":\"https://api.github.com/organizations/24317326/team/7158326/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/24317326/team/7158326/repos\",\"permission\":\"pull\",\"created_at\":\"2022-12-22T09:06:17Z\",\"updated_at\":\"2022-12-22T09:06:17Z\",\"members_count\":1,\"repos_count\":0,\"organization\":{\"login\":\"epfl-si\",\"id\":24317326,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjI0MzE3MzI2\",\"url\":\"https://api.github.com/orgs/epfl-si\",\"repos_url\":\"https://api.github.com/orgs/epfl-si/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-si/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-si/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-si/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-si/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-si/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/24317326?v=4\",\"description\":\"\",\"name\":\"EPFL-SI\",\"company\":null,\"blog\":null,\"location\":null,\"email\":null,\"twitter_username\":null,\"is_verified\":false,\"has_organization_projects\":true,\"has_repository_projects\":true,\"public_repos\":179,\"public_gists\":0,\"followers\":7,\"following\":0,\"html_url\":\"https://github.com/epfl-si\",\"created_at\":\"2016-12-02T13:24:41Z\",\"updated_at\":\"2023-03-08T20:39:57Z\",\"type\":\"Organization\"},\"parent\":{\"name\":\"External\",\"id\":7158323,\"node_id\":\"T_kwDOAXMNjs4AbToz\",\"slug\":\"external\",\"description\":\"\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/24317326/team/7158323\",\"html_url\":\"https://github.com/orgs/epfl-si/teams/external\",\"members_url\":\"https://api.github.com/organizations/24317326/team/7158323/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/24317326/team/7158323/repos\",\"permission\":\"pull\"}},{\"name\":\"Antistatic\",\"id\":7158327,\"node_id\":\"T_kwDOAXMNjs4AbTo3\",\"slug\":\"antistatic\",\"description\":\"\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/24317326/team/7158327\",\"html_url\":\"https://github.com/orgs/epfl-si/teams/antistatic\",\"members_url\":\"https://api.github.com/organizations/24317326/team/7158327/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/24317326/team/7158327/repos\",\"permission\":\"pull\",\"created_at\":\"2022-12-22T09:06:48Z\",\"updated_at\":\"2022-12-22T09:06:48Z\",\"members_count\":1,\"repos_count\":0,\"organization\":{\"login\":\"epfl-si\",\"id\":24317326,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjI0MzE3MzI2\",\"url\":\"https://api.github.com/orgs/epfl-si\",\"repos_url\":\"https://api.github.com/orgs/epfl-si/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-si/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-si/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-si/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-si/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-si/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/24317326?v=4\",\"description\":\"\",\"name\":\"EPFL-SI\",\"company\":null,\"blog\":null,\"location\":null,\"email\":null,\"twitter_username\":null,\"is_verified\":false,\"has_organization_projects\":true,\"has_repository_projects\":true,\"public_repos\":179,\"public_gists\":0,\"followers\":7,\"following\":0,\"html_url\":\"https://github.com/epfl-si\",\"created_at\":\"2016-12-02T13:24:41Z\",\"updated_at\":\"2023-03-08T20:39:57Z\",\"type\":\"Organization\"},\"parent\":{\"name\":\"External\",\"id\":7158323,\"node_id\":\"T_kwDOAXMNjs4AbToz\",\"slug\":\"external\",\"description\":\"\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/24317326/team/7158323\",\"html_url\":\"https://github.com/orgs/epfl-si/teams/external\",\"members_url\":\"https://api.github.com/organizations/24317326/team/7158323/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/24317326/team/7158323/repos\",\"permission\":\"pull\"}},{\"name\":\"noc-grafana-admins\",\"id\":7975780,\"node_id\":\"T_kwDOAxvISs4AebNk\",\"slug\":\"noc-grafana-admins\",\"description\":\"Users that are admin on NOC's Grafana\",\"privacy\":\"closed\",\"notification_setting\":\"notifications_enabled\",\"url\":\"https://api.github.com/organizations/52152394/team/7975780\",\"html_url\":\"https://github.com/orgs/epfl-fsd/teams/noc-grafana-admins\",\"members_url\":\"https://api.github.com/organizations/52152394/team/7975780/members{/member}\",\"repositories_url\":\"https://api.github.com/organizations/52152394/team/7975780/repos\",\"permission\":\"pull\",\"created_at\":\"2023-05-28T16:49:51Z\",\"updated_at\":\"2023-05-28T16:50:59Z\",\"members_count\":4,\"repos_count\":0,\"organization\":{\"login\":\"epfl-fsd\",\"id\":52152394,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjUyMTUyMzk0\",\"url\":\"https://api.github.com/orgs/epfl-fsd\",\"repos_url\":\"https://api.github.com/orgs/epfl-fsd/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-fsd/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-fsd/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-fsd/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-fsd/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-fsd/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/52152394?v=4\",\"description\":\"EPFL ISAS Full Stack Developers\",\"name\":\"EPFL FSD\",\"company\":null,\"blog\":null,\"location\":null,\"email\":null,\"twitter_username\":null,\"is_verified\":false,\"has_organization_projects\":true,\"has_repository_projects\":true,\"public_repos\":8,\"public_gists\":0,\"followers\":1,\"following\":0,\"html_url\":\"https://github.com/epfl-fsd\",\"created_at\":\"2019-06-24T07:14:53Z\",\"updated_at\":\"2023-02-20T10:23:00Z\",\"type\":\"Organization\"},\"parent\":null}]"
  7. logger=ngalert.scheduler t=2023-05-30T21:53:10.009748628Z level=debug msg="No changes detected. Skip updating"
  8. logger=oauth.github t=2023-05-30T21:53:10.048842516Z level=debug msg="HTTP GET" url="https://api.github.com/user/orgs?per_page=100" status="200 OK" response_body="[{\"login\":\"fixme-lausanne\",\"id\":1140610,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjExNDA2MTA=\",\"url\":\"https://api.github.com/orgs/fixme-lausanne\",\"repos_url\":\"https://api.github.com/orgs/fixme-lausanne/repos\",\"events_url\":\"https://api.github.com/orgs/fixme-lausanne/events\",\"hooks_url\":\"https://api.github.com/orgs/fixme-lausanne/hooks\",\"issues_url\":\"https://api.github.com/orgs/fixme-lausanne/issues\",\"members_url\":\"https://api.github.com/orgs/fixme-lausanne/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/fixme-lausanne/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/1140610?v=4\",\"description\":null},{\"login\":\"ssergni\",\"id\":4472300,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjQ0NzIzMDA=\",\"url\":\"https://api.github.com/orgs/ssergni\",\"repos_url\":\"https://api.github.com/orgs/ssergni/repos\",\"events_url\":\"https://api.github.com/orgs/ssergni/events\",\"hooks_url\":\"https://api.github.com/orgs/ssergni/hooks\",\"issues_url\":\"https://api.github.com/orgs/ssergni/issues\",\"members_url\":\"https://api.github.com/orgs/ssergni/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/ssergni/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/4472300?v=4\",\"description\":null},{\"login\":\"epfl-dojo\",\"id\":14234715,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjE0MjM0NzE1\",\"url\":\"https://api.github.com/orgs/epfl-dojo\",\"repos_url\":\"https://api.github.com/orgs/epfl-dojo/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-dojo/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-dojo/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-dojo/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-dojo/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-dojo/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/14234715?v=4\",\"description\":\"EPFL Dojo public repo\"},{\"login\":\"epfl-si\",\"id\":24317326,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjI0MzE3MzI2\",\"url\":\"https://api.github.com/orgs/epfl-si\",\"repos_url\":\"https://api.github.com/orgs/epfl-si/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-si/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-si/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-si/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-si/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-si/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/24317326?v=4\",\"description\":\"\"},{\"login\":\"epfl-fsd\",\"id\":52152394,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjUyMTUyMzk0\",\"url\":\"https://api.github.com/orgs/epfl-fsd\",\"repos_url\":\"https://api.github.com/orgs/epfl-fsd/repos\",\"events_url\":\"https://api.github.com/orgs/epfl-fsd/events\",\"hooks_url\":\"https://api.github.com/orgs/epfl-fsd/hooks\",\"issues_url\":\"https://api.github.com/orgs/epfl-fsd/issues\",\"members_url\":\"https://api.github.com/orgs/epfl-fsd/members{/member}\",\"public_members_url\":\"https://api.github.com/orgs/epfl-fsd/public_members{/member}\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/52152394?v=4\",\"description\":\"EPFL ISAS Full Stack Developers\"}]"
  9. logger=oauth.github t=2023-05-30T21:53:10.219211838Z level=debug msg="HTTP GET" url=https://api.github.com/user/emails status="200 OK" response_body="[{\"email\":\"ponsfrilus@gmail.com\",\"primary\":true,\"verified\":true,\"visibility\":\"private\"},{\"email\":\"nicolas.borboen@gmail.com\",\"primary\":false,\"verified\":true,\"visibility\":null},{\"email\":\"nicolas.borboen@epfl.ch\",\"primary\":false,\"verified\":true,\"visibility\":null},{\"email\":\"ponsfrilus@users.noreply.github.com\",\"primary\":false,\"verified\":true,\"visibility\":null}]"
  10. logger=oauth t=2023-05-30T21:53:10.219835676Z level=debug msg="OAuthLogin got user info" userInfo="Id: 176002, Name: Nicolas Borboën, Email: ponsfrilus@gmail.com, Login: ponsfrilus, Role: Admin, Groups: [https://github.com/orgs/fixme-lausanne/teams/owners @fixme-lausanne/owners https://github.com/orgs/ssergni/teams/watchers @ssergni/watchers https://github.com/orgs/epfl-dojo/teams/tutors @epfl-dojo/tutors https://github.com/orgs/epfl-si/teams/wwp @epfl-si/wwp https://github.com/orgs/epfl-si/teams/noc @epfl-si/noc https://github.com/orgs/epfl-fsd/teams/idev-fsd-all-hands @epfl-fsd/idev-fsd-all-hands https://github.com/orgs/epfl-si/teams/isas-fsd @epfl-si/isas-fsd https://github.com/orgs/epfl-si/teams/external @epfl-si/external https://github.com/orgs/epfl-si/teams/sokube @epfl-si/sokube https://github.com/orgs/epfl-si/teams/camptocamp @epfl-si/camptocamp https://github.com/orgs/epfl-si/teams/antistatic @epfl-si/antistatic https://github.com/orgs/epfl-fsd/teams/noc-grafana-admins @epfl-fsd/noc-grafana-admins]"
  11. logger=oauth t=2023-05-30T21:53:10.220433949Z level=debug msg="Building external user info from OAuth user info"
  12. logger=api t=2023-05-30T21:53:10.221119429Z level=debug msg="The user has a role assignment and organization membership is auto-assigned" role=Admin orgId=1
  13. logger=oauth t=2023-05-30T21:53:10.221361559Z level=debug msg="Syncing Grafana user with corresponding OAuth profile"
  14. logger=login.ext_user t=2023-05-30T21:53:10.308827544Z level=debug msg="Syncing organization roles" id=15 extOrgRoles=map[1:Admin]
  15. logger=http.server t=2023-05-30T21:53:10.334032246Z level=debug msg="Got IP address from client address" addr=128.179.1.2 ip=128.179.1.2
  16. logger=auth t=2023-05-30T21:53:10.346021123Z level=debug msg="user auth token created" tokenId=38 userId=15 clientIP=128.179.1.2 userAgent="Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0" authToken=b2f51174b54ec2d5b1b04ef61c0726b6xx4d407d64560e925e6ad03276ed381f
  17. logger=http.server t=2023-05-30T21:53:10.346364925Z level=info msg="Successful Login" User=ponsfrilus@gmail.com
  18. logger=context userId=0 orgId=0 uname= t=2023-05-30T21:53:10.3469369Z level=info msg="Request Completed" method=GET path=/login/github status=302 remote_addr=128.179.1.2 time_ms=1421 duration=1.421536109s size=24 referer=https://grafana.noc-test.fsd.team/ handler=/login/:name
  19. logger=auth t=2023-05-30T21:53:10.394000237Z level=debug msg="seen token" tokenId=38 userId=15 clientIP=128.179.1.2 userAgent="Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0" authToken=b2f51174b54ec2d5xxb04ef61c0726b6fc4d407d64560e925e6ad03276ed381f
  20. logger=context userId=15 orgId=1 uname=ponsfrilus t=2023-05-30T21:53:10.395516244Z level=debug msg="Updating last user_seen_at" user_id=15
  21. logger=accesscontrol.service t=2023-05-30T21:53:10.402312919Z level=debug msg="fetch permissions from store" key=rbac-permissions-1-user-15
  22. logger=accesscontrol.service t=2023-05-30T21:53:10.404548379Z level=debug msg="cache permissions" key=rbac-permissions-1-user-15
  23. logger=accesscontrol.service t=2023-05-30T21:53:10.407991909Z level=debug msg="fetch permissions from store" key=rbac-permissions-0-user-15
  24. logger=accesscontrol.service t=2023-05-30T21:53:10.408861436Z level=debug msg="cache permissions" key=rbac-permissions-0-user-15
  25. logger=accesscontrol.service t=2023-05-30T21:53:10.409430317Z level=debug msg="using cached permissions" key=rbac-permissions-1-user-15
  26. logger=accesscontrol.service t=2023-05-30T21:53:10.832680373Z level=debug msg="using cached permissions" key=rbac-permissions-1-user-15
  27. logger=context userId=15 orgId=1 uname=ponsfrilus t=2023-05-30T21:53:10.833640848Z level=info msg="Request Completed" method=GET path=/api/live/ws status=-1 remote_addr=128.179.1.2 time_ms=4 duration=4.356181ms size=0 referer= handler=/api/live/ws
  28. logger=live t=2023-05-30T21:53:10.854934211Z level=debug msg="Client connected" user=15 client=484941ba-5430-4049-90b4-34283b182e39
  29. logger=accesscontrol.service t=2023-05-30T21:53:10.859720295Z level=debug msg="using cached permissions" key=rbac-permissions-1-user-15
  30. logger=accesscontrol.service t=2023-05-30T21:53:10.960459916Z level=debug msg="using cached permissions" key=rbac-permissions-1-user-15
  31. logger=accesscontrol.service t=2023-05-30T21:53:10.962854876Z level=debug msg="using cached permissions" key=rbac-permissions-1-user-15
  32. logger=accesscontrol.service t=2023-05-30T21:53:10.963843236Z level=debug msg="using cached permissions" key=rbac-permissions-1-user-15
  33. logger=accesscontrol.service t=2023-05-30T21:53:10.99271436Z level=debug msg="using cached permissions" key=rbac-permissions-1-user-15
  34. logger=accesscontrol.service t=2023-05-30T21:53:10.995842626Z level=debug msg="using cached permissions" key=rbac-permissions-1-user-15
  35. logger=accesscontrol.service t=2023-05-30T21:53:10.997793959Z level=debug msg="using cached permissions" key=rbac-permissions-1-user-15
  36. logger=accesscontrol.service t=2023-05-30T21:53:10.99457896Z level=debug msg="using cached permissions" key=rbac-permissions-1-user-15
  37. logger=accesscontrol.service t=2023-05-30T21:53:11.004252086Z level=debug msg="using cached permissions" key=rbac-permissions-1-user-15
  38. logger=accesscontrol.service t=2023-05-30T21:53:11.004675163Z level=debug msg="using cached permissions" key=rbac-permissions-1-user-15
  39. logger=provisioning.dashboard type=file name=default t=2023-05-30T21:53:13.854112548Z level=debug msg="Start walking disk" path=/etc/grafana/provisioning/dashboards
  40. logger=provisioning.dashboard type=file name=default t=2023-05-30T21:53:13.862474469Z level=warn msg="Not saving new dashboard due to restricted database access" provisioner=default file=/etc/grafana/provisioning/dashboards/WordPress-backup-detail.json folderId=0
  41. logger=ngalert.scheduler t=2023-05-30T21:53:20.00745339Z level=debug msg="No changes detected. Skip updating"
  42. logger=accesscontrol.service t=2023-05-30T21:53:20.729763326Z level=debug msg="fetch permissions from store" key=rbac-permissions-1-user-15
  43. logger=accesscontrol.service t=2023-05-30T21:53:20.738508121Z level=debug msg="cache permissions" key=rbac-permissions-1-user-15
  44. logger=ngalert.state.manager t=2023-05-30T21:53:23.127225817Z level=debug msg="Recording state cache metrics" now=2023-05-30T21:53:23.127210069Z
  45. logger=secrets t=2023-05-30T21:53:23.12839634Z level=debug msg="Removing expired data keys from cache..."
  46. logger=secrets t=2023-05-30T21:53:23.128906282Z level=debug msg="Removing expired data keys from cache finished successfully"
  47. logger=ngalert.sender.router t=2023-05-30T21:53:23.549769683Z level=debug msg="Attempting to sync admin configs" count=0
  48. logger=ngalert.sender.router t=2023-05-30T21:53:23.54982925Z level=debug msg="Finish of admin configuration sync"
  49. logger=provisioning.dashboard type=file name=default t=2023-05-30T21:53:23.853996119Z level=debug msg="Start walking disk" path=/etc/grafana/provisioning/dashboards
  50. logger=provisioning.dashboard t=2023-05-30T21:53:23.854933679Z level=warn msg="the same UID is used more than once" orgId=1 uid=WordPressB times=2 providers=[default]
  51. logger=provisioning.dashboard t=2023-05-30T21:53:23.855035115Z level=warn msg="dashboard title is not unique in folder" orgId=1 title="WP Backup" folderID=0 times=2 providers=[default]
  52. logger=provisioning.dashboard t=2023-05-30T21:53:23.855060825Z level=warn msg="dashboards provisioning provider has no database write permissions because of duplicates" provider=default orgId=1
  53. logger=provisioning.dashboard type=file name=default t=2023-05-30T21:53:23.867849233Z level=warn msg="Not saving new dashboard due to restricted database access" provisioner=default file=/etc/grafana/provisioning/dashboards/WordPress-backup-detail.json folderId=0
  54. logger=ngalert.multiorg.alertmanager t=2023-05-30T21:53:24.463298212Z level=debug msg="synchronizing Alertmanagers for orgs"
  55. logger=alertmanager org=1 t=2023-05-30T21:53:24.465408872Z level=debug msg="neither config nor template have changed, skipping configuration sync."
  56. logger=ngalert.multiorg.alertmanager t=2023-05-30T21:53:24.46686956Z level=debug msg="done synchronizing Alertmanagers for orgs"
  57. logger=ngalert.scheduler t=2023-05-30T21:53:30.003248495Z level=debug msg="No changes detected. Skip updating"
  58. logger=provisioning.dashboard type=file name=default t=2023-05-30T21:53:33.854311421Z level=debug msg="Start walking disk" path=/etc/grafana/provisioning/dashboards
  59. logger=provisioning.dashboard type=file name=default t=2023-05-30T21:53:33.937409379Z level=warn msg="Not saving new dashboard due to restricted database access" provisioner=default file=/etc/grafana/provisioning/dashboards/WordPress-backup-detail.json folderId=0
  60.  
Tags: Grafana
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement