{"id":27976503,"url":"https://github.com/misp/misp-usage-statistics","last_synced_at":"2025-06-16T08:32:17.750Z","repository":{"id":142313563,"uuid":"475873990","full_name":"MISP/misp-usage-statistics","owner":"MISP","description":"MISP usage statistics using bokeh (as a static webpage)","archived":false,"fork":false,"pushed_at":"2022-03-30T14:25:54.000Z","size":3462,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-08T01:34:25.647Z","etag":null,"topics":["misp","threat-intelligence-platform"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MISP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-03-30T12:43:20.000Z","updated_at":"2022-04-26T08:22:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"76323bb7-ec80-4f23-809c-ad28fe4ec511","html_url":"https://github.com/MISP/misp-usage-statistics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MISP/misp-usage-statistics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MISP%2Fmisp-usage-statistics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MISP%2Fmisp-usage-statistics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MISP%2Fmisp-usage-statistics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MISP%2Fmisp-usage-statistics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MISP","download_url":"https://codeload.github.com/MISP/misp-usage-statistics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MISP%2Fmisp-usage-statistics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260126401,"owners_count":22962640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["misp","threat-intelligence-platform"],"created_at":"2025-05-08T01:27:27.906Z","updated_at":"2025-06-16T08:32:17.741Z","avatar_url":"https://github.com/MISP.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MISP Usage statistics\n\nMISP Usage statistic is a Python software to generate static pages using [Bokeh](https://github.com/bokeh/bokeh) from a [MISP](https://www.misp-project.org/) instance.\n\n![image](https://user-images.githubusercontent.com/6977223/160841628-5f695415-6ac7-4c36-bbd8-2e0dc0919f1d.png)\n\nYou can see the result in the [operational statistics of CIRCL](https://circl.lu/opendata/statistics/#usage-of-misp-offered-as-a-service-by-circl-misppriv-circl-lu).\n\n# Installation\n\n```bash\ncp config.py.sample config.py\npython3 -m venv venv\nsource venv/bin/activate\npip3 install -r requirements.txt\n```\nUpdate the geo location data base:\n- Download the database [here](https://data.public.lu/fr/datasets/geo-open-ip-address-geolocation-per-country-in-mmdb-format/)\n- save it in the `geolocation` folder\n    - Don't forget to update `config.py`\n\n# Requirements\n\n- Python \u003e=3.8\n- [Bokeh library](https://github.com/bokeh/bokeh)\n- [MMDB GeoOpen database](https://data.public.lu/fr/datasets/geo-open-ip-address-geolocation-per-country-in-mmdb-format/)\n\n# Usage\n\n- Activate environment `source venv/bin/activate`\n- Review `config.py` and adapt paths accordingly\n- Generate the statistics with the `generate_misp.py` script\n- Generate the charts via the `plot_misp.py` script\n- `package_data.sh` creates an archive containing the JSON files\n\n**TL;DR**: The whole procedure can be done by calling the `RUN-ME.sh` script:\n\n```bash\nbash RUN-ME.sh\n```\n\n## Result of running the command above:\n\n- A JSON containing the aggregated data is written in `data/misp/data-misp.json`\n- An HTML file containing the chart is written in `html/misp/plot-bokeh-misp.html`\n- An archive containing the aggregated data is written in `exposed/data.tar.gz`\n\n## License\n\nThis software is an open source software [released under a 2-Clause BSD license](./LICENSE.md).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisp%2Fmisp-usage-statistics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmisp%2Fmisp-usage-statistics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisp%2Fmisp-usage-statistics/lists"}