cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

No log data available in Custom log sources

Etienne1
Helper

Hello,

I don't understand why I'm getting the ‘no log data available’ error.

no log data available.png

I looked at this post for inspiration:
Custom Log Source - Windows Event Log 

Here are some screenshots of the custom log sources and my log ingest rule and the log path I'm trying to retrieve:

%SystemRoot%\System32\Winevt\Logs\Microsoft-Windows-Dhcp-Server%4Operational.evtx

Custom log sources.png

Log ingest rule.png

kind regards

6 REPLIES 6

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Have you check Security rules?

Your link example they had used this:

{
   "directory-pattern":"/windows/system32/winevt/Logs/",
   "file-pattern":"*",
   "action":"INCLUDE"
}

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Hello, 

I will try this solution

GerardJ
Advisor

Hi @Etienne1 

In the link example solution, he mentionned that he finally used this :

GerardJ_1-1739986283012.png

So adding a .evtx extension to the custom log source path.
You should try this :
Custom log Source :  "Microsoft-Windows-Dhcp-Server/Operational.evtx"
Ingest Rule :  easy way : "Microsoft-Windows-Dhcp-Server*" (or "Microsoft-Windows-Dhcp-Server/Operational")

Best regards

Gerard

Hello, 

I've already tried to use the example in the solution but it doesn't work, I'm going to try adding the security rules.

Hi, please see https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-log-ingestion/lma-log-ingestion-vi... (point 6, Expandable Content) - there it is shown what should be provided for event logs in custom log sources

Hi, 

I've tested your solution but it doesn't work at the moment. I think the problem is linked to permissions on the oneagent or on the server folder.

Featured Posts