base on # [DEPRECATED] Operations Management Suite Agent for Linux
> :warning: The Log Analytics agent has been **deprecated** and has no support as of **August 31, 2024.** If you use the Log Analytics agent to ingest data to Azure Monitor, [migrate now to the new Azure Monitor agent](https://docs.microsoft.com/en-us/azure/azure-monitor/agents/azure-monitor-agent-migration).
>
## Overview
Welcome to the Log Analytics agent for Linux! The agent for Linux enables rich and real-time analytics for operational data (Syslog, performance, alerts, inventory) from Linux servers, Docker containers and monitoring tools like Nagios, Zabbix and System Center.
## Quick Install guide
The following steps configure setup of the Log Analytics agent in Azure and Azure Government cloud. *Commands are for 64-bit*. Before installing the Log Analytics agent for Linux, you need the workspace ID and key for your Azure Monitor Log Analytics workspace.
1. In the Azure portal, click **All services** found in the upper left-hand corner. In the list of resources, type **Log Analytics Workspace**. As you begin typing, the list filters based on your input. Select **Log Analytics Workspace**.
2. In your list of Log Analytics workspaces, select the workspace.
3. Select **Agents Management** from the left hand pane.
4. Select the **Linux Servers** tab.
5. There is a dropdown chevron next to **Log Analytics agent instructions**. Click it.
6. Copy and paste into your favorite editor the value to the right of **Workspace ID** and **Primary Key**.
To configure the Linux computer to connect to an Azure Monitor Log Analytics workspace, run the following command providing the workspace ID and primary key copied earlier. The following command downloads the agent, validates its checksum, and installs it.
For Azure Monitor Log Analytics workspace in commercial cloud:
```
wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh && sh onboard_agent.sh -w <YOUR WORKSPACE ID> -s <YOUR WORKSPACE PRIMARY KEY>
```
For Azure Monitor Log Analytics workspace in Azure Government cloud:
```
wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh && sh onboard_agent.sh -w <YOUR WORKSPACE ID> -s <YOUR WORKSPACE PRIMARY KEY> -d opinsights.azure.us
```
## Azure Install guide
If you are an Azure customer, we have an Azure VM extension that allows you to easily onboard to Azure Monitor Log Analytics workspace.
* [Log Analytics Agent for Linux Azure VM extension documentation](https://docs.microsoft.com/azure/virtual-machines/extensions/oms-linux?toc=%2Fazure%2Fazure-monitor%2Ftoc.json)
* [Azure Video walkthrough](https://www.youtube.com/watch?v=mF1wtHPEzT0)
## [Full installation guide](https://docs.microsoft.com/azure/azure-monitor/platform/log-analytics-agent)
## [Download Latest OMS Agent for Linux (64-bit)](https://github.com/microsoft/OMS-Agent-for-Linux/releases/download/OMSAgent_v1.19.0-0/omsagent-1.19.0-0.universal.x64.sh)
## [Download Latest OMS Agent for Linux (Final 32-bit Release)](https://github.com/microsoft/OMS-Agent-for-Linux/releases/download/OMSAgent_v1.12.15-0/omsagent-1.12.15-0.universal.x86.sh)
## Feedback
We love feedback! Whether it be good, bad or indifferent, it really helps us build a better product for you. There are a few different routes to give feedback:
* **UserVoice:** Post ideas for new Azure Monitor logs features to work on [here](http://feedback.azure.com/forums/267889-azure-operational-insights)
* **Monthly survey:** if you are an Azure Monitor customer, you know we send out a survey every month asking our customers about the features we’re working on next.
* **Elite Linux customer panel:** If you are a die-hard Azure Monitor Linux user and want to join our weekly calls and talk directly to the product team apply through this **[survey](https://www.surveymonkey.com/r/6MTHN3P).**
## Supported Linux Operating Systems
### Supported Distro/Version strategy
The Log Analytics agent for Linux is built to work with Azure Monitor logs, which has a limited scope of scenarios. Our strategy for supporting new distros and versions starting August 2018 is that we will:
1. Only support server versions, no client OS versions.
2. Focus support on any of the [Azure Linux Endorsed distros](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/endorsed-distros). Note that there may be some delay between a new distro/version being Azure Linux Endorsed and it being supported for the Log Analytics Linux agent.
3. Not support versions that have passed their manufacturer's end-of-support date.
4. Always support the latest GA version of a supported distro.
5. Only support VM images; containers, even those derived from official distro publishers' images, are not supported.
6. Not support new versions of AMI.
7. Only support versions that run SSL 1.x by default.
If you are using a distro or version that is not currently supported and doesn't fit our future support strategy, we recommend that you fork this repo, acknowledging that Microsoft support will not provide assistance with for forked agent versions.
### Pre-1.13.27 [Python Requirements](https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agent-linux#python-2-requirement)
### 64-bit
* CentOS 7, and 8
* Amazon Linux 2017.09
* Oracle Linux 7 and 8
* Red Hat Enterprise Linux Server 7, 8 and 9
* Debian GNU/Linux 8, 9, 10, 11
* Ubuntu Linux 14.04 LTS, 16.04 LTS, 18.04 LTS, 20.04 LTS and 22.04 LTS
* SUSE Linux Enterprise Server 12 and 15
* Rocky 8, and 9
* Alma 8, and 9
### 32-bit
* CentOS 6
* Oracle Linux 6
* Red Hat Enterprise Linux Server 6
* Debian GNU/Linux 8 and 9
* Ubuntu Linux 14.04 LTS and 16.04 LTS
**Note:** Containers are not supported. If you need to monitor containers, please leverage the [Container Monitoring solution](https://docs.microsoft.com/en-us/azure/azure-monitor/insights/containers) for Docker hosts or [Azure Monitor for containers](https://docs.microsoft.com/en-us/azure/azure-monitor/insights/container-insights-overview) for Kubernetes.
**Note:** Openssl 1.1.0 is only supported on x86_64 platforms (64-bit).
**Note:** OpenSSL < 1.x is not supported on any platform.
## [Troubleshooting Guide](https://docs.microsoft.com/azure/azure-monitor/platform/agent-linux-troubleshoot)
## Supported Scenarios
- ### [Heartbeat data collection](https://docs.microsoft.com/azure/log-analytics/log-analytics-queries?toc=/azure/azure-monitor/toc.json#write-a-query)
- ### [Syslog data collection](https://docs.microsoft.com/azure/azure-monitor/platform/data-sources-syslog)
- ### [Docker collection](https://docs.microsoft.com/azure/azure-monitor/insights/containers)
- ### [Performance data collection](https://docs.microsoft.com/azure/azure-monitor/platform/data-sources-performance-counters)
- ### [Nagios and Zabbix alert collection](https://docs.microsoft.com/azure/azure-monitor/platform/data-sources-alerts-nagios-zabbix)
- ### [CollectD Metrics Collection](https://docs.microsoft.com/azure/azure-monitor/platform/data-sources-collectd)
- ### [Custom JSON Data](https://docs.microsoft.com/azure/azure-monitor/platform/data-sources-json)
- ### [VMware Monitoring](https://docs.microsoft.com/azure/azure-monitor/insights/vmware)
## Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more
information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact
[
[email protected]](mailto:
[email protected]) with any
additional questions or comments.
", Assign "at most 3 tags" to the expected json: {"id":"4678","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"