Creating embeddings
Embeddings let you drop a KV UI Form into any Splunk app. This enables a native viewing experience for your end users.
- Open App Embeddings and select Create embedding.
- Choose the app that we will be embedding views in.
- Press "Add Embedding".
- Select the KV Form we will embed, and choose a view name (must be unique) and label.
- Lastly, Select a mode:
- Add Records -> Display the form, so users can add multiple records to the KV Store.
- Edit Single Record -> Edit a single record in the KV Store. Available in two modes:
- Select Record: Select an existing record from the KV Store. Usecase: Edit a single settings page for an app
- Splunk Search: Write a Splunk search, which returns the _key of the record to edit. Usecase: Dynamically edit a record, like a user preference page.
- View Records -> Displays the entries table. Furthermore, you can configure if a user can Edit, Delete and Add records from this page.
- Save. You will be prompted to Deploy the views to the app. Until this is done, the views will not be available to end users.
- Once deployed, a list of embeddings will be displayed, which you can click to view natively in the selected app.