{"id":22474927,"url":"https://github.com/cosh/mqtttokusto","last_synced_at":"2025-08-02T11:32:23.723Z","repository":{"id":140972648,"uuid":"468010499","full_name":"cosh/mqttToKusto","owner":"cosh","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-21T17:47:50.000Z","size":271,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T18:54:26.511Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cosh.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-03-09T16:39:06.000Z","updated_at":"2023-03-01T16:29:13.000Z","dependencies_parsed_at":"2023-06-29T06:01:08.393Z","dependency_job_id":null,"html_url":"https://github.com/cosh/mqttToKusto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cosh/mqttToKusto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosh%2FmqttToKusto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosh%2FmqttToKusto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosh%2FmqttToKusto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosh%2FmqttToKusto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosh","download_url":"https://codeload.github.com/cosh/mqttToKusto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosh%2FmqttToKusto/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268378965,"owners_count":24240907,"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-02T02:00:12.353Z","response_time":74,"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-06T13:12:39.568Z","updated_at":"2025-08-02T11:32:23.711Z","avatar_url":"https://github.com/cosh.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mqttToKusto\n\n![the logo](media/logo.png)\n\n[![.NET](https://github.com/cosh/mqttToKusto/actions/workflows/dotnet.yml/badge.svg?branch=main)](https://github.com/cosh/mqttToKusto/actions/workflows/dotnet.yml)\n\nMqttToKusto is a simple tool to subscribe to 1..N topics of an MQTT broker and send that data directly to Kusto ([Azure Data Explorer](https://azure.microsoft.com/services/data-explorer/), [Azure Synapse Data Explorer](https://docs.microsoft.com/azure/synapse-analytics/data-explorer/data-explorer-overview), [MyFreeCluster](https://aka.ms/kustofree)). It's written in C# (.net core) and it runs on a all kinds of devices or operating systems.\n\nConfiguration:\n\n```\n{\n  \"Settings\": {\n    \"APPINSIGHTS_INSTRUMENTATIONKEY\": \"\",\n    \"MqttURL\": \"IP or url here\",\n    \"MqttClientId\": \"some unique id\",\n    \"Kusto\": {\n      \"ClientId\": \"service principal client id\",\n      \"ClientSecret\": \"service principal client secret\",\n      \"TenantId\": \"azure ad tenant\",\n      \"ClusterName\": \"\u003cclustername\u003e.\u003cazureRegion\u003e\",\n      \"DbName\": \"kusto database name\",\n      \"MaxRetries\": 10,\n      \"MsBetweenRetries\": 60000\n    },\n    \"Subscriptions\": [\n      {\n        \"MqttTopic\": \"sensor\",\n        \"KustoTable\": \"raw\",\n        \"MappingName\": \"map\",\n        \"BatchLimitInMinutes\": 5,\n        \"BatchLimitNumberOfEvents\": \"1000\"\n      },\n      {\n        \"MqttTopic\": \"steckdose\",\n        \"KustoTable\": \"steckdose\",\n        \"MappingName\": \"map\",\n        \"BatchLimitInMinutes\": 10,\n        \"BatchLimitNumberOfEvents\": \"1000\"\n      },\n      {\n        \"MqttTopic\": \"forecast\",\n        \"KustoTable\": \"forecast\",\n        \"MappingName\": \"map\",\n        \"BatchLimitInMinutes\": 10,\n        \"BatchLimitNumberOfEvents\": \"1000\"\n      },\n      {\n        \"MqttTopic\": \"pvsensor\",\n        \"KustoTable\": \"pvsensor\",\n        \"MappingName\": \"map\",\n        \"BatchLimitInMinutes\": 10,\n        \"BatchLimitNumberOfEvents\": \"1000\"\n      },\n      {\n        \"MqttTopic\": \"homematicsensor\",\n        \"KustoTable\": \"homematicsensor\",\n        \"MappingName\": \"map\",\n        \"BatchLimitInMinutes\": 10,\n        \"BatchLimitNumberOfEvents\": \"1000\"\n      }\n    ]\n  }\n}\n```\n\nHave phun sending data kusto and create beautiful visualizations using the [dashboards](https://dataexplorer.azure.com/dashboards).\n\n![the dashboard](media/dashboard.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosh%2Fmqtttokusto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosh%2Fmqtttokusto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosh%2Fmqtttokusto/lists"}