diff --git a/reference/fleet/air-gapped.md b/reference/fleet/air-gapped.md index a56a4d938f..e21b167540 100644 --- a/reference/fleet/air-gapped.md +++ b/reference/fleet/air-gapped.md @@ -110,11 +110,6 @@ There are different distributions available: * production: `docker.elastic.co/package-registry/distribution:production` - Packages available in the production registry ([https://epr.elastic.co](https://epr.elastic.co)). Please note that this image is updated every time a new version of a package gets published. * lite: `docker.elastic.co/package-registry/distribution:lite` - Subset of the most commonly used packages available in the production registry ([https://epr.elastic.co](https://epr.elastic.co)). Please note that this image is updated every time a new version of a package gets published. -::::{warning} -Version 9.0.0-beta1 of the {{package-registry}} distribution has not yet been released. - -:::: - To update the distribution image, re-pull the image and then restart the docker container. diff --git a/reference/fleet/install-standalone-elastic-agent.md b/reference/fleet/install-standalone-elastic-agent.md index 6318269198..88802b5930 100644 --- a/reference/fleet/install-standalone-elastic-agent.md +++ b/reference/fleet/install-standalone-elastic-agent.md @@ -28,23 +28,55 @@ To install and run {{agent}} standalone: ::::{tab-set} :::{tab-item} macOS - Version 9.0.0-beta1 of {{agent}} has not yet been released. + ```shell subs=true + curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{stack-version}}-darwin-x86_64.tar.gz + tar xzvf elastic-agent-{{stack-version}}-darwin-x86_64.tar.gz + ``` ::: :::{tab-item} Linux - Version 9.0.0-beta1 of {{agent}} has not yet been released. + ```shell subs=true + curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{stack-version}}-linux-x86_64.tar.gz + tar xzvf elastic-agent-{{stack-version}}-linux-x86_64.tar.gz + ``` ::: :::{tab-item} Windows - Version 9.0.0-beta1 of {{agent}} has not yet been released. + ```shell subs=true + # PowerShell 5.0+ + wget https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{stack-version}}-windows-x86_64.zip -OutFile elastic-agent-{{stack-version}}-windows-x86_64.zip + Expand-Archive .\elastic-agent-{{stack-version}}-windows-x86_64.zip + ``` + Or manually: + + 1. Download the {{agent}} Windows zip file from the [download page](https://www.elastic.co/downloads/beats/elastic-agent). + + 2. Extract the contents of the zip file. ::: :::{tab-item} DEB - Version 9.0.0-beta1 of {{agent}} has not yet been released. + IMPORTANT: + + * To simplify upgrading to future versions of {{agent}}, we recommended that you use the tarball distribution instead of the DEB distribution. + * You can install {{agent}} in an `unprivileged` mode that does not require `root` privileges. Refer to [Run {{agent}} without administrative privileges](./elastic-agent-unprivileged.md) for details. + + ```shell subs=true + curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{stack-version}}-amd64.deb + sudo dpkg -i elastic-agent-{{stack-version}}-amd64.deb + ``` ::: :::{tab-item} RPM - Version 9.0.0-beta1 of {{agent}} has not yet been released. + IMPORTANT: + + * To simplify upgrading to future versions of {{agent}}, we recommended that you use the tarball distribution instead of the RPM distribution. + * You can install {{agent}} in an `unprivileged` mode that does not require `root` privileges. Refer to [Run {{agent}} without administrative privileges](./elastic-agent-unprivileged.md) for details. + + + ```shell subs=true + curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{stack-version}}-x86_64.rpm + sudo rpm -vi elastic-agent-{{stack-version}}-x86_64.rpm + ``` ::: :::: @@ -79,31 +111,31 @@ To install and run {{agent}} standalone: On macOS, Linux (tar package), and Windows, run the `install` command to install {{agent}} as a managed service and start the service. The DEB and RPM packages include a service unit for Linux systems with systemd, so just enable then start the service. :::: - ::::{tab-set} + :::::{tab-set} - :::{tab-item} macOS + ::::{tab-item} macOS - ::::{tip} + :::{tip} You must run this command as the root user because some integrations require root privileges to collect sensitive data. - :::: + ::: ```shell sudo ./elastic-agent install ``` - ::: + :::: - :::{tab-item} Linux + ::::{tab-item} Linux - ::::{tip} + :::{tip} You must run this command as the root user because some integrations require root privileges to collect sensitive data. - :::: + ::: ```shell sudo ./elastic-agent install ``` - ::: + :::: - :::{tab-item} Windows + ::::{tab-item} Windows Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select **Run As Administrator**). @@ -112,27 +144,19 @@ To install and run {{agent}} standalone: ```shell .\elastic-agent.exe install ``` - ::: - - :::{tab-item} DEB - - ::::{tip} - You must run this command as the root user because some integrations require root privileges to collect sensitive data. :::: + ::::{tab-item} DEB + ```shell sudo systemctl enable elastic-agent <1> sudo systemctl start elastic-agent ``` + 1. The DEB package includes a service unit for Linux systems with systemd. On these systems, you can manage {{agent}} by using the usual systemd commands. If you don’t have systemd, run `sudo service elastic-agent start`. - ::: - - :::{tab-item} RPM - - ::::{tip} - You must run this command as the root user because some integrations require root privileges to collect sensitive data. :::: + ::::{tab-item} RPM ```shell sudo systemctl enable elastic-agent <1> @@ -140,10 +164,10 @@ To install and run {{agent}} standalone: ``` 1. The RPM package includes a service unit for Linux systems with systemd. On these systems, you can manage {{agent}} by using the usual systemd commands. If you don’t have systemd, run `sudo service elastic-agent start`. - ::: - :::: + ::::: + Refer to [Installation layout](/reference/fleet/installation-layout.md) for the location of installed {{agent}} files. Because {{agent}} is installed as an auto-starting service, it will restart automatically if the system is rebooted. diff --git a/solutions/observability/apps/tutorial-monitor-java-application.md b/solutions/observability/apps/tutorial-monitor-java-application.md index e8e0502b72..37d7cc859e 100644 --- a/solutions/observability/apps/tutorial-monitor-java-application.md +++ b/solutions/observability/apps/tutorial-monitor-java-application.md @@ -377,23 +377,50 @@ To read the log file and send it to {{es}}, {{filebeat}} is required. To downloa :::::::{tab-set} ::::::{tab-item} DEB -Version 9.0.0-beta1 of Filebeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-amd64.deb +sudo dpkg -i filebeat-{{stack-version}}-amd64.deb +``` :::::: ::::::{tab-item} RPM -Version 9.0.0-beta1 of Filebeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-x86_64.rpm +sudo rpm -vi filebeat-{{stack-version}}-x86_64.rpm +``` :::::: ::::::{tab-item} MacOS -Version 9.0.0-beta1 of Filebeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-darwin-x86_64.tar.gz +tar xzvf filebeat-{{stack-version}}-darwin-x86_64.tar.gz +``` :::::: ::::::{tab-item} Linux -Version 9.0.0-beta1 of Filebeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-linux-x86_64.tar.gz +tar xzvf filebeat-{{stack-version}}-linux-x86_64.tar.gz +``` :::::: ::::::{tab-item} Windows -Version 9.0.0-beta1 of Filebeat has not yet been released. +1. Download the [Filebeat Windows zip file](https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-windows-x86_64.zip). + +2. Extract the contents of the zip file into `C:\Program Files`. + +3. Rename the `filebeat-[version]-windows-x86_64` directory to `Filebeat`. + +4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select *Run As Administrator*). + +5. From the PowerShell prompt, run the following commands to install Filebeat as a Windows service: + +```shell subs=true +PS > cd 'C:\Program Files\Filebeat' +PS C:\Program Files\Filebeat> .\install-service-filebeat.ps1 +``` + +NOTE: If script execution is disabled on your system, you need to set the execution policy for the current session to allow the script to run. For example: `PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-filebeat.ps1`. :::::: ::::::: @@ -1097,23 +1124,50 @@ To send metrics to {{es}}, {{metricbeat}} is required. To download and install { :::::::{tab-set} ::::::{tab-item} DEB -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-amd64.deb +sudo dpkg -i metricbeat-{{stack-version}}-amd64.deb +``` :::::: ::::::{tab-item} RPM -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-x86_64.rpm +sudo rpm -vi metricbeat-{{stack-version}}-x86_64.rpm +``` :::::: ::::::{tab-item} MacOS -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-darwin-x86_64.tar.gz +tar xzvf metricbeat-{{stack-version}}-darwin-x86_64.tar.gz +``` :::::: ::::::{tab-item} Linux -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-linux-x86_64.tar.gz +tar xzvf metricbeat-{{stack-version}}-linux-x86_64.tar.gz +``` :::::: ::::::{tab-item} Windows -Version 9.0.0-beta1 of Metricbeat has not yet been released. +1. Download the [Metricbeat Windows zip file](https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-windows-x86_64.zip). + +2. Extract the contents of the zip file into `C:\Program Files`. + +3. Rename the `metricbeat-[version]-windows-x86_64` directory to `Metricbeat`. + +4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select *Run As Administrator*). + +5. From the PowerShell prompt, run the following commands to install Metricbeat as a Windows service: + + ```shell subs=true + PS > cd 'C:\Program Files\Metricbeat' + PS C:\Program Files\Metricbeat> .\install-service-metricbeat.ps1 + ``` + +NOTE: If script execution is disabled on your system, you need to set the execution policy for the current session to allow the script to run. For example: `PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-metricbeat.ps1`. :::::: ::::::: @@ -1713,23 +1767,50 @@ To send uptime data to {{es}}, {{heartbeat}} (the polling component) is required :::::::{tab-set} ::::::{tab-item} DEB -Version 9.0.0-beta1 of Heartbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-{{stack-version}}-amd64.deb +sudo dpkg -i heartbeat-{{stack-version}}-amd64.deb +``` :::::: ::::::{tab-item} RPM -Version 9.0.0-beta1 of Heartbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-{{stack-version}}-x86_64.rpm +sudo rpm -vi heartbeat-{{stack-version}}-x86_64.rpm +``` :::::: ::::::{tab-item} MacOS -Version 9.0.0-beta1 of Heartbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-{{stack-version}}-darwin-x86_64.tar.gz +tar xzvf heartbeat-{{stack-version}}-darwin-x86_64.tar.gz +``` :::::: ::::::{tab-item} Linux -Version 9.0.0-beta1 of Heartbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-{{stack-version}}-linux-x86_64.tar.gz +tar xzvf heartbeat-{{stack-version}}-linux-x86_64.tar.gz +``` :::::: ::::::{tab-item} Windows -Version 9.0.0-beta1 of Heartbeat has not yet been released. +1. Download the [Heartbeat Windows zip file](https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-{{stack-version}}-windows-x86_64.zip). + +2. Extract the contents of the zip file into `C:\Program Files`. + +3. Rename the `heartbeat-[version]-windows-x86_64` directory to `Heartbeat`. + +4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select *Run As Administrator*). + +5. From the PowerShell prompt, run the following commands to install Heartbeat as a Windows service: + + ```shell subs=true + PS > cd 'C:\Program Files\Heartbeat' + PS C:\Program Files\Heartbeat> .\install-service-heartbeat.ps1 + ``` + +NOTE: If script execution is disabled on your system, you need to set the execution policy for the current session to allow the script to run. For example: `PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-heartbeat.ps1`. :::::: ::::::: diff --git a/solutions/observability/cloud/monitor-amazon-web-services-aws-with-beats.md b/solutions/observability/cloud/monitor-amazon-web-services-aws-with-beats.md index 5cef1e98f4..dfe042eaaf 100644 --- a/solutions/observability/cloud/monitor-amazon-web-services-aws-with-beats.md +++ b/solutions/observability/cloud/monitor-amazon-web-services-aws-with-beats.md @@ -126,23 +126,50 @@ Download and install {{filebeat}}. :::::::{tab-set} ::::::{tab-item} DEB -Version 9.0.0-beta1 of Filebeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-amd64.deb +sudo dpkg -i filebeat-{{stack-version}}-amd64.deb +``` :::::: ::::::{tab-item} RPM -Version 9.0.0-beta1 of Filebeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-x86_64.rpm +sudo rpm -vi filebeat-{{stack-version}}-x86_64.rpm +``` :::::: ::::::{tab-item} MacOS -Version 9.0.0-beta1 of Filebeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-darwin-x86_64.tar.gz +tar xzvf filebeat-{{stack-version}}-darwin-x86_64.tar.gz +``` :::::: ::::::{tab-item} Linux -Version 9.0.0-beta1 of Filebeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-linux-x86_64.tar.gz +tar xzvf filebeat-{{stack-version}}-linux-x86_64.tar.gz +``` :::::: ::::::{tab-item} Windows -Version 9.0.0-beta1 of Filebeat has not yet been released. +1. Download the [Filebeat Windows zip file](https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-windows-x86_64.zip). + +2. Extract the contents of the zip file into `C:\Program Files`. + +3. Rename the `filebeat-[version]-windows-x86_64` directory to `Filebeat`. + +4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select *Run As Administrator*). + +5. From the PowerShell prompt, run the following commands to install Filebeat as a Windows service: + + ```shell subs=true + PS > cd 'C:\Program Files\Filebeat' + PS C:\Program Files\Filebeat> .\install-service-filebeat.ps1 + ``` + +NOTE: If script execution is disabled on your system, you need to set the execution policy for the current session to allow the script to run. For example: `PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-filebeat.ps1`. :::::: ::::::: @@ -394,23 +421,50 @@ Download and install {{metricbeat}}. :::::::{tab-set} ::::::{tab-item} DEB -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-amd64.deb +sudo dpkg -i metricbeat-{{stack-version}}-amd64.deb +``` :::::: ::::::{tab-item} RPM -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-x86_64.rpm +sudo rpm -vi metricbeat-{{stack-version}}-x86_64.rpm +``` :::::: ::::::{tab-item} MacOS -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-darwin-x86_64.tar.gz +tar xzvf metricbeat-{{stack-version}}-darwin-x86_64.tar.gz +``` :::::: ::::::{tab-item} Linux -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-linux-x86_64.tar.gz +tar xzvf metricbeat-{{stack-version}}-linux-x86_64.tar.gz +``` :::::: ::::::{tab-item} Windows -Version 9.0.0-beta1 of Metricbeat has not yet been released. +1. Download the [Metricbeat Windows zip file](https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-windows-x86_64.zip). + +2. Extract the contents of the zip file into `C:\Program Files`. + +3. Rename the `metricbeat-[version]-windows-x86_64` directory to `Metricbeat`. + +4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select *Run As Administrator*). + +5. From the PowerShell prompt, run the following commands to install Metricbeat as a Windows service: + + ```shell subs=true + PS > cd 'C:\Program Files\Metricbeat' + PS C:\Program Files\Metricbeat> .\install-service-metricbeat.ps1 + ``` + +NOTE: If script execution is disabled on your system, you need to set the execution policy for the current session to allow the script to run. For example: `PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-metricbeat.ps1`. :::::: ::::::: diff --git a/solutions/observability/cloud/monitor-google-cloud-platform-gcp.md b/solutions/observability/cloud/monitor-google-cloud-platform-gcp.md index 985ab420aa..bbb7263925 100644 --- a/solutions/observability/cloud/monitor-google-cloud-platform-gcp.md +++ b/solutions/observability/cloud/monitor-google-cloud-platform-gcp.md @@ -120,23 +120,50 @@ Download and install {{metricbeat}}. :::::::{tab-set} ::::::{tab-item} DEB -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-amd64.deb +sudo dpkg -i metricbeat-{{stack-version}}-amd64.deb +``` :::::: ::::::{tab-item} RPM -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-x86_64.rpm +sudo rpm -vi metricbeat-{{stack-version}}-x86_64.rpm +``` :::::: ::::::{tab-item} MacOS -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-darwin-x86_64.tar.gz +tar xzvf metricbeat-{{stack-version}}-darwin-x86_64.tar.gz +``` :::::: ::::::{tab-item} Linux -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-linux-x86_64.tar.gz +tar xzvf metricbeat-{{stack-version}}-linux-x86_64.tar.gz +``` :::::: ::::::{tab-item} Windows -Version 9.0.0-beta1 of Metricbeat has not yet been released. +1. Download the [Metricbeat Windows zip file](https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-windows-x86_64.zip). + +2. Extract the contents of the zip file into `C:\Program Files`. + +3. Rename the `metricbeat-[version]-windows-x86_64` directory to `Metricbeat`. + +4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select *Run As Administrator*). + +5. From the PowerShell prompt, run the following commands to install Metricbeat as a Windows service: + + ```shell subs=true + PS > cd 'C:\Program Files\Metricbeat' + PS C:\Program Files\Metricbeat> .\install-service-metricbeat.ps1 + ``` + +NOTE: If script execution is disabled on your system, you need to set the execution policy for the current session to allow the script to run. For example: `PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-metricbeat.ps1`. :::::: ::::::: @@ -291,23 +318,50 @@ Download and install {{filebeat}}. :::::::{tab-set} ::::::{tab-item} DEB -Version 9.0.0-beta1 of Filebeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-amd64.deb +sudo dpkg -i filebeat-{{stack-version}}-amd64.deb +``` :::::: ::::::{tab-item} RPM -Version 9.0.0-beta1 of Filebeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-x86_64.rpm +sudo rpm -vi filebeat-{{stack-version}}-x86_64.rpm +``` :::::: ::::::{tab-item} MacOS -Version 9.0.0-beta1 of Filebeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-darwin-x86_64.tar.gz +tar xzvf filebeat-{{stack-version}}-darwin-x86_64.tar.gz +``` :::::: ::::::{tab-item} Linux -Version 9.0.0-beta1 of Filebeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-linux-x86_64.tar.gz +tar xzvf filebeat-{{stack-version}}-linux-x86_64.tar.gz +``` :::::: ::::::{tab-item} Windows -Version 9.0.0-beta1 of Filebeat has not yet been released. +1. Download the [Filebeat Windows zip file](https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-{{stack-version}}-windows-x86_64.zip). + +2. Extract the contents of the zip file into `C:\Program Files`. + +3. Rename the `filebeat-[stack-version]-windows-x86_64` directory to `Filebeat`. + +4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select *Run As Administrator*). + +5. From the PowerShell prompt, run the following commands to install Filebeat as a Windows service: + + ```shell subs=true + PS > cd 'C:\Program Files\Filebeat' + PS C:\Program Files\Filebeat> .\install-service-filebeat.ps1 + ``` + +NOTE: If script execution is disabled on your system, you need to set the execution policy for the current session to allow the script to run. For example: `PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-filebeat.ps1`. :::::: ::::::: diff --git a/solutions/observability/cloud/monitor-microsoft-azure-with-beats.md b/solutions/observability/cloud/monitor-microsoft-azure-with-beats.md index 7fb8424ae9..4e8d40c27d 100644 --- a/solutions/observability/cloud/monitor-microsoft-azure-with-beats.md +++ b/solutions/observability/cloud/monitor-microsoft-azure-with-beats.md @@ -198,23 +198,50 @@ Download and install {{metricbeat}}. :::::::{tab-set} ::::::{tab-item} DEB -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-amd64.deb +sudo dpkg -i metricbeat-{{stack-version}}-amd64.deb +``` :::::: ::::::{tab-item} RPM -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-x86_64.rpm +sudo rpm -vi metricbeat-{{stack-version}}-x86_64.rpm +``` :::::: ::::::{tab-item} MacOS -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-darwin-x86_64.tar.gz +tar xzvf metricbeat-{{stack-version}}-darwin-x86_64.tar.gz +``` :::::: ::::::{tab-item} Linux -Version 9.0.0-beta1 of Metricbeat has not yet been released. +```shell subs=true +curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-linux-x86_64.tar.gz +tar xzvf metricbeat-{{stack-version}}-linux-x86_64.tar.gz +``` :::::: ::::::{tab-item} Windows -Version 9.0.0-beta1 of Metricbeat has not yet been released. +1. Download the [Metricbeat Windows zip file](https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-{{stack-version}}-windows-x86_64.zip). + +2. Extract the contents of the zip file into `C:\Program Files`. + +3. Rename the `metricbeat-{{stack-version}}-windows-x86_64` directory to `Metricbeat`. + +4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select *Run As Administrator*). + +5. From the PowerShell prompt, run the following commands to install Metricbeat as a Windows service: + + ```shell subs=true + PS > cd 'C:\Program Files\Metricbeat' + PS C:\Program Files\Metricbeat> .\install-service-metricbeat.ps1 + ``` + +NOTE: If script execution is disabled on your system, you need to set the execution policy for the current session to allow the script to run. For example: `PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-metricbeat.ps1`. :::::: ::::::: diff --git a/solutions/observability/logs/stream-any-log-file.md b/solutions/observability/logs/stream-any-log-file.md index 4c576fccf0..d041339551 100644 --- a/solutions/observability/logs/stream-any-log-file.md +++ b/solutions/observability/logs/stream-any-log-file.md @@ -66,8 +66,8 @@ On your host, download and extract the installation package that corresponds wit ```shell -curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{version}}-darwin-x86_64.tar.gz -tar xzvf elastic-agent-{{version}}-darwin-x86_64.tar.gz +curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{stack-version}}-darwin-x86_64.tar.gz +tar xzvf elastic-agent-{{stack-version}}-darwin-x86_64.tar.gz ``` :::::: @@ -76,8 +76,8 @@ tar xzvf elastic-agent-{{version}}-darwin-x86_64.tar.gz ```shell -curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{version}}-linux-x86_64.tar.gz -tar xzvf elastic-agent-{{version}}-linux-x86_64.tar.gz +curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{stack-version}}-linux-x86_64.tar.gz +tar xzvf elastic-agent-{{stack-version}}-linux-x86_64.tar.gz ``` @@ -88,8 +88,8 @@ tar xzvf elastic-agent-{{version}}-linux-x86_64.tar.gz ```powershell # PowerShell 5.0+ -wget https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{version}}-windows-x86_64.zip -OutFile elastic-agent-{{version}}-windows-x86_64.zip -Expand-Archive .\elastic-agent-{version}-windows-x86_64.zip +wget https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{stack-version}}-windows-x86_64.zip -OutFile elastic-agent-{{stack-version}}-windows-x86_64.zip +Expand-Archive .\elastic-agent-{{stack-version}}-windows-x86_64.zip ``` @@ -105,8 +105,8 @@ You can install Elastic Agent in an unprivileged mode that does not require root ```shell -curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{version}}-amd64.deb -sudo dpkg -i elastic-agent-{{version}}-amd64.deb +curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{stack-version}}-amd64.deb +sudo dpkg -i elastic-agent-{{stack-version}}-amd64.deb ``` :::::: @@ -120,8 +120,8 @@ You can install Elastic Agent in an unprivileged mode that does not require root ```shell -curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{version}}-x86_64.rpm -sudo rpm -vi elastic-agent-{{version}}-x86_64.rpm +curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-{{stack-version}}-x86_64.rpm +sudo rpm -vi elastic-agent-{{stack-version}}-x86_64.rpm ``` ::::::