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

Searching Logs for SNMP trap content

AntonioSousa
DynaMight Guru
DynaMight Guru

SNMP traps are available as LOGs in Dynatrace. Searching SNMP traps seems to be an issue, as searching in content doesn't match a lot of strings I'm seeing in OIDs.

How have you been able to search for specific content inside SNMP traps? BTW, this is in Managed, a non Grail environment.

Antonio Sousa
2 REPLIES 2

jegron
DynaMight Champion
DynaMight Champion

Hi @AntonioSousa ! Here are my tips for the "Log monitoring classic" that works with Managed :

  • First you can rename your field if it contains "::" :

jegron_4-1691483233583.png

  • Then you can to add your field in a custom log attribute : 

jegron_0-1691483043056.png

https://www.dynatrace.com/support/help/observe-and-explore/logs/log-monitoring/analyze-log-data/log-...

  • Finally you can search into it :

jegron_1-1691483083129.png

jegron_2-1691483105842.png

Hope it helps.

 

 

Observability Engineer at Phenisys - Dynatrace Professional

AntonioSousa
DynaMight Guru
DynaMight Guru

@jegron,

This is an exceptional tip!I hadn't had the time to try it out, but worked flawlessly!

I believe you should post it in the Tips & Tricks zone, so other Community users might benefit.

BTW, I was intrigued about the first step: it might be because "::" are not permitted as keys, or even caps letters being present. Do you have a confirmation why it is needed? Because if it is, I believe it is structural, and not even a Product Idea would be applicable here.

Antonio Sousa

Featured Posts