Create Kvstore Collection
create_kvstore_collectionSet up a Splunk KV Store collection inside a chosen app with optional fields, indexing, and a lookup definition for storing lookups or persisted configuration.
Instructions
Create a KV Store collection with optional fields and indexing. Use this to provision a new collection for lookups or persisted configuration in a specific app.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app": "<app>",
"collection": "<collection>"
},
"name": "create_kvstore_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | Target Splunk application where the collection will be created. Examples: - 'search': Default search app - 'my_app': Custom application - 'splunk_monitoring_console': Monitoring console app | |
| fields | No | Field definitions specifying data types and constraints | |
| collection | Yes | Name for the new collection (alphanumeric and underscores only). Examples: - 'users': User information store - 'configurations': Application settings - 'lookup_table': Data enrichment table | |
| replicated | No | Whether to replicate across cluster (default: True) | |
| accelerated_fields | No | Index definitions for faster queries | |
| create_lookup_definition | No | Also create a transforms.conf lookup definition (default: False) |