(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[70262],{40231:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/integrations/infrastructure-metrics/google-cloud/iot-core-telegraf-metrics",function(){return o(85515)}])},85515:function(e,t,o){"use strict";o.r(t),o.d(t,{__toc:function(){return a}});var i=o(85893),r=o(31379),n=o(9575);let a=[{depth:3,value:"Install Integration",id:"install-integration"},{depth:3,value:"Set Credentials in GCP",id:"set-credentials-in-gcp"},{depth:3,value:"Install Telegraf",id:"install-telegraf"},{depth:3,value:"Configure the Telegraf input plugin",id:"configure-the-telegraf-input-plugin"},{depth:3,value:"Configure the output plugin",id:"configure-the-output-plugin"},{depth:3,value:"Start Telegraf",id:"start-telegraf"},{depth:3,value:"View your metrics",id:"view-your-metrics"},{depth:3,value:"How to diagnose no data in Stack",id:"how-to-diagnose-no-data-in-stack"},{depth:2,value:"Telegraf Google IOT Core Platform metrics Overview",id:"telegraf-google-iot-core-platform-metrics-overview"}];function s(e){let t=Object.assign({p:"p",h3:"h3",h2:"h2"},(0,n.a)(),e.components),{Steps:o,InstallIntegration:r,SetGCPCredentials:a,InstallTelegraf:s,TelegrafStackDriverInput:g,TelegrafOutputPlugin:c,StartTelegraf:u,LaunchStack:d,DiagnoseNoData:f,IntercomButton:p}=t;return f||l("DiagnoseNoData",!0),r||l("InstallIntegration",!0),s||l("InstallTelegraf",!0),p||l("IntercomButton",!0),d||l("LaunchStack",!0),a||l("SetGCPCredentials",!0),u||l("StartTelegraf",!0),o||l("Steps",!0),c||l("TelegrafOutputPlugin",!0),g||l("TelegrafStackDriverInput",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"Configure Telegraf to ship Google IOT Core metrics to your Logit.io stacks via Logstash."}),"\n",(0,i.jsxs)(o,{children:[(0,i.jsx)(t.h3,{id:"install-integration",children:"Install Integration"}),(0,i.jsx)(r,{}),(0,i.jsx)(t.h3,{id:"set-credentials-in-gcp",children:"Set Credentials in GCP"}),(0,i.jsx)(a,{intro:"Google IoT Core is a managed service within Google Cloud that enables organizations to securely connect, manage, and ingest data from IoT devices at scale. IoT Core provides a reliable infrastructure and a suite of tools for managing and analyzing IoT data, allowing organizations to build robust IoT solutions."}),(0,i.jsx)(t.h3,{id:"install-telegraf",children:"Install Telegraf"}),(0,i.jsx)(s,{}),(0,i.jsx)(t.h3,{id:"configure-the-telegraf-input-plugin",children:"Configure the Telegraf input plugin"}),(0,i.jsx)(g,{metric_type:"cloudiot.googleapis.com"}),(0,i.jsx)(t.h3,{id:"configure-the-output-plugin",children:"Configure the output plugin"}),(0,i.jsx)(c,{}),(0,i.jsx)(t.h3,{id:"start-telegraf",children:"Start Telegraf"}),(0,i.jsx)(u,{}),(0,i.jsx)(t.h3,{id:"view-your-metrics",children:"View your metrics"}),(0,i.jsx)(d,{stackType:"metrics",source:"Google_IOT_Core_Metrics_via_Telegraf",utmMedium:"metrics",utmCampaign:"telegraf-GoogleIotCore-metrics"}),(0,i.jsx)(t.h3,{id:"how-to-diagnose-no-data-in-stack",children:"How to diagnose no data in Stack"}),(0,i.jsx)(f,{})]}),"\n",(0,i.jsx)(t.h2,{id:"telegraf-google-iot-core-platform-metrics-overview",children:"Telegraf Google IOT Core Platform metrics Overview"}),"\n",(0,i.jsx)(t.p,{children:"To ensure effective monitoring and analysis of Google IoT Core deployments, it is important to implement\na comprehensive metrics management solution. Telegraf, an open-source server agent, is widely recognized\nfor its ability to collect and report metrics from various sources, including IoT device connectivity,\nmessage ingestion rates, and device activity."}),"\n",(0,i.jsx)(t.p,{children:"Telegraf offers a variety of input plugins that allow users to collect diverse metrics related to IoT\nCore performance, such as message throughput, device status, and connectivity patterns. These metrics\nprovide valuable insights into the health and performance of IoT deployments."}),"\n",(0,i.jsx)(t.p,{children:"For storing and analyzing these metrics, organizations can leverage Prometheus, an open-source monitoring\nand alerting toolkit known for its flexible query language and powerful data visualization capabilities.\nThe process of transmitting Google IoT Core metrics from Telegraf to Prometheus involves configuring\nTelegraf to present metrics in Prometheus's format and instructing Prometheus to scrape these metrics from the Telegraf server."}),"\n",(0,i.jsx)(t.p,{children:"Once the metrics are successfully integrated into Prometheus, organizations can perform comprehensive\nanalysis and visualization using Grafana. Grafana, a leading open-source platform for monitoring and\nobservability, seamlessly integrates with Prometheus, enabling users to create dynamic and interactive\ndashboards to explore IoT Core metrics, identify trends, and optimize IoT deployments."}),"\n",(0,i.jsxs)(t.p,{children:["If you need any further assistance with shipping your log data to Logit.io we're here to help you get started.\nFeel free to get in contact with our support team by sending us a message via ",(0,i.jsx)(p,{text:"live chat"})," & we'll be happy to assist."]})]})}function l(e,t){throw Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}t.default=(0,r.j)({MDXContent:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:t}=Object.assign({},(0,n.a)(),e.components);return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(s,{...e})}):s(e)},pageOpts:{filePath:"src/pages/integrations/infrastructure-metrics/google-cloud/iot-core-telegraf-metrics.mdx",route:"/integrations/infrastructure-metrics/google-cloud/iot-core-telegraf-metrics",frontMatter:{title:"Google IOT Core Metrics via Telegraf",metaTitle:"Configure Telegraf to Send Google IOT Core Metrics",subTitle:"Ship your Google IOT Core Metrics via Telegraf to your Logit.io Stack",logo:"GoogleCloudIotCore",color:"#3c76d7",description:"Use our example to configure Telegraf to ship Google IOT Core metrics to Logit.io. Configure Telegraf to send Google IOT Core metrics to Logstash or Elastic.",stackTypes:"metrics",tags:"Telegraf, Metrics, Telemetry, OpenTelemetry, Instrumentation, Google IOT Core, Internet of Things, IoT, Iot"},title:"Google IOT Core Metrics via Telegraf",headings:a},pageNextRoute:"/integrations/infrastructure-metrics/google-cloud/iot-core-telegraf-metrics"})}},function(e){e.O(0,[31379,92888,49774,40179],function(){return e(e.s=40231)}),_N_E=e.O()}]);