How nmacroglou/search_profiling works
Search Profiling is a Splunk app for relating searches to the indexes and sourcetypes they touch, then presenting data-usage analytics. The main workflow runs summary searches and custom commands on active search heads, stores generated summaries in the search_profiling index, and makes usage views available to Splunk users. The repository also includes catalog-style UI pages and shared dashboard helpers. The README documents the analytics workflow; sampled source shows UI and command behavior, but not the summary-search definitions or their full wiring.
Main entry points: default Summary searches · indexes.conf Summary index · dashboard.js Dashboard behavior · views Usage dashboards
Components 17
Search profiling
- Search activity
- Summary searches
TA-search_profiling/default - Profiling lookups
TA-search_profiling/default - Summary index
SP-IndexCreation/default/indexes.conf
Search processing
- Macro expansion
TA-search_profiling/bin/expandmacro.py - Boolean parsing
TA-search_profiling/bin/boolparse.py - Multivalue matching
TA-search_profiling/bin/mvmatch.py
Usage analytics
- Usage dashboards
SA-search_profiling/default/data/ui/views
Splunk interface
- Dashboard behavior
SA-search_profiling/appserver/static/dashboard.js - Content catalog
SA-search_profiling/appserver/static/contents.js - Data source catalog
SA-search_profiling/appserver/static/datasource_contents.js - Use case catalog
SA-search_profiling/appserver/static/usecase_contents.js - KVStore Backbone
SA-search_profiling/appserver/static/components/kvstore_backbone/kvstore.js - Dashboard tokens
SA-search_profiling/appserver/static/tokenlinks.js - Table icons
SA-search_profiling/appserver/static/table_icons_rangemap.js
Other components
- Splunk owner
- Splunk platform
Connections 13
- Splunk owner → Usage dashboards: views usage
README - Search activity → Summary searches: summarized by
README - Summary searches → Profiling lookups: uses lookups
README - Summary searches → Summary index: writes summaries
README - Summary searches → Macro expansion: expands macros
- Summary searches → Boolean parsing: parses conditions
- Summary searches → Multivalue matching: matches fields
- Summary index → Usage dashboards: drives analytics
README - Splunk platform → Dashboard behavior: loads dashboard
- Splunk platform → Content catalog: loads catalog
- Splunk platform → Data source catalog: loads catalog
- Splunk platform → Use case catalog: loads catalog
- Dashboard behavior → KVStore Backbone