Skip to content

Commit 33a3b22

Browse files
committed
Update run-analyzer-linux.md
1 parent d1d3436 commit 33a3b22

File tree

1 file changed

+13
-20
lines changed

1 file changed

+13
-20
lines changed

defender-endpoint/run-analyzer-linux.md

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,7 @@ f1.keywords: NOCSH
2828

2929
> Want to experience Defender for Endpoint? [Sign up for a free trial.](https://signup.microsoft.com/create-account/signup?products=7f379fee-c4f9-4278-b0a1-e4c8c2fcdf7e&ru=https://aka.ms/MDEp2OpenTrial?ocid=docs-wdatp-pullalerts-abovefoldlink)
3030
31-
If you're experiencing reliability or device health issues with Defender for Endpoint on Linux, and you contact support, you might be asked to provide the output package of the Microsoft Defender for Endpoint Client Analyzer tool. This article describes how to use the client analyzer tool locally on the device or together with live response.
32-
33-
34-
35-
The XMDEClientAnalyzer is used for diagnosing Microsoft Defender for Endpoint health or reliability issues on onboarded devices running Linux.
36-
37-
There are two different ways to run the client analyzer tool using live response or locally. In both cases, you can use a Python-based solution or a binary version that has no external Python dependency.
31+
If you're experiencing reliability or device health issues with Defender for Endpoint on Linux, and you contact support, you might be asked to provide the output package of the Microsoft Defender for Endpoint Client Analyzer tool. This article describes how to use the client analyzer tool locally on the device or together with live response. In either case, you can use a Python-based solution or a binary version that has no external Python dependency.
3832

3933
## Use live response in Defender for Endpoint to collect support logs
4034

@@ -46,20 +40,19 @@ The XMDE Client Analyzer tool can be downloaded as a [binary](https://aka.ms/XMD
4640
> [!IMPORTANT]
4741
> Window uses the Carriage Return and Line Feed invisible characters to represent the end of one line and beginning of a new line in a file, but Linux systems uses only the Line Feed invisible character at the end of its file lines. When using the following scripts, if done on Windows, this difference can result in errors and failures of the scripts to run. A potential solution to this is to utilize the Windows Subsystem for Linux and the `dos2unix` package to reformat the script so it aligns with the Unix and Linux format standard.
4842
49-
### Installing the XMDE Client Analyzer
50-
51-
Both versions of XMDE Client Analyzer, binary and Python, a self-contained package that must be downloaded and extracted before executing, and the complete set of steps for this process can be found:
43+
### Install the XMDE Client Analyzer
5244

53-
- [Running the Binary version of the Client Analyzer](/defender-endpoint/run-analyzer-macos-linux)
45+
Download and extract the the XMDE Client Analyzer. You can use either the binary or Python version, as follows:
5446

55-
- [Running the Python version of the Client Analyzer](/defender-endpoint/run-analyzer-macos-linux)
47+
- [Binary version of the Client Analyzer](/defender-endpoint/run-analyzer-macos-linux)
48+
- [Python version of the Client Analyzer](/defender-endpoint/run-analyzer-macos-linux)
5649

57-
Due to the limited commands available in Live Response the steps detailed must be executed in a bash script, and by splitting the installation and execution portion of these commands it's possible to run the install script once, while running the execution script multiple times.
50+
Due to the limited commands available in live response, the steps detailed must be executed in a bash script. By splitting the installation and execution portion of these commands, it's possible to run the install script once, and run the execution script multiple times.
5851

5952
> [!IMPORTANT]
60-
> The example scripts assume the machine has direct internet access and can retrieve the XMDE Client Analyzer from Microsoft. If the machine does not have direct internet access then the installation scripts will need to be updated to fetch the XMDE Client Analyzer from a location the machines can access successfully.
53+
> The example scripts assume the machine has direct internet access and can retrieve the XMDE Client Analyzer from Microsoft. If the machine does not have direct internet access, then the installation scripts must be updated to fetch the XMDE Client Analyzer from a location the machines can access successfully.
6154
62-
#### Binary Client Analyzer Install Script
55+
#### Binary client analyzer install script
6356

6457
The following script performs the first six steps of the [Running the Binary version of the Client Analyzer](/defender-endpoint/run-analyzer-macos-linux). When complete, the XMDE Client Analyzer binary is available from the `/tmp/XMDEClientAnalyzerBinary/ClientAnalyzer` directory.
6558

@@ -85,7 +78,7 @@ The following script performs the first six steps of the [Running the Binary ver
8578

8679
```
8780

88-
#### Python Client Analyzer Install Script
81+
#### Python client analyzer install script
8982

9083
The following script performs the first six steps of the [Running the Python version of the Client Analyzer](/defender-endpoint/run-analyzer-macos-linux). When complete, the XMDE Client Analyzer Python scripts are available from the `/tmp/XMDEClientAnalyzer` directory.
9184

@@ -113,9 +106,9 @@ The following script performs the first six steps of the [Running the Python ver
113106

114107
```
115108

116-
#### Running the Client Analyzer Install Scripts
109+
#### Run the client analyzer install scripts
117110

118-
1. Initiate a [Live Response session](live-response.md#initiate-a-live-response-session-on-a-device) on the machine you need to investigate.
111+
1. Initiate a [Live Response session](live-response.md#initiate-a-live-response-session-on-a-device) on the machine you want to investigate.
119112

120113
2. Select **Upload file to library**.
121114

@@ -129,9 +122,9 @@ The following script performs the first six steps of the [Running the Python ver
129122
run InstallXMDEClientAnalyzer.sh
130123
```
131124

132-
### Running the XMDE Client Analyzer
125+
### Run the XMDE client analyzer
133126

134-
Live Response doesn't support running the XMDE Client Analyzer or Python directly, so an execution script is necessary.
127+
Live response doesn't support running the XMDE Client Analyzer or Python directly, so an execution script is necessary.
135128

136129
> [!IMPORTANT]
137130
> The following scripts assume the XMDE Client Analyzer was installed using the same locations from the scripts mentioned earlier. If your organization has chosen to install the scripts into a different location, then the following scripts need to be updated to align with your organization's chosen installation location.

0 commit comments

Comments
 (0)