{"id":23649478,"url":"https://github.com/payneteasy/srvlog","last_synced_at":"2025-09-01T01:31:07.307Z","repository":{"id":6196459,"uuid":"7427090","full_name":"payneteasy/srvlog","owner":"payneteasy","description":"Syslog Collector, Viewer and Searcher","archived":false,"fork":false,"pushed_at":"2025-03-26T21:07:34.000Z","size":14818,"stargazers_count":6,"open_issues_count":16,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-02T06:05:45.432Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/payneteasy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2013-01-03T17:32:57.000Z","updated_at":"2025-03-26T21:07:38.000Z","dependencies_parsed_at":"2024-01-28T20:25:06.538Z","dependency_job_id":"da11c96d-82a3-4e8d-92f8-9e58e34f6a45","html_url":"https://github.com/payneteasy/srvlog","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/payneteasy/srvlog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payneteasy%2Fsrvlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payneteasy%2Fsrvlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payneteasy%2Fsrvlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payneteasy%2Fsrvlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/payneteasy","download_url":"https://codeload.github.com/payneteasy/srvlog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payneteasy%2Fsrvlog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273064107,"owners_count":25039259,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-28T15:38:21.675Z","updated_at":"2025-09-01T01:31:06.718Z","avatar_url":"https://github.com/payneteasy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/payneteasy/srvlog.svg?style=svg)](https://circleci.com/gh/payneteasy/srvlog)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.payneteasy%3Asrvlog\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=com.payneteasy%3Asrvlog)\n\nsrvlog - **Lightweight Logs Collector System.**\n===\n\nSupported logs formats and channels:\n1) syslog;\n2) logback;\n3) snort payloads correlated with ossec alerts.\n\nAll logs are being collected in MariaDB database \n(MySQL supported too) and then indexed and searched \nby Sphinx. The middle-layer and front-end is written \nin pure Java hence it can be installed on many OS platforms \nwhich supported by Java, MariaDB and Sphinx. \n\n**srvlog** can be used in the projects where centralized \nlogging solution is required. As an example of such \nrequirements is PCI DSS requirements 10.1-10.2 \n\nSoftware requirements:\n1) JDK 17.0.10 and higher;\n2) MariaDB 10.0.x and higher;\n3) sphinxsearch 3.6.1 and higher.\n\nMinimum system requirements:\n1) 4GB RAM;\n2) 100GB Disk space (for up to 200 thousands logs per day )\n3) Intell i5, i7, Xeon processors.\n\n### Building and starting embedded srvlog jetty server\n\nBuild uber-jar file:\n\n```shell\nmvn clean package\n```\nSet environment variables required for embedded server:\n```shell\nexport JETTY_PORT=8080 # server port\nexport JETTY_CONTEXT=/srvlog # web application context path\nexport JETTY_ENV_CONFIG_PATH=/path/to/jetty-env-ui.xml # server env config xml\nexport WEB_DESCRIPTOR_PATH=/path/to/web.xml # web application config xml\nexport WEB_SOCKET_ENDPOINT_PATH=/ws-log # web socket endpoint context path\nexport WEB_SOCKET_MAX_MESSAGE_SIZE=65535 # web socket max message size in bytes\nexport WEB_SOCKET_IDLE_TIMEOUT_SECONDS=300 # web socket idle timeout in seconds\nexport SYSLOG_PROTOCOL=tcp # syslog protocol\nexport SYSLOG_HOST=localhost # syslog host\nexport SYSLOG_PORT=2514 # syslog port\nexport JSON_ADAPTER_BIND_ADDRESS=127.0.0.1 # json adapter bind address\nexport JSON_ADAPTER_PORT=28080 # json adapter port\nexport JSON_ADAPTER_PATH=/save-logs # json adapter path\nexport JSON_ADAPTER_TOKEN=token # json adapter token\nexport SPHINX_HOST=localhost # sphinx host\nexport SPHINX_PORT=9312 # sphinx port\nexport SPHINX_CONNECT_TIMEOUT=30000 # sphinx connect timeout\nexport SPHINX_QUERY_INDEXES=index1,index2 # comma separated query indexes\nexport LOG_STORAGE_CAPACITY=1000 # log broadcasting service storage capacity (web terminal page)\nexport LOGBACK_PROGRAM=programName # logback program name\nexport LOGBACK_TCP_PORT=4713 # port for logback tcp adapter\nexport LOGBACK_UDP_PORT=4713 # port for logback udp adapter\n```\nStart server uber-jar:\n```shell\njava -jar ./srvlog-web/target/srvlog-embed-server.jar\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayneteasy%2Fsrvlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpayneteasy%2Fsrvlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayneteasy%2Fsrvlog/lists"}