searchLogs
Query and retrieve logs from any OpenSearch index using specific search criteria, such as time range, index pattern, and fields, to analyze and monitor Wazuh security logs effectively.
Instructions
Search for logs in any OpenSearch index
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fields | No | Comma-separated list of fields to return | |
index | Yes | Index pattern to search | |
maxResults | No | Maximum number of results to return | |
query | Yes | The search query text | |
timeField | No | Name of the timestamp field | @timestamp |
timeRange | No | Time range (e.g., 1h, 24h, 7d) | 24h |