GREP request
New-EdgeDiagnosticsGrep
Synopsis
Launch a GREP request.
Syntax
New-EdgeDiagnosticsGrep [-Body] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Launches an asynchronous request to fetch logs for an edge server IP address using the GREP command.
To verify if an IP belongs to an edge server, run the Test-EdgeDiagnosticsIP
operation first.
If you know the exact values to filter the logs by and want to get the data directly, run the synchronous Get-EdgeDiagnosticsLogs
operation.
Parameters
‑AccountSwitchKey |
An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey. |
‑Body Required |
Request body, either as a PSCustomObject or string. This parameter supports pipelining. |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated 10 days ago