You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+79-2Lines changed: 79 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,6 +212,8 @@ Replace `YOUR_DASHBOARD_NAME` with your dashboard's pretty name from the registr
212
212
213
213
CACA provides several search macros for easy querying. These macros help you quickly identify dashboards with issues, analyze performance, and understand usage patterns.
214
214
215
+
**Note:** All macros respect the app filter configuration (see "Filtering Apps for Monitoring" in Configuration section). All results include the `app` field showing which app each dashboard belongs to, making it easy to filter or group results by application.
216
+
215
217
#### Finding Dashboards with Issues
216
218
217
219
##### Identify dashboards with health issues (errors/warnings):
@@ -293,6 +295,20 @@ CACA provides several search macros for easy querying. These macros help you qui
293
295
| where health_status="critical" OR (errors_7d > 50) OR (avg_load_time_7d > 10000)
**List dashboards with errors across multiple apps:**
306
+
```spl
307
+
`get_dashboards_with_errors`
308
+
| where app IN ("my_app1", "my_app2", "production_app")
309
+
| sort -errors
310
+
```
311
+
296
312
**List dashboards with errors that are actively used:**
297
313
```spl
298
314
`get_dashboards_with_errors`
@@ -339,9 +355,70 @@ Edit `default/indexes.conf` to adjust retention:
339
355
frozenTimePeriodInSecs = 31536000 # 1 year (default)
340
356
```
341
357
342
-
### Excluding Dashboards from Monitoring
358
+
### Filtering Apps for Monitoring
359
+
360
+
CACA can be configured to only monitor dashboards from specific apps, or exclude certain apps from monitoring. This is useful when you only want to track dashboards in production apps, or exclude system/admin apps.
361
+
362
+
#### Configuration Method
363
+
364
+
Edit `lookups/app_filter.csv` to control which apps are monitored:
365
+
366
+
**Include specific apps only:**
367
+
```csv
368
+
app,include
369
+
search,true
370
+
my_production_app,true
371
+
another_app,true
372
+
```
373
+
374
+
**Exclude specific apps:**
375
+
```csv
376
+
app,include
377
+
splunk_monitoring_console,false
378
+
learned,false
379
+
introspection_generator_addon,false
380
+
```
381
+
382
+
**How it works:**
383
+
- If an app is **not listed** in app_filter.csv, it **will be monitored** (default behavior)
384
+
- If an app is listed with `include=true` (or `1` or `yes`), it **will be monitored**
385
+
- If an app is listed with `include=false` (or `0` or `no`), it **will NOT be monitored**
386
+
- The filter applies to:
387
+
- Dashboard registry updates (which dashboards are discovered)
388
+
- All metrics collection (views, edits, errors, performance)
389
+
- All search macros and dashboard queries
390
+
391
+
#### Examples
392
+
393
+
**Monitor only specific production apps:**
394
+
```csv
395
+
app,include
396
+
production_app1,true
397
+
production_app2,true
398
+
production_app3,true
399
+
```
400
+
Then add a wildcard exclusion entry to exclude everything else (optional):
401
+
```csv
402
+
app,include
403
+
production_app1,true
404
+
production_app2,true
405
+
*,false
406
+
```
407
+
408
+
**Exclude system and admin apps:**
409
+
```csv
410
+
app,include
411
+
splunk_monitoring_console,false
412
+
learned,false
413
+
introspection_generator_addon,false
414
+
splunk_instrumentation,false
415
+
```
416
+
417
+
**Note:** After updating `app_filter.csv`, run the "Dashboard Registry - Auto Update" search to rebuild the dashboard registry with the new filter applied.
418
+
419
+
### Excluding Individual Dashboards from Monitoring
343
420
344
-
Edit `lookups/dashboard_registry.csv` and set `status=inactive` for dashboards you want to exclude from collection.
421
+
Edit `lookups/dashboard_registry.csv` and set `status=inactive` for specific dashboards you want to exclude from collection (this is independent of app filtering).
0 commit comments