{"id":15681563,"url":"https://github.com/grokify/sumologic-sdk-ruby","last_synced_at":"2025-05-07T08:23:47.340Z","repository":{"id":33516141,"uuid":"37162134","full_name":"grokify/sumologic-sdk-ruby","owner":"grokify","description":"Sumo Logic SDK in Ruby","archived":false,"fork":false,"pushed_at":"2024-03-14T13:53:06.000Z","size":45,"stargazers_count":10,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-24T18:23:50.337Z","etag":null,"topics":["ruby-sdk","sumologic"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/grokify.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2015-06-09T22:30:15.000Z","updated_at":"2023-02-16T09:53:57.000Z","dependencies_parsed_at":"2024-10-03T16:56:32.242Z","dependency_job_id":"91eb48c6-3a05-48a6-8a6d-6f6ea6612851","html_url":"https://github.com/grokify/sumologic-sdk-ruby","commit_stats":{"total_commits":75,"total_committers":4,"mean_commits":18.75,"dds":"0.22666666666666668","last_synced_commit":"7f4e259c26efb25dfeb81eb2e7e054f2ac01cc93"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Fsumologic-sdk-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Fsumologic-sdk-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Fsumologic-sdk-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Fsumologic-sdk-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grokify","download_url":"https://codeload.github.com/grokify/sumologic-sdk-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252840236,"owners_count":21812270,"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":["ruby-sdk","sumologic"],"created_at":"2024-10-03T16:56:30.385Z","updated_at":"2025-05-07T08:23:47.294Z","avatar_url":"https://github.com/grokify.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sumo Logic Ruby SDK\n===================\n\n[![Gem Version][gem-version-svg]][gem-version-link]\n[![Build Status][build-status-svg]][build-status-link]\n[![Code Climate][codeclimate-status-svg]][codeclimate-status-link]\n[![Scrutinizer Code Quality][scrutinizer-status-svg]][scrutinizer-status-link]\n[![Docs][docs-rubydoc-svg]][docs-rubydoc-link]\n[![License][license-svg]][license-link]\n\nRuby interface to the Sumo Logic REST API.\n\n## Usage\n\nThe Ruby SDK is ported from the [Sumo Logic Python SDK](https://github.com/SumoLogic/sumologic-python-sdk).\n\nThe following methods are currently implemented:\n\n```ruby\nsumo = SumoLogic::Client.new access_id, access_key\n\n# Search\nr = sumo.search query [, from, to, time_zone]\n\nr = sumo.search_job query [, from, to, time_zone]\n\nr = sumo.search_job_messages {'id' =\u003e search_job_id}, limit, offset\n\nr = sumo.search_job_records {'id' =\u003e search_job_id}, limit, offset\n\nr = sumo.search_job_status {'id' =\u003e search_job_id}\n\n# Dashboards\nr = sumo.dashboards\n\nr = sumo.dashboard dashboard_id\n\nr = sumo.dashboard_data dashboard_id\n\n# Collectors\nr = sumo.collectors [limit, offset]\n\nr = sumo.collector collector_id\n\nr = sumo.update_collector collector, etag\n\nr = sumo.delete_collector collector\n\n# Sources\nr = sumo.sources collector_id [, limit, offset]\n\nr = sumo.source collector_id, source_id\n\nr = sumo.update_source collector_id, source, etag\n\nr = sumo.delete_source collector_id, source\n\n# Content\nr = sumo.create_content path, data\n\nr = sumo.get_content path\n\nr = sumo.delete_content path\n\n# Low-Level\nr = sumo.post path, data\n```\n\nNote, for the search methods, the query parameter can be exactly the same query that is entered into the Sumo Logic web console.\n\nExample scripts are located in the `scripts` directory of the [GitHub repo](https://github.com/grokify/sumologic-sdk-ruby).\n\n## Change Log\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## Links\n\nProject Repo\n\n* https://github.com/grokify/sumologic-sdk-ruby\n\nSumo Logic API Documentation\n\n* https://help.sumologic.com/APIs\n* https://github.com/SumoLogic/sumo-api-doc/wiki\n\nSumo Logic Python SDK\n\n* https://github.com/SumoLogic/sumologic-python-sdk\n\n## Contributions\n\nPlease add your scripts and programs to the `scripts` folder.\n\nAny reports of problems, comments or suggestions are most welcome.\n\nPlease report these on [Github](https://github.com/grokify/sumologic-sdk-ruby)\n\n## License\n\nSumo Logic Ruby SDK is available under an MIT-style license. See [LICENSE.md](LICENSE.md) for details.\n\nSumo Logic Ruby SDK \u0026copy; 2015-2023 by John Wang\n\n [gem-version-svg]: https://badge.fury.io/rb/sumologic.svg\n [gem-version-link]: http://badge.fury.io/rb/sumologic\n [downloads-svg]: http://ruby-gem-downloads-badge.herokuapp.com/sumologic\n [downloads-link]: https://rubygems.org/gems/sumologic\n [build-status-svg]: https://api.travis-ci.org/grokify/sumologic-sdk-ruby.svg?branch=master\n [build-status-link]: https://travis-ci.org/grokify/sumologic-sdk-ruby\n [dependency-status-svg]: https://gemnasium.com/grokify/sumologic-sdk-ruby.svg\n [dependency-status-link]: https://gemnasium.com/grokify/sumologic-sdk-ruby\n [codacy-svg]: https://api.codacy.com/project/badge/Grade/d6c7f184a9394629a9a65a1406e9f767\n [codacy-link]: https://www.codacy.com/app/grokify/sumologic-sdk-ruby\n [codeclimate-status-svg]: https://codeclimate.com/github/grokify/sumologic-sdk-ruby/badges/gpa.svg\n [codeclimate-status-link]: https://codeclimate.com/github/grokify/sumologic-sdk-ruby\n [scrutinizer-status-svg]: https://scrutinizer-ci.com/g/grokify/sumologic-sdk-ruby/badges/quality-score.png?b=master\n [scrutinizer-status-link]: https://scrutinizer-ci.com/g/grokify/sumologic-sdk-ruby/?branch=master\n [story-status-svg]: https://badge.waffle.io/grokify/sumologic-sdk-ruby.svg?label=ready\u0026title=Ready\n [story-status-link]: https://waffle.io/grokify/sumologic-sdk-ruby\n [docs-rubydoc-svg]: https://img.shields.io/badge/docs-rubydoc-blue.svg\n [docs-rubydoc-link]: http://www.rubydoc.info/gems/sumologic/\n [license-svg]: https://img.shields.io/badge/license-MIT-blue.svg\n [license-link]: https://github.com/grokify/sumologic-sdk-ruby/blob/master/LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrokify%2Fsumologic-sdk-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrokify%2Fsumologic-sdk-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrokify%2Fsumologic-sdk-ruby/lists"}