splunk_sample_events
Retrieve representative raw event samples from a Splunk index without full table scans, optionally filtering by sourcetype and limiting the sample count.
Instructions
Retrieve representative raw event samples without full table scans.
Args: index: Target index. sourcetype: Optional sourcetype filter. count: Number of sample events (default 10, max 100).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| index | Yes | ||
| sourcetype | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Output payload or results | |
| error | No | Error message if execution failed | |
| success | No | Whether the tool execution succeeded | |
| metadata | No | Execution timing, pagination and environment details | |
| warnings | No | Operational warnings or notices | |
| request_id | No | Correlation ID for audit trail and observability |