{"id":16497393,"url":"https://github.com/mlof/elasticuploader","last_synced_at":"2026-05-25T16:05:33.238Z","repository":{"id":133007968,"uuid":"607609320","full_name":"mlof/ElasticUploader","owner":"mlof","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-01T21:39:39.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T14:41:33.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/mlof.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":"2023-02-28T10:19:02.000Z","updated_at":"2023-03-01T20:40:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7d31996-19fc-49a2-8fb3-c23eb7de1446","html_url":"https://github.com/mlof/ElasticUploader","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mlof/ElasticUploader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlof%2FElasticUploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlof%2FElasticUploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlof%2FElasticUploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlof%2FElasticUploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlof","download_url":"https://codeload.github.com/mlof/ElasticUploader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlof%2FElasticUploader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33482441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T14:31:05.219Z","status":"ssl_error","status_checked_at":"2026-05-25T14:31:02.878Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10-11T14:39:28.462Z","updated_at":"2026-05-25T16:05:33.214Z","avatar_url":"https://github.com/mlof.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elastic Uploader\n\nA simple tool to upload a csv file to an Elasticsearch index. Because screw having to write a logstash config for every csv file.\n\nIf index name is not specified, the file name will be used.\n\nAuthentication can be done with either a cloud id and api key or a elastic uri and user/password.\n\nWhen in doubt, run with -h to get help.\n\n## Example usage\n\n```bat\nelastic-upload -f C:\\temp\\test.csv -e \"http://localhost:9200\" -u elastic -p changeme -b 1000\n\nelastic-upload -f C:\\temp\\test.csv -c cloudid:cloudid -k apikey -b 1000\n```\n\n## Performance tuning\n\nThe tool uses a bulk upload to send the data to Elasticsearch. The default batch size is 1000. This can be changed with the -b parameter. It awaits all bulk actions to be completed before sending the next batch. I don't want to set your server on fire.\n\nOfficial documentation says that the Bulk API wil comfortably handle 5-15 mb per bulk. I don't know how wide your data is, so you might want to adjust the batch size accordingly.\n\nDynamic bulk sizing does sound interesting, so it might be added in the future.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlof%2Felasticuploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlof%2Felasticuploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlof%2Felasticuploader/lists"}