Skip to content

Commit f3eeb1d

Browse files
authored
Merge pull request #6 from devinslick/claude/comprehensive-repo-rewrite-ql8d5
Fix AppInspect: Remove splunk_server=local and add [id] stanza
2 parents 4a99f87 + c48881e commit f3eeb1d

4 files changed

Lines changed: 13 additions & 5 deletions

File tree

default/app.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[install]
2-
is_configured = 1
2+
is_configured = 0
33
build = 1
44

55
[ui]

default/indexes.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Metrics index for dashboard monitoring data
2+
[caca_metrics]
3+
datatype = metric
4+
homePath = $SPLUNK_DB/caca_metrics/db
5+
coldPath = $SPLUNK_DB/caca_metrics/colddb
6+
thawedPath = $SPLUNK_DB/caca_metrics/thaweddb
7+
# Retain metrics for 1 year by default
8+
frozenTimePeriodInSecs = 31536000

default/savedsearches.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ description = Collects dashboard load time and performance metrics via REST API.
9393
dispatch.earliest_time = -11m
9494
dispatch.latest_time = now
9595
enableSched = 1
96-
search = | rest /services/search/jobs splunk_server=local count=0 \
96+
search = | rest /services/search/jobs count=0 \
9797
| rename eai:acl.app as app, author as user, runDuration as runtime, provenance as provenance \
9898
| search provenance="UI:Dashboard*" OR provenance="scheduler__*" \
9999
| rex field=provenance "UI:Dashboard:(?<dashboard_name>.+)" \
@@ -153,7 +153,7 @@ description = Automatically updates dashboard registry via REST API. Discovers n
153153
dispatch.earliest_time = -5m
154154
dispatch.latest_time = now
155155
enableSched = 1
156-
search = | rest /services/data/ui/views splunk_server=local count=0 \
156+
search = | rest /services/data/ui/views count=0 \
157157
| search isDashboard=1 OR isVisible=1 \
158158
| eval dashboard_uri="/app/".'eai:acl.app'."/".title \
159159
| eval pretty_name=coalesce(label, title) \
@@ -184,7 +184,7 @@ dispatch.latest_time = now
184184
enableSched = 1
185185
search = | inputlookup dashboard_registry \
186186
| join type=left dashboard_uri \
187-
[| rest /services/data/ui/views splunk_server=local count=0 \
187+
[| rest /services/data/ui/views count=0 \
188188
| eval dashboard_uri="/app/".'eai:acl.app'."/".title \
189189
| eval exists="yes" \
190190
| table dashboard_uri exists] \

metadata/default.meta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Application-level permissions
22

33
[]
4-
access = read : [ * ], write : [ admin ]
4+
access = read : [ * ], write : [ admin, sc_admin ]
55
export = system

0 commit comments

Comments
 (0)