Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion default/app.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[install]
is_configured = 1
is_configured = 0
build = 1

[ui]
Expand Down
8 changes: 8 additions & 0 deletions default/indexes.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Metrics index for dashboard monitoring data
[caca_metrics]
datatype = metric
homePath = $SPLUNK_DB/caca_metrics/db
coldPath = $SPLUNK_DB/caca_metrics/colddb
thawedPath = $SPLUNK_DB/caca_metrics/thaweddb
# Retain metrics for 1 year by default
frozenTimePeriodInSecs = 31536000
6 changes: 3 additions & 3 deletions default/savedsearches.conf
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ description = Collects dashboard load time and performance metrics via REST API.
dispatch.earliest_time = -11m
dispatch.latest_time = now
enableSched = 1
search = | rest /services/search/jobs splunk_server=local count=0 \
search = | rest /services/search/jobs count=0 \
| rename eai:acl.app as app, author as user, runDuration as runtime, provenance as provenance \
| search provenance="UI:Dashboard*" OR provenance="scheduler__*" \
| rex field=provenance "UI:Dashboard:(?<dashboard_name>.+)" \
Expand Down Expand Up @@ -153,7 +153,7 @@ description = Automatically updates dashboard registry via REST API. Discovers n
dispatch.earliest_time = -5m
dispatch.latest_time = now
enableSched = 1
search = | rest /services/data/ui/views splunk_server=local count=0 \
search = | rest /services/data/ui/views count=0 \
| search isDashboard=1 OR isVisible=1 \
| eval dashboard_uri="/app/".'eai:acl.app'."/".title \
| eval pretty_name=coalesce(label, title) \
Expand Down Expand Up @@ -184,7 +184,7 @@ dispatch.latest_time = now
enableSched = 1
search = | inputlookup dashboard_registry \
| join type=left dashboard_uri \
[| rest /services/data/ui/views splunk_server=local count=0 \
[| rest /services/data/ui/views count=0 \
| eval dashboard_uri="/app/".'eai:acl.app'."/".title \
| eval exists="yes" \
| table dashboard_uri exists] \
Expand Down
2 changes: 1 addition & 1 deletion metadata/default.meta
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Application-level permissions

[]
access = read : [ * ], write : [ admin ]
access = read : [ * ], write : [ admin, sc_admin ]
export = system