-
Notifications
You must be signed in to change notification settings - Fork 751
Monitoring PrivateBin
This page contains resources for monitoring your PrivateBin instance.
PrivateBin NGINX JSON Access Log dashboard provides statistics for tracking user activity on your PrivateBin instance. It allows you to monitor the creation and access of pastes.
- Grafana Dashboard ID: 19507
- For details about this dashboard and instructions on how to deploy it, please visit blog post.
PrivateBin includes an administrative script which can collect statistics on the pastes. This will open and read all pastes' metadata on your installation, which can take some time and is I/O intensive. You can execute it from within the bin
directory of your installation or from your running container image (where we add it to the PATH). Example output:
$ docker exec -t <your PrivateBin container name here> administration --statistics
Total: 35749
.................................... 10% .................................... 20% .................................... 30% ................................... 40% .................................... 50% .................................... 60% .................................... 70% ................................... 80% .................................... 90% ...................................
Expired: 61
Burn after reading: 427
Discussions: 1866
Plain Text: 30806
Source Code: 1996
Markdown: 2947
It took around 1m 15s to collect the above results.
Copyright 2021 wiki contributors. Licensed under CC BY 4.0. The PrivateBin software itself is licensed differently.