# Lookup data for SLOs app and Anomaly detector app?

**URL:** <https://community.dynatrace.com/t/lookup-data-for-slos-app-and-anomaly-detector-app/53360>\
**Category:** Open Q&A\
**Tags:** dql, slo, anomaly-detection\
**Created:** [September 16, 2025, 2:17am UTC](https://community.dynatrace.com/t/lookup-data-for-slos-app-and-anomaly-detector-app/53360 "2025-09-16T02:17:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![calfanonerey](https://avatars.discourse-cdn.com/v4/letter/c/e19b73/32.png) [@calfanonerey](https://community.dynatrace.com/u/calfanonerey)\
**Post date:** [September 16, 2025, 2:17am UTC](https://community.dynatrace.com/t/lookup-data-for-slos-app-and-anomaly-detector-app/53360/1 "2025-09-16T02:17:02Z")

</div>

Not sure if intentional or not but I’m not able to run DQL queries with lookup commands within the davis anomaly detector or the SLOs app. I can run these in a notebook.&nbsp;

> **[Lookup data in Grail](https://docs.dynatrace.com/docs/platform/grail/lookup-data)**
>
> Learn about lookup data in Grail.

this is within the SLOs app:

 ![calfanonerey_0-1757989110662.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/0/00b14af282acca2788f69144f08a838f7f89f762.png)

Is there any more policies/permissions I’m missing?

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [September 16, 2025, 5:32am UTC](https://community.dynatrace.com/t/lookup-data-for-slos-app-and-anomaly-detector-app/53360/2 "2025-09-16T05:32:02Z")

</div>

[@calfanonerey](https://community.dynatrace.com/user/91250)&nbsp;My guess is that the lookup is currently not enabled for&nbsp;davis anomaly detector or the SLOs app. you would need “storage:files:read” permissions to read lookup data and not sure this is scoped for these apps currently

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [September 16, 2025, 8:59am UTC](https://community.dynatrace.com/t/lookup-data-for-slos-app-and-anomaly-detector-app/53360/3 "2025-09-16T08:59:10Z")

</div>

This behavior is by design.  
load and lookup [load …] work in **Notebooks** , but they are **not supported** in the **SLOs app** or **Davis Anomaly Detector**. Even with the correct permissions, you will still see an error when trying to access /lookups/… in those apps.

**What you can do instead:**

- **Pre-enrich at ingest:** Enrich logs, Business Events, or metrics with lookup (mapping) data **before** they are stored in Grail. This way, the SLO or anomaly detection can use regular fields/dimensions without relying on load.

- **Tags / MZ / source attributes:** If your lookup is used for classification, replicate it using auto-tags, Management Zones, or additional metric dimensions.

- **Use Notebook/Dashboard for analysis:** Keep any analysis that requires lookup [load …] in Notebooks or Dashboards, and base the SLO on metrics/events that are already enriched.

```markup
ALLOW storage:files:read - globally
OR
ALLOW storage:files:read WHERE storage:file-path startsWith "/lookups/";

ALLOW storage:files:write // if you upload
OR
ALLOW storage:files:write WHERE storage:file-path startsWith "/lookups/"; // if you upload

ALLOW storage:files:delete // if you delete
ALLOW storage:files:delete WHERE storage:file-path startsWith "/lookups/"; // if you delete

```

After that quick DQL test in notebook:

```markup
fetch dt.system.files
| limit 1

load "/lookups/..."
| limit 5

```

---

<div class="post-metadata">

**Author:** ![calfanonerey](https://avatars.discourse-cdn.com/v4/letter/c/e19b73/32.png) [@calfanonerey](https://community.dynatrace.com/u/calfanonerey)\
**Post date:** [September 16, 2025, 3:13pm UTC](https://community.dynatrace.com/t/lookup-data-for-slos-app-and-anomaly-detector-app/53360/4 "2025-09-16T15:13:31Z")

</div>

Thanks! It’s really unfortunate lookups are not supported in these other apps. lookups are incredibly powerful and using these other apps without them is a non starter for this use case. I want to only manage one lookup file instead of worrying about all these other areas to manage thresholds or other data. In my opinion that’s the big advantage of utilizing the lookups!

I will be submitting a feature request for this.

---

<div class="post-metadata">

**Author:** ![calfanonerey](https://avatars.discourse-cdn.com/v4/letter/c/e19b73/32.png) [@calfanonerey](https://community.dynatrace.com/u/calfanonerey)\
**Post date:** [September 16, 2025, 3:52pm UTC](https://community.dynatrace.com/t/lookup-data-for-slos-app-and-anomaly-detector-app/53360/5 "2025-09-16T15:52:47Z")

</div>

I have submitted the following product idea:  
[https://community.dynatrace.com/t5/Product-ideas/Lookups-in-DQL-supported-apps/idi-p/286191#M54288](https://community.dynatrace.com/post/286191#M54288)

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [October 13, 2025, 10:04am UTC](https://community.dynatrace.com/t/lookup-data-for-slos-app-and-anomaly-detector-app/53360/6 "2025-10-13T10:04:44Z")

</div>

Enriching data upon ingest with lookup data doesn’t seem to work. I tried to use the lookup date feature in OpenPipeline and it also reports that “load” is not enabled:

 ![r_weber_0-1760349874538.png](https://global.discourse-cdn.com/dynatrace/original/2X/4/47334298e3e634386e32fbd0ed871c09b588082e.png)
