{"id":15808908,"url":"https://github.com/ookami-kb/insightops_dart","last_synced_at":"2025-08-22T17:30:49.071Z","repository":{"id":56621000,"uuid":"208845244","full_name":"ookami-kb/insightops_dart","owner":"ookami-kb","description":"Unofficial wrapper for using Rapid7 insightOps logs (former LogEntries) with Dart.","archived":false,"fork":false,"pushed_at":"2024-04-17T11:22:08.000Z","size":23,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-06T03:08:00.946Z","etag":null,"topics":["dart","dart-library","dart2","dartlang","insightops","logentries","logging","logging-library","rapid7"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/insightops_dart","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ookami-kb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2019-09-16T16:20:07.000Z","updated_at":"2021-03-03T21:11:31.000Z","dependencies_parsed_at":"2024-10-26T09:10:36.346Z","dependency_job_id":"5ec17021-cff4-4c20-ab85-58e0754a337e","html_url":"https://github.com/ookami-kb/insightops_dart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ookami-kb/insightops_dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ookami-kb%2Finsightops_dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ookami-kb%2Finsightops_dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ookami-kb%2Finsightops_dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ookami-kb%2Finsightops_dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ookami-kb","download_url":"https://codeload.github.com/ookami-kb/insightops_dart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ookami-kb%2Finsightops_dart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271673550,"owners_count":24800711,"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-22T02:00:08.480Z","response_time":65,"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":["dart","dart-library","dart2","dartlang","insightops","logentries","logging","logging-library","rapid7"],"created_at":"2024-10-05T03:08:22.300Z","updated_at":"2025-08-22T17:30:48.665Z","avatar_url":"https://github.com/ookami-kb.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://github.com/ookami-kb/insightops_dart/workflows/Dart%20CI/badge.svg)\n\nAn unofficial wrapper for using Rapid7 insightOps logs (former LogEntries) with Dart.\n\nThis package is using [logging] package to do the actual logging, and implements a handler to post the message to\ninsightOps.\n\n## Setting up\n\nSet up a new log by following the [instructions], copy a URL that you will use to send your log data to.\n\n## Usage\n\nA simple usage example:\n\n```dart\nimport 'package:insightops_dart/insightops_dart.dart';\nimport 'package:logging/logging.dart';\n\nmain() {\n  // Create handler and pass the URL from log settings.\n  final handler = InsightOpsLogger('__LOG_URL__');\n\n  // Define settings for the logger.\n  Logger.root.level = Level.ALL;\n  Logger.root.onRecord.listen(handler);\n\n  // Create logger.\n  final logger = Logger('Test logger');\n\n  // Log info message.\n  logger.info('test message');\n\n  // Log errors with stacktrace.\n  try {\n    throw Error();\n  } catch (e, stackTrace) {\n    logger.severe('Test failure', e, stackTrace);\n  }\n}\n```\n\n### Update body of the message\n\nYou can optionally pass `transformBody` parameter to the constructor. This method will be called with each request with\nthe body of the message. You can use it to update the body:\n\n```dart\n\nfinal handler = InsightOpsLogger(\n  '__LOG_URL__',\n  transformBody: (body) async =\u003e\n  {\n    'meta': {'deviceId': 'ID'},\n    ...body,\n  },\n);\n```\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: https://github.com/ookami-kb/insightops_dart/issues\n\n[instructions]: https://insightops.help.rapid7.com/docs/insightops-webhook#section-create-a-log-to-send-your-data-to\n\n[logging]: https://pub.dev/packages/logging\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fookami-kb%2Finsightops_dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fookami-kb%2Finsightops_dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fookami-kb%2Finsightops_dart/lists"}