Collecting Endpoint Must Gathers through Atlas
You can collect an Endpoint Must Gather (EMG) from an endpoint through an Atlas chat prompt and share the diagnostic data with Tanium Support to troubleshoot a Tanium Client issue. An EMG is a ZIP file that contains Tanium Client logs, databases, health reports, and other diagnostic data.
Atlas selects the diagnostic steps to collect, follows the collection as it progresses, and offers the ZIP file for download. If your prompt describes a specific issue, the EMG includes only the related data. Otherwise, the EMG includes all the available diagnostic data from the endpoint. For more information about diagnostic steps, see Steps and domains.
Overview of EMG collection
Understand how Atlas selects, collects, and delivers an EMG. Knowing the workflow, the steps and domains that endpoints offer, and how Atlas selects steps helps you write prompts that collect the data that you need.
Steps and domains
A step is a single diagnostic collection that an endpoint can run, such as action-logs, hardware, or netstat. Each step has a name, and you can use step names in a chat prompt to collect specific steps. The EMG panel lists the steps that Atlas selected, grouped by domain, so you can see the step names.
Each endpoint reports the diagnostic steps that it can collect, so the steps that Atlas can collect depend on the endpoint. The steps are grouped into domains. A domain is a group of related steps for one Tanium solution or endpoint component.
To list the domains and steps that a specific endpoint offers, enter the following chat prompt: Which EMG steps are available on the endpoint <host name>?
Examples of domains:
core: Steps for the Tanium Client, the service installed on endpoints that discovers and reports data from them. For more information, see Tanium Client Overview. These steps collect the Client logs and action logs, the Client settings, the sensor and computer group databases, crash data, and basic host information such as hardware, network connections, and running processes.software_manager: Steps for Deploy, the Tanium module that installs, updates, and removes software on endpoints. For more information, see Deploy overview. These steps collect the Deploy logs, the output of the commands that software packages run, the Deploy database (the state of deployments, software packages, maintenance windows, and Self Service profiles), and the list of failed actions. For the files that each step collects, see Collect Atlas troubleshooting information from endpoints.
The steps within a domain can also differ by operating system. For example, the software_manager domain on a Windows endpoint includes a step that collects the Deploy endpoint notification tools, which a Linux endpoint does not offer, because end-user notifications are supported only on Windows and macOS endpoints.
core, software_manager, and action-logs.
Step selection
Atlas selects steps only from the list that the endpoint reports.
By default, Atlas selects whole domains instead of individual steps and collects generously. Atlas leaves out a domain only when the domain is clearly unrelated to the issue. When you do not describe a specific issue, Atlas collects every domain.
Atlas uses the entire conversation where you prompted for the EMG, along with any earlier findings about the endpoint, to determine which domains are relevant. Atlas can investigate the endpoint first, but an investigation is not required before a collection.
If you name specific steps or domains in your prompt, Atlas collects the steps that you name. If you name a step that the endpoint does not offer, Atlas tells you.
Collection workflow
When you request an EMG through a chat prompt, Atlas performs the following operations in this order:
- Identifies the endpoint by host name or endpoint ID (EID) and connects to the endpoint through Tanium™ Direct Connect to list the diagnostic steps that the endpoint can collect.
- Selects the steps to collect. In the response to your chat prompt, Atlas states the selection and the reason for it.
- Starts the collection on the endpoint and adds an EMG panel to the page. The panel title is EMG for <host name>, or EMG for EID <EID> if you identified the endpoint by EID.
- Checks the status of the collection on the endpoint in the background and updates the EMG panel until the collection finishes.
Atlas does not scan the endpoint for diagnostic data. The background checks continue even if you close the page, and the EMG panel shows the current status when you open the page again.
When the endpoint finishes the collection, the EMG panel shows a Download ZIP button. When you click the button, your browser downloads the ZIP and saves it to the Downloads folder on the device that you use to access Atlas.
Audit records for EMG collection
The Atlas Audit page shows the conversation transcript for each EMG request, including your prompt and the response from Atlas. Direct Connect also records the connection to the endpoint and the ZIP download under your user name in the Direct Connect audit log. For more information, see Monitor Atlas chat usage and Working with audit logs.
Requirements for EMG collection
Ensure that your user account, endpoint, and environment meet the requirements before you request an EMG. Atlas does not offer to collect an EMG, or the collection does not start, when the user lacks the required permissions or the endpoint is offline or unreachable.
RBAC requirements for EMGs
To request an EMG, the persona that is selected as the page scope of the page where you request the EMG must be assigned a role with the following permissions:
- Direct Connect Must Gather read permission enables you to list the steps that an endpoint offers, view the EMG panel, and download the ZIP file.
- Direct Connect Must Gather exec permission enables you to start a collection.
The predefined Direct Connect User and Direct Connect File Modifier roles provide both permissions. For more information, see Direct Connect role requirements.
The page scope is the persona in the Page Scope menu in the page header. You can request EMGs only for endpoints that are members of computer groups that are assigned to the page scope persona. To change the page scope, see Scope a page to a persona.
While the collection runs, Atlas checks its status in the background as you, using the roles that are assigned to the page scope persona of the page where you requested the EMG. If those roles no longer permit the connection to the endpoint, Atlas stops checking the status of the collection, but the collection might still finish on the endpoint. The roles do not restrict which domains or steps Atlas can select.
Endpoint requirements for EMGs
Atlas collects an EMG from an endpoint only when all of the following conditions are true:
- You identify the endpoint by a host name or an EID that matches exactly one endpoint. A host name matches the Computer Name of an endpoint either exactly or without the domain suffix. A partial host name does not match.
- The EID Last Seen value for the endpoint is within the last 30 minutes. Atlas treats an endpoint that does not meet this condition as offline and does not collect from it.
- Atlas can reach the endpoint through Direct Connect.
Limits of EMG collection
- Each collection targets one endpoint.
- The ZIP remains on the endpoint after the collection finishes. Atlas does not store the ZIP, so the endpoint must be reachable for you to download it.
- Atlas does not analyze the contents of the ZIP.
- Atlas cannot cancel or stop a collection after it starts. The collection runs on the endpoint until it finishes or fails.
- An endpoint runs one collection at a time. Atlas cannot start a second collection on an endpoint while a collection is running.
Collect an EMG
If you want to collect specific domains or steps, list the domains and steps that the endpoint offers. In Atlas, enter the following chat prompt:
Which EMG steps are available on the endpoint <host name>?
For more information, see Steps and domains.
Request an EMG from an endpoint through a chat prompt. Atlas selects the steps, starts the collection, and adds an EMG panel to the page to show the progress.
After you start the collection, you can do the following:
- Monitor an EMG collection to check its status and address any issues that block the collection or background monitoring.
- Download an EMG file when the EMG panel shows that the collection finished.
Monitor an EMG collection
Check the status of an EMG collection and resolve issues that interrupt it. The EMG panel shows the progress of the collection, the selected steps grouped by domain, and the reason for the selection.
EMG status
|
State |
What the EMG panel shows |
Meaning |
|---|---|---|
|
Collecting |
A progress indicator and one of the following messages: Collection started on the endpoint. This can take several minutes., Collecting <domain name>.<step name> (n of N steps done), or n of N steps done. If Atlas loses contact with the endpoint, the EMG panel also shows the message lost contact with the endpoint; still trying. |
The endpoint is collecting the selected steps. Atlas is checking the status of the collection. |
|
Completed |
The message Collection finished. The ZIP is ready to download from the endpoint. and the Download ZIP button. |
The endpoint produced the ZIP. |
|
Failed |
The message The endpoint reported that the collection failed. followed by the reason and the failed steps (Steps that failed: ...). |
The endpoint reported that the collection failed and produced no ZIP. To diagnose and resolve issues, see Troubleshoot an EMG collection. |
|
Monitoring stopped |
The message Atlas stopped following this collection before it finished; the endpoint may still complete it. followed by the reason. |
Atlas stopped checking the status of the collection. The collection did not necessarily fail and was not canceled. For more information, see Conditions that stop EMG collection monitoring. |
Conditions that stop EMG collection monitoring
Atlas stops checking the status of a collection in any of the following cases:
- The endpoint does not answer for 90 seconds and repeated attempts to resume monitoring fail.
- The collection does not finish within 90 minutes.
- The endpoint no longer lists the collection.
- You no longer have RBAC permissions to connect to the endpoint.
- Atlas loses contact with the service that monitors the collection and runs out of attempts to resume.
- The monitor stops for another reason, for example because it cannot update the EMG panel.
In each case, the EMG panel shows that monitoring stopped and gives the reason. The collection might still finish on the endpoint. To diagnose and resolve monitoring issues, see Troubleshoot an EMG collection.
Download an EMG file
A large EMG takes longer to download. Before you download, ensure that the device that you use to access Atlas has enough free disk space. Atlas does not store the ZIP, so the endpoint must be reachable.
After the EMG panel shows that the collection finished, click Download ZIP. The button label changes to Preparing download... after the download starts.
If the download cannot start, the EMG panel shows a message and you can click Download ZIP again. If the transfer fails after it starts, the browser download manager shows the error.
Your browser then downloads the ZIP and saves it to the Downloads folder on the device that you use to access Atlas. The file name is emg-<host name>.zip, or emg-<EID>.zip if you did not name a host name in the chat prompt where you requested the EMG.
Troubleshoot an EMG collection
Resolve issues that prevent Atlas from collecting an EMG or that interrupt the collection.
|
Issue |
Solution |
|---|---|
|
Atlas does not offer to collect an EMG and the EMG panel does not appear. |
Verify that you have the required role permissions. For more information, see RBAC requirements for EMGs. |
|
Atlas reports that you do not have the permission required to collect an EMG. |
Contact an administrator, as the message from Atlas states. |
|
Atlas asks you to confirm the endpoint or to provide an EID. |
The host name did not match exactly one endpoint. Confirm the host name or provide the numeric EID. For more information about how a host name matches the computer name of an endpoint, see Endpoint requirements for EMGs. |
|
Atlas reports that the endpoint is offline. |
The EID Last Seen value for the endpoint is older than 30 minutes. Atlas cannot collect an EMG until the endpoint is back. |
|
Atlas reports that it cannot reach the endpoint. |
Atlas cannot connect to the endpoint through Direct Connect. Verify that the endpoint is online, that it can reach Tanium Cloud on port 17486, and that port 17486 traffic is excluded from SSL inspection. For more information, see Host and network security requirements. |
|
Atlas reports that it reached the endpoint but the endpoint did not answer the must gather command. |
Atlas does not retry the request. Verify that the endpoint is still online, and then prompt Atlas to collect again. If the collection still does not start, contact Tanium Support. |
|
Atlas reports that the endpoint does not offer a step. |
Select steps from the list that the endpoint offers. For more information about how to list the domains and steps that an endpoint offers, see Steps and domains. |
|
Atlas reports that a must gather is already running on the endpoint. |
An endpoint runs one collection at a time. Wait for the running collection to finish, and then prompt Atlas to collect again. |
|
You want to cancel a collection that is running. |
Atlas cannot cancel or stop a collection. The collection runs on the endpoint until it finishes or fails. |
|
Atlas reports that it did not start the collection. |
A collection might have started on the endpoint even though Atlas reported that it did not start. If you prompt Atlas to try again, a second collection can start. |
|
Atlas reports that the collection started but that Atlas did not store the result or place the EMG panel. |
The collection runs on the endpoint. To download the EMG, see Collect troubleshooting information. |
|
Atlas reports that background monitoring did not start. |
The collection runs on the endpoint but the EMG panel does not update. To download the EMG, see Collect troubleshooting information. |
|
The EMG panel stays on Collecting and does not update. |
The monitor might be unable to update the EMG panel. The collection might still finish on the endpoint. To download the EMG, see Collect troubleshooting information. |
|
The EMG panel shows the message lost contact with the endpoint; still trying. |
Atlas is retrying. The message clears when Atlas reaches the endpoint again. |
|
The EMG panel shows that monitoring stopped. |
The collection might still finish on the endpoint. For the possible reasons, see Conditions that stop EMG collection monitoring. To download the EMG, see Collect troubleshooting information. |
|
The EMG panel shows that the collection failed. |
Review the reason and the failed steps in the EMG panel. Prompt Atlas to collect again with fewer domains or steps, such as only the domains that relate to a specific issue. If the collection fails again, contact Tanium Support. |
|
The Download ZIP button does not appear. |
The button appears only after the endpoint finishes the collection and a ZIP exists. No button appears when the EMG panel shows that the collection failed or that monitoring stopped. |
|
The download does not start or the browser shows a failed download. |
Confirm that the endpoint is reachable and that the ZIP is still available on the endpoint. Then click Download ZIP again. The browser download manager shows transfer errors. |