# Custom log source

**URL:** <https://community.dynatrace.com/t/custom-log-source/44022>\
**Category:** Logs\
**Tags:** log-monitoring-class, log-configuration, data-ingest\
**Created:** [February 7, 2024, 4:30pm UTC](https://community.dynatrace.com/t/custom-log-source/44022 "2024-02-07T16:30:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorge3229](https://avatars.discourse-cdn.com/v4/letter/j/90db22/32.png) [@Jorge3229](https://community.dynatrace.com/u/Jorge3229)\
**Post date:** [February 7, 2024, 4:30pm UTC](https://community.dynatrace.com/t/custom-log-source/44022/1 "2024-02-07T16:30:20Z")

</div>

Hello, good day, I have a problem ingesting logs, within the laboratory I have been doing tests, meeting the following conditions:

that the file is encoded in utf-8, that the file contains the .log extension, that it has sufficient permissions to be read

but in dynatrace it shows me the following message (No log data available)  
 ![Captura de pantalla 2024-02-07 101643.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/f/eff76783e05cc02f48d7bed6093e7fb3a46e1505.png)

 ![Captura de pantalla 2024-02-07 101817.png](https://global.discourse-cdn.com/dynatrace/original/2X/d/d2a2ef7c7551b4566d2f0ccac043729fa8f0d59a.png)  
 ![Captura de pantalla 2024-02-07 101856.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/9/29ef2e3e27a68b2ce111ef0e5b30dde71278372f.png)  
 ![Captura de pantalla 2024-02-07 101707.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/29e6d59c11b025201ea863d45d5e96140a53c663.png)

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [February 8, 2024, 7:27pm UTC](https://community.dynatrace.com/t/custom-log-source/44022/2 "2024-02-08T19:27:30Z")

</div>

[@Jorge3229](https://community.dynatrace.com/user/58775),

Please check your log file entries, and see if they are dated. Dynatrace will not inject formatted logs way into the past. Try editing the last date with a current date/time to see if it appears in Dynatrace.

---

<div class="post-metadata">

**Author:** ![Jorge3229](https://avatars.discourse-cdn.com/v4/letter/j/90db22/32.png) [@Jorge3229](https://community.dynatrace.com/u/Jorge3229)\
**Post date:** [February 9, 2024, 6:05pm UTC](https://community.dynatrace.com/t/custom-log-source/44022/3 "2024-02-09T18:05:36Z")

</div>

Thank you very much, it was really very helpful, I am currently reading the logs I had to prove that I basically took them from the Linux syslog, but the logs from the production environment have the following timestamp, which I understand is another limitation.  
[Thr 140022968440576] \<\<- ERROR: Sap\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
[Thr 140022968440576] \*\*\* ERROR =\> Icm\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

I have been investigating if there is a way to define the custom timestamp but I can’t find anything about it, do you know if there is something to customize that parameter?

I see that dynatrace offers a few formats but it does not fit into any that dynatrace provides

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [February 9, 2024, 6:21pm UTC](https://community.dynatrace.com/t/custom-log-source/44022/4 "2024-02-09T18:21:02Z")

</div>

[@Jorge3229](https://community.dynatrace.com/user/58775),

/var/log/syslog and similar, are known for having different logging formats. Out of curiosity, what distro are you taking those 2 log entris from?
