# Log processing rule

**URL:** <https://community.dynatrace.com/t/log-processing-rule/43907>\
**Category:** DQL\
**Tags:** log-processing\
**Created:** [January 31, 2024, 4:43am UTC](https://community.dynatrace.com/t/log-processing-rule/43907 "2024-01-31T04:43:24Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tjay](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@tjay](https://community.dynatrace.com/u/tjay)\
**Post date:** [January 31, 2024, 4:43am UTC](https://community.dynatrace.com/t/log-processing-rule/43907/1 "2024-01-31T04:43:24Z")

</div>

Hi,

I’m trying to parse an Apache log file, but “Test the rule” complains with “The matcher query doesn’t match the provided log sample”. Can someone tell why?

Process definition

PARSE(content, “IPADDR:‘net.peer.ip’  
SPACE  
IPADDR:‘net.proxy.ip’  
’ - ’  
LD:‘enduser.id’  
’ [’ TIMESTAMP(‘dd/MMM/yyyy:HH:mm:ss Z’):timestamp ‘]’  
SPACE  
'\”’  
LD:‘http.method’  
SPACE  
LD:‘http.target’  
SPACE  
LD:‘http.flavor’  
‘\"’  
SPACE  
INT:‘http.status\_code’  
SPACE  
LD:‘http.response\_content\_length’  
SPACE  
‘\“-\” \"’ LD:‘http.user\_agent’  
'; ’ LD:‘http.request.header.referrer’ ‘\"’  
(SPACE LD)? (EOL | EOF)")

Log sample

{  
“content”:“999.999.999.999 999.99.99.999 - - [31/Jan/2024:11:08:11 +0000] \“POST /xxx.php?doing\_xxxxx=1706666891.5527100563049316406250 HTTP/1.1\” 200 - \”-\" \“MyApp/6.0; [https://uat.xxxxx.com](https://uat.xxxxx.com)"”  
}

---

_[View the full topic](https://community.dynatrace.com/t/log-processing-rule/43907)._
