# Context lines around a log entry that matches my search

**URL:** <https://community.dynatrace.com/t/context-lines-around-a-log-entry-that-matches-my-search/45911>\
**Category:** Logs\
**Tags:** log-monitoring-class\
**Created:** [June 4, 2024, 8:18pm UTC](https://community.dynatrace.com/t/context-lines-around-a-log-entry-that-matches-my-search/45911 "2024-06-04T20:18:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![blainefredricks](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@blainefredricks](https://community.dynatrace.com/u/blainefredricks)\
**Post date:** [June 4, 2024, 8:18pm UTC](https://community.dynatrace.com/t/context-lines-around-a-log-entry-that-matches-my-search/45911/1 "2024-06-04T20:18:16Z")

</div>

Using Logs & Events.

I am able to search and find specific log entries of interest. (Thank you very much!)

I’m wondering if there’s any way to display the context of the log, so it would show 4 lines before and 2 lines after (as an example), so that I can see the context?

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [June 5, 2024, 6:49am UTC](https://community.dynatrace.com/t/context-lines-around-a-log-entry-that-matches-my-search/45911/2 "2024-06-05T06:49:57Z")

</div>

Hi,

I think that is not possible.

Best regards

---

<div class="post-metadata">

**Author:** ![blainefredricks](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@blainefredricks](https://community.dynatrace.com/u/blainefredricks)\
**Post date:** [June 7, 2024, 7:50pm UTC](https://community.dynatrace.com/t/context-lines-around-a-log-entry-that-matches-my-search/45911/3 "2024-06-07T19:50:35Z")

</div>

Yet?&nbsp; Possible cool and useful feature???

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [June 8, 2024, 3:45pm UTC](https://community.dynatrace.com/t/context-lines-around-a-log-entry-that-matches-my-search/45911/4 "2024-06-08T15:45:33Z")

</div>

Hi,

I would raise a [product idea](https://community.dynatrace.com/category/DynatraceProductIdeas).

Best regards
