splunk_get_field_summary
Summarize field distributions and top values by sampling events from a Splunk index, with an optional sourcetype filter. Use it to profile data and spot common field values.
Instructions
Obtain statistical distribution of fields and top values for an index and sourcetype.
Args: index: Target index name. sourcetype: Optional sourcetype filter. sample_count: Number of events to sample for summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| sourcetype | No | ||
| sample_count | 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 |