Skip to content

Commit 1c7fa11

Browse files
committed
Fix saved search
1 parent a1cdc23 commit 1c7fa11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

default/savedsearches.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = Collects dashboard view metrics from splunkd_ui_access logs
1212
dispatch.earliest_time = -5m
1313
dispatch.latest_time = now
1414
enableSched = 0
15-
search = index=_internal sourcetype=splunkd_ui_access uri_path="/*/app/*" | rex field=uri_path "/[^/]+/app/(?<app>[^/]+)/(?<dashboard_name>[^/?]+)" | where isnotnull(dashboard_name) | eval dashboard_uri="/app/".app."/".dashboard_name | lookup dashboard_registry dashboard_uri OUTPUT pretty_name app as reg_app owner | where isnotnull(pretty_name) | stats count by dashboard_uri, pretty_name, app, user | eval activity_type="view", metric_name="dashboard.views" | mcollect index=caca_metrics split=t pretty_name app user activity_type
15+
search = index=_internal sourcetype=splunkd_ui_access uri_path="/*/app/*" | rex field=uri_path "/[^/]+/app/(?<app>[^/]+)/(?<dashboard_name>[^/?]+)" | where isnotnull(dashboard_name) AND dashboard_name!="search" AND dashboard_name!="home" AND dashboard_name!="launcher" AND dashboard_name!="analytics_workspace" | eval dashboard_uri="/app/".app."/".dashboard_name | lookup dashboard_registry dashboard_uri OUTPUT pretty_name | where isnotnull(pretty_name) | stats count by dashboard_uri, pretty_name, app, user | eval activity_type="view", metric_name="dashboard.views" | mcollect index=caca_metrics split=t pretty_name app user activity_type
1616
schedule_priority = default
1717
schedule_window = 5
1818
dispatchAs = owner

0 commit comments

Comments
 (0)