Alex on Nostr: I set up this sweet grafana dashboard by scraping nginx access logs with goaccess. I ...
I set up this sweet grafana dashboard by scraping nginx access logs with goaccess.
I run goaccess on a 1 minute cron to produce the json data, then scrape it with grafana's "infinity" datasource.
(And yes I did already block that IP from France taking up 50% of all traffic on my website)
Published at
2024-09-14 13:48:09Event JSON
{
"id": "824e9329a636e955081d0b3c8228c213f377ddf96dbeac50758805d7b1d18aad",
"pubkey": "0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"created_at": 1726321689,
"kind": 1,
"tags": [
[
"imeta",
"url https://image.nostr.build/39e8f5f0b0c8bec19a0f958d07c4a34076ad1a71b9ca11b77f501de2823eb65b.png",
"m image/png",
"x 3557412821a7ec0514e8670fe87987a75a60778d5fecb2b0c1f32512e8c05df6",
"ox 39e8f5f0b0c8bec19a0f958d07c4a34076ad1a71b9ca11b77f501de2823eb65b",
"size 103886",
"dim 1907x883",
"blurhash L14U.}n-0JS_~Xs;0cS[#qajOXX1"
]
],
"content": "I set up this sweet grafana dashboard by scraping nginx access logs with goaccess.\n\nI run goaccess on a 1 minute cron to produce the json data, then scrape it with grafana's \"infinity\" datasource.\n\n(And yes I did already block that IP from France taking up 50% of all traffic on my website)\n\nhttps://image.nostr.build/39e8f5f0b0c8bec19a0f958d07c4a34076ad1a71b9ca11b77f501de2823eb65b.png",
"sig": "94590e4181f81a90fb67f6fc7420f9a558beeb352ef148a180af27464cff5271a48f1d537189402d5064241502cb6e0a3bceff68d2ba4ad4d9f3ea92d06826fe"
}