# Custom Detection Details

**URL:** <https://discuss.rapid7.com/t/custom-detection-details/38847>\
**Category:** InsightIDR\
**Tags:** InsightIDR\
**Created:** [June 20, 2024, 3:22pm UTC](https://discuss.rapid7.com/t/custom-detection-details/38847 "2024-06-20T15:22:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aboyd1](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/a/ed655f/32.png) [@aboyd1](https://discuss.rapid7.com/u/aboyd1)\
**Post date:** [June 20, 2024, 3:22pm UTC](https://discuss.rapid7.com/t/custom-detection-details/38847/1 "2024-06-20T15:22:00Z")

</div>

We setup a custom detection in InsightIDR and we configured it to send email notifications when triggered. We received the first one and it says _“The log line that triggered this alert is not included because the person who created the alert opted out of it. To see that information, contact the creator of the alert.”_

How do we opt-in to include the log details in the notification? I don’t see any setting that seems to apply to this in the detection rule.

---

<div class="post-metadata">

**Author:** ![david\_smith](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/d/a3d4f5/32.png) [@david\_smith](https://discuss.rapid7.com/u/david_smith)\
**Post date:** [June 20, 2024, 4:46pm UTC](https://discuss.rapid7.com/t/custom-detection-details/38847/2 "2024-06-20T16:46:53Z")

</div>

This one is a little hidden, you need to Navigate to Detection Rules → Basic Custom Detection Rules → Labels &  
Notifications

![Screenshot 2024-06-20 at 11.43.40 AM](https://forum-uploads-hub-prod-1-us-east-1-rapid7-com.s3.dualstack.us-east-1.amazonaws.com/original/2X/a/a5f4da99d4f5ba6e8c203d5c88f442aa333dcd74.png)

Notification Targets → Find the Target in question, hit the Edit Pencil

![Screenshot 2024-06-20 at 11.43.47 AM](https://forum-uploads-hub-prod-1-us-east-1-rapid7-com.s3.dualstack.us-east-1.amazonaws.com/original/2X/a/a3bfd5b5058e46e2dfecb437e9a9d2412cf111b6.png)

Then change the log context to Send Only Log line and save

Log context here refers to other logs that happened before the log in question, which is usually only relevant in some particular scenarios.

![Screenshot 2024-06-20 at 11.43.57 AM](https://forum-uploads-hub-prod-1-us-east-1-rapid7-com.s3.dualstack.us-east-1.amazonaws.com/original/2X/2/26bfa0c360d6c5d4d74da6e0ab7a11b9298c7c1f.png)

David

---

<div class="post-metadata">

**Author:** ![aboyd1](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/a/ed655f/32.png) [@aboyd1](https://discuss.rapid7.com/u/aboyd1)\
**Post date:** [June 20, 2024, 5:21pm UTC](https://discuss.rapid7.com/t/custom-detection-details/38847/3 "2024-06-20T17:21:25Z")

</div>

Thanks for your response. That helped me change the setting.

---

<div class="post-metadata">

**Author:** ![dkane](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/d/71e660/32.png) [@dkane](https://discuss.rapid7.com/u/dkane)\
**Post date:** [March 4, 2025, 10:36pm UTC](https://discuss.rapid7.com/t/custom-detection-details/38847/4 "2025-03-04T22:36:23Z")

</div>

I cannot find evidence of a pencil in the notification (emails/integrations) sections – was this removed? the e-mail alerts are useless without the log data

---

<div class="post-metadata">

**Author:** ![david\_smith1](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@david\_smith1](https://discuss.rapid7.com/u/david_smith1)\
**Post date:** [March 4, 2025, 10:52pm UTC](https://discuss.rapid7.com/t/custom-detection-details/38847/5 "2025-03-04T22:52:08Z")

</div>

Hey @dkane I can still see it, perhaps your user has insufficient permissions or perhaps you aren’t in the right spot. In order to find it you need to Navigate to Detection Rules → Basic Detection Rules → labels and notifications → notification targets.

You cannot edit directly from the Detection rule create or edit page itself.

David

---

<div class="post-metadata">

**Author:** ![dkane](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/d/71e660/32.png) [@dkane](https://discuss.rapid7.com/u/dkane)\
**Post date:** [March 4, 2025, 11:14pm UTC](https://discuss.rapid7.com/t/custom-detection-details/38847/6 "2025-03-04T23:14:38Z")

</div>

Ahh now I see it, you are right its tricky I was looking in the rule details  
Thanks for the assist !!!
