getRequestLogsByOrderNumber
Retrieve Azure Application Insights request logs by searching for a specific order number in request names, URLs, or custom dimensions within a defined time range.
Instructions
Retrieves request logs from Azure Application Insights by order number. Searches through request logs containing the order number in name, URL, or custom dimensions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Time range for the query in ISO 8601 duration format (default: P7D for 7 days) | P7D |
| limit | No | Maximum number of log entries to return (default: 50) | |
| orderNumber | Yes | The order number to search for in the Azure Application Insights logs |
Input Schema (JSON Schema)
{
"properties": {
"duration": {
"default": "P7D",
"description": "Time range for the query in ISO 8601 duration format (default: P7D for 7 days)",
"pattern": "^P(\\d+D|T\\d+H|\\d+DT\\d+H)$",
"type": "string"
},
"limit": {
"default": 50,
"description": "Maximum number of log entries to return (default: 50)",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"orderNumber": {
"description": "The order number to search for in the Azure Application Insights logs",
"maxLength": 50,
"minLength": 1,
"pattern": "^[A-Za-z0-9\\-_]+$",
"type": "string"
}
},
"required": [
"orderNumber"
],
"type": "object"
}