Feature Request: Filter Saved Searches by Splunk App
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python, vscode
- Domain
- api, devtools, documentation, testing
Research direction
Start at the Saved Searches explorer and its saved-search request path, then locate the extension's existing user/workspace settings and README configuration descriptions. Add coverage for configured and unset app filters, including URL encoding, and verify that refreshing uses the current setting while preserving the existing request when unset.
Written by the indexing model from the issue text.
Description
Summary
Add a configuration option to the Splunk VS Code extension that limits the Saved Searches explorer to a specific Splunk app.
Use Case
Splunk users often work with several apps and may have access to a large number of saved searches. The extension currently displays saved searches across the available scope, which makes it difficult to find searches belonging to the app used by the current project.
For example, a project may use:
SPLUNK_APP=splunk_test
The Saved Searches view should be able to display only searches from splunk_test.
Proposed Configuration
Add a setting such as:
{
"splunk.commands.savedSearchesApp": "splunk_test"
}
An empty value should preserve the current behavior and return saved searches without an app filter.
The setting could alternatively be named splunk.savedSearches.app if that better matches the extension's configuration naming conventions.
Proposed API Behavior
When the setting is configured, include the Splunk app in the saved-search request:
/services/saved/searches?output_mode=json&app=splunk_test
When the setting is empty or unset, retain the existing request behavior.
The value should be URL-encoded before being added to the request.
Acceptance Criteria
- Add a user/workspace setting for the saved-search app.
- Display only saved searches available in the configured app.
- Preserve the current behavior when no app is configured.
- Support workspace-level configuration so different projects can use different Splunk apps.
- URL-encode the configured app name.
- Refreshing Saved Searches uses the current setting without requiring users to edit extension files.
- Document the new setting in the extension README and configuration descriptions.
- Add automated coverage for both configured and unset app filters.
Alternatives Considered
- Manually filtering the Saved Searches view, which does not scale when many searches are available.
- Forking or patching the extension bundle, which would be overwritten by extension updates.
- Filtering searches after retrieval, which is less efficient and may not correctly represent Splunk permissions or app ownership.
Environment
- VS Code
- Splunk VS Code extension
0.4.0 - Splunk Enterprise REST API on port
8089
- Dominant language
- Python
- Stars
- 97
- Forks
- 27
- Avg merge
- 3d 24m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from splunk/vscode-extension-splunk
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
in progress
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
in progress
Difficulty 3/5 1-2 days Newbie friendliness 45/100
splunk/vscode-extension-splunk#153 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in splunk/vscode-extension-splunk
Similar issues
-
ライブラリを追加Openpriority middle
Difficulty 1/5 Under an hour Newbie friendliness 62/100
KATO-Hiro/AtCoderClans#13015 ·
Maintainers usually reply within 1 day
-
StringLiteral to IntegerType/LongType silently truncates fractional strings, changing predicate meaningPossibly taken @Shahzeb-DataEngineer claimed this today. Openkind:bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
apache/iceberg-python#4382 · 2 comments ·
Maintainers usually reply within 1 day
-
request-theme
Difficulty 2/5 Under an hour Newbie friendliness 62/100
LizardByte/ThemerrDB#10024 · 2 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
btclib-org/btclib-node#2505 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
open-webui/open-webui#34462 · 1 comment ·
Maintainers usually reply within 1 day