{"id":19653584,"url":"https://github.com/sematext/solr-diagnostics","last_synced_at":"2025-04-28T17:31:45.529Z","repository":{"id":52509936,"uuid":"131728454","full_name":"sematext/solr-diagnostics","owner":"sematext","description":"Gathers info from Solr: logs, configs, etc. Useful for remote debugging","archived":false,"fork":false,"pushed_at":"2021-05-28T14:48:06.000Z","size":25,"stargazers_count":5,"open_issues_count":7,"forks_count":2,"subscribers_count":9,"default_branch":"master","last_synced_at":"2023-03-23T23:43:27.878Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sematext.com/blog/solr-diagnostics-tool/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sematext.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-01T15:18:29.000Z","updated_at":"2023-03-23T23:43:27.878Z","dependencies_parsed_at":"2022-09-21T23:12:10.104Z","dependency_job_id":null,"html_url":"https://github.com/sematext/solr-diagnostics","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sematext%2Fsolr-diagnostics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sematext%2Fsolr-diagnostics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sematext%2Fsolr-diagnostics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sematext%2Fsolr-diagnostics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sematext","download_url":"https://codeload.github.com/sematext/solr-diagnostics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224124775,"owners_count":17259746,"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":[],"created_at":"2024-11-11T15:14:34.855Z","updated_at":"2024-11-11T15:14:35.955Z","avatar_url":"https://github.com/sematext.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# solr-diagnostics\nGathers info from Solr that should help diagnose issues:\n* ps output\n* dmesg output\n* netstat output\n* sysctl output\n* uname output\n* top output\n* Solr logs and GC logs\n* (optionally) syslog\n* process limits\n* java version\n* solr.xml\n* configs\n* (Legacy Solr only) cores status\n* (SolrCloud only) collections list\n* (SolrCloud only) cluster status\n* (SolrCloud only) aliases\n* (SolrCloud only) overseer status\n* metrics snapshot\n\n# Usage\nDownload the binary from [releases](https://github.com/sematext/solr-diagnostics/releases). Then run it with:\n\n    sudo java -jar solr-diagnostics-x.y.z.jar\n\nYou'll need Java (7 or later). It will work without `sudo`, but some information will be missing (e.g. all the `sysctl` info).\n\nThe tool will politely say what it collects, then pack everything in a zip archive under `/tmp`. You can change this location by adding `-outputdir /some/other/path`\n\nBy default, solr-diagnostics will try to get all Solr logs. You can skip this by adding `-noSolrLogs`. Similarly, you can collect everything from `/var/log` (they are not fetched by default) by adding `-getVarLog`.\n\nYou can pass (basic) authentication credentials by adding `-user my_user` and `-pass my_pass`.\n\n# Build from sources\nClone the repository, then run:\n\n    mvn clean package\nThe self-contained Jar will be `target/com.sematext.solr-diagnostics-x.y.z-SNAPSHOT.jar`\n# Roadmap/TODO\nSee the list of [issues](https://github.com/sematext/solr-diagnostics/issues), and feel free to report new ones or submit pull requests!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsematext%2Fsolr-diagnostics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsematext%2Fsolr-diagnostics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsematext%2Fsolr-diagnostics/lists"}