# Log Event extraction to problem  with multiple lines

**URL:** <https://community.dynatrace.com/t/log-event-extraction-to-problem-with-multiple-lines/44212>\
**Category:** Alerting\
**Tags:** problem-detection, problem-notification, problems-classic\
**Created:** [February 20, 2024, 11:49pm UTC](https://community.dynatrace.com/t/log-event-extraction-to-problem-with-multiple-lines/44212 "2024-02-20T23:49:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcole66](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@dcole66](https://community.dynatrace.com/u/dcole66)\
**Post date:** [February 20, 2024, 11:49pm UTC](https://community.dynatrace.com/t/log-event-extraction-to-problem-with-multiple-lines/44212/1 "2024-02-20T23:49:59Z")

</div>

I’m trying to see if there is a way I can create a problem utilising a long log entry.&nbsp; &nbsp;I have not worked out if it is better to have one long log content entry with multiple lines, or multiple log entries and consolidate those to one event/problem.

I am using the OneAgent log ingest api and have the flexibility (somewhat) to post either a log entry per line into dynatrace.&nbsp; Or concatenate lines into one content entry.

I’d then like to extract that as an event which will ultimately be given to ServiceNow which has the concept of a short description “I have a problem” and a long description - the mulitple log lines.

Am I barking up the wrong tree?

---

<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:** [February 21, 2024, 8:24am UTC](https://community.dynatrace.com/t/log-event-extraction-to-problem-with-multiple-lines/44212/2 "2024-02-21T08:24:50Z")

</div>

Hi,

You can ingest log line you are instested and create a&nbsp;[log event](https://docs.dynatrace.com/docs/shortlink/log-monitoring-log-events).

Best regards

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [February 21, 2024, 8:43am UTC](https://community.dynatrace.com/t/log-event-extraction-to-problem-with-multiple-lines/44212/3 "2024-02-21T08:43:35Z")

</div>

As suggested by&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp; you should use log events

The short description in SNOW will be Title.  
The long description in SNOW will be the Dynatrace description.

 ![PacoPorro_0-1708504796454.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/0e67b0117dee4c1067d3fb03036c4196ddbd4202.png)

 ![PacoPorro_1-1708505008164.png](https://global.discourse-cdn.com/dynatrace/original/2X/8/8d0430c0ac6dda23ce5d2e2b498e3a3cfbb463a6.png)

---

<div class="post-metadata">

**Author:** ![dcole66](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@dcole66](https://community.dynatrace.com/u/dcole66)\
**Post date:** [February 21, 2024, 6:47pm UTC](https://community.dynatrace.com/t/log-event-extraction-to-problem-with-multiple-lines/44212/4 "2024-02-21T18:47:31Z")

</div>

I have a log event…but that will only create an event with one of the log entries with criteria, or will it merge all of the log entries into one event?

Let say I push 100 log lines into dynatrace for one “thing”&nbsp; and I want this one this to be one event/problem
