You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This script is used to grab a agent log file from a specified **MID Server** on demand.
4
+
5
+
## What Does It Do?
6
+
7
+
It sends a command through the **ECC Queue** to the MID Server, asking it to locate a file (like `agent0.log.0`) and send its contents back to the ServiceNow instance.
8
+
9
+
---
10
+
11
+
## How to Use the Function
12
+
13
+
The function is named `getMidServerAgentLog`.
14
+
15
+
| Parameter | What it is | Example Value |
16
+
| :--- | :--- | :--- |
17
+
|**`midServerName`**| The name of your MID Server. |`"DevMidServer01"`|
18
+
|**`logFileName`**| The name of the file you want. |`"agent0.log.0"`|
0 commit comments