{"id":18811722,"url":"https://github.com/logicmonitor/lm-logs-gcp","last_synced_at":"2026-02-23T07:04:42.628Z","repository":{"id":46424298,"uuid":"294028093","full_name":"logicmonitor/lm-logs-gcp","owner":"logicmonitor","description":"Google Cloud Platform integration to send logs to Logic Monitor","archived":false,"fork":false,"pushed_at":"2025-09-19T06:05:12.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-02-12T07:08:12.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logicmonitor.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":"2020-09-09T06:51:15.000Z","updated_at":"2025-09-19T06:05:17.000Z","dependencies_parsed_at":"2024-09-12T20:17:28.415Z","dependency_job_id":"833fc1e6-13cc-423c-88ac-1c5becdf0aff","html_url":"https://github.com/logicmonitor/lm-logs-gcp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/logicmonitor/lm-logs-gcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Flm-logs-gcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Flm-logs-gcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Flm-logs-gcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Flm-logs-gcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logicmonitor","download_url":"https://codeload.github.com/logicmonitor/lm-logs-gcp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Flm-logs-gcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29739024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T04:51:08.365Z","status":"ssl_error","status_checked_at":"2026-02-23T04:49:15.865Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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-11-07T23:27:25.684Z","updated_at":"2026-02-23T07:04:42.614Z","avatar_url":"https://github.com/logicmonitor.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lm-logs-gcp(beta)\nGoogle Cloud Platform integration to send logs to LogicMonitor\n\n## Prerequisites\n\n- LogicMonitor API access tokens.\n- We support **VM Instance** logs only.\n\n## Installation instructions\n\nClick **Activate Cloud Shell** on the top right. This opens the Cloud Shell Terminal below the workspace. \n\nIn the Terminal, run the following commands to select the project.\n``` console\ngcloud config set project [PROJECT_ID]\n```\n\nRun the following to install the integration:\n``` console\nsource \u003c(curl -s https://raw.githubusercontent.com/logicmonitor/lm-logs-gcp/master/script/gcp.sh) \u0026\u0026 deploy_lm-logs\n```\n\nInstalling the integration creates these resources:\n- PubSub topic named **export-logs-to-lm** and a pull subscription.\n- Virtual Machine (VM) named **lm-logs-forwarder**.\n\nNote: You will be prompted to confirm the region where the VM is deployed. This should be configured by default within your project.\n\nAfter the script is completed, go to the VM named **lm-logs-forwarder**: \n \nCompute Engine \u003e VM Instances \u003e (select LM-Logs-forward) \u003e Remote access \u003e (Select SSH)\n\nSSH into it and run the following command.\n\n``` console\nexport GCP_PROJECT_ID=\"${GCP_PROJECT_ID}\"\nexport LM_COMPANY_NAME=\"${LM_COMPANY_NAME}\"\nexport LM_COMPANY_DOMAIN=\"${LM_COMPANY_DOMAIN}\"\nexport LM_ACCESS_ID=\"${LM_ACCESS_ID}\"\nexport LM_ACCESS_KEY=\"${LM_ACCESS_KEY}\"\n\nsource \u003c(curl -s https://raw.githubusercontent.com/logicmonitor/lm-logs-gcp/master/script/vm.sh)\n```\nAllowed domains: \n- lmgov.us\n- qa-lmgov.us\n- logicmonitor.com\n\nFor example, if your URL is https://xyz.logicmonitor.com then,\nLM_COMPANY_NAME = xyz\nLM_COMPANY_DOMAIN = logicmonitor.com\n\nAnd for GovCloud if it is like https://xyzgov.lmgov.us\nLM_COMPANY_NAME = xyzgov\nLM_COMPANY_DOMAIN = lmgov.us\n\nIf LM_COMPANY_DOMAIN is not set, by default it will be set as \"logicmonitor.com\" and for incorrect domain (example: test.com), it will fail.\n\n## Export logs from Logging to Pub Sub\n- Go to the Logging page and filter the logs that need to be exported.\n- Click **Actions \u003e Create** sink and under **Sink details**, provide the name.\n- Under **Sink destination**, choose **Cloud Pub/Sub** as the destination and select **export-logs-to-lm**. Note: The pub/sub can be located in a different project.\n- Click **Create sink**.\n\nIf there are no issues you should see the logs stream into the Logs page in LogicMonitor.\n\n## Removing the integration\n\nRun the following commands to delete the integration and all its resources: \n``` console\nsource \u003c(curl -s https://raw.githubusercontent.com/logicmonitor/lm-logs-gcp/master/script/gcp.sh) \u0026\u0026 delete_lm-logs\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogicmonitor%2Flm-logs-gcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogicmonitor%2Flm-logs-gcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogicmonitor%2Flm-logs-gcp/lists"}