{"id":29682310,"url":"https://github.com/ryukote/sql2elastic","last_synced_at":"2025-07-23T02:31:23.935Z","repository":{"id":40912608,"uuid":"174415481","full_name":"Ryukote/Sql2Elastic","owner":"Ryukote","description":"Elasticsearch integration with SQL databases. Check https://hub.docker.com/r/ryukote/sql2elastic","archived":false,"fork":false,"pushed_at":"2022-12-08T04:29:17.000Z","size":43,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-06T05:11:27.839Z","etag":null,"topics":["database","docker","elasticsearch","linux","oracle-database","postgresql","sql","sqlserver"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ryukote.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"paypal.me/ryukote"}},"created_at":"2019-03-07T20:30:09.000Z","updated_at":"2019-06-04T05:18:15.000Z","dependencies_parsed_at":"2023-01-24T10:20:23.093Z","dependency_job_id":null,"html_url":"https://github.com/Ryukote/Sql2Elastic","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/Ryukote/Sql2Elastic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryukote%2FSql2Elastic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryukote%2FSql2Elastic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryukote%2FSql2Elastic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryukote%2FSql2Elastic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ryukote","download_url":"https://codeload.github.com/Ryukote/Sql2Elastic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryukote%2FSql2Elastic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266605964,"owners_count":23955192,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["database","docker","elasticsearch","linux","oracle-database","postgresql","sql","sqlserver"],"created_at":"2025-07-23T02:30:49.366Z","updated_at":"2025-07-23T02:31:23.920Z","avatar_url":"https://github.com/Ryukote.png","language":"C#","readme":"# Sql2Elastic\n\nSql2Elastic is an application that migrates your database tables to Elasticsearch documents.\nThis is made generic, so it doesn't matter how your table is structured.\nCheckout this repository on [Github](https://github.com/Ryukote/Sql2Elastic).\nThe best scenario would be to migrate log tables to Elasticsearch with this.\nFor now it supports migration from **SQL Server** and **Postgres.**\n\nIn the future it will support other databases like Oracle.\n\n## How to run this image\n\n```bash\ndocker run --name sql2elastic --restart always -e \"DbType=[type]\" -e \"SqlHost=[sql_address_with_port]\" -e \"DbPort=[db_port]\" -e \"DbName=[database_name]\" -e \"DbUsername=[database_username]\" -e \"DbPassword=[database_password]\" -e \"DbTable=[table_to_migrate]\" -e \"DbSchema=[schema_name]\" -e \"ElasticHost=[elastic_address_with_port]\" -e \"ElasticIndex=[index_name]\" -e \"ElasticDocument=[document_name]\" -d ryukote/sql2elastic:latest\n```\n\n### Notice\n\n1. Replace **\"[type]\"** with either \"SQL Server\" or \"Postgres\"\n2. Replace **\"[sql_address_with_port]\"** with valid information in format:\n    * **ip_address, port\"** if you are using SQL Server (in this case you need to remove DbPort variable)\n    * **\"ip_address** if you are using Postgres (in this case you need to include your Postgres port in DbPort variable)\n3. Replace **\"[database_name]\"** with valid database name\n4. Replace **\"[database_username]\"** with valid database user that have rights to access this database\n5. Replace **\"[database_password]\"** with valid password of user\n6. Replace **\"[table_to_migrate]\"** with valid database table. **Don't** specify table schema in this parameter\n7. Replace **\"[schema_name]\"** with valid schema name of mentioned database table\n8. Replace **\"[elastic_address_with_port]\"** with Elasticsearch IP address(you need to add **http/https** prefix to Elasticsearch IP address) and port\n9. Replace **\"[index_name]\"** with whatever name you want to use for your index, but it needs to be all lower case\n10. Replace **\"[document_name]\"** with whatever name you want to use for your document, but it needs to be all lower case\n","funding_links":["paypal.me/ryukote"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryukote%2Fsql2elastic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryukote%2Fsql2elastic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryukote%2Fsql2elastic/lists"}