I have some issue with decoder for IIS and custom rules.
I need some decoders for IIS because i need to put in rules description the URL and i need to do some
IIS rules with a status other than 200. and i think i need some decoders too but i can't manage to create the decoders.
I think i do something wrong , but i don't know what.
This are the decoders i put for IIS :
<decoder name="IIS_custom">
<prematch>\.*,\.*,\.*,\.*,\.*,\.*</prematch>
</decoder>
<decoder name="IIS_custom">
<parent>IIS_custom</parent>
<regex>(\.*),\.*, (\.*), (\.*),(\.*),(\.*), (\.*),</regex>
<order>srcip, date, hour, w3svc, servername, dstip</order>
</decoder>
<decoder name="web-accesslog-iis-modified">
<parent>windows-date-format</parent>
<type>web-log</type>
<use_own_name>true</use_own_name>
<prematch offset="after_parent">^\S+ GET |^\S+ POST</prematch>
<regex offset="after_parent">^\S+ (\w+) (\S+ \S+) (\S+) \S+ (\S+) (\S+) \.*(\d\d\d) \.+\s(\d+\p\d+\p\d+\p\d+)\p(\.+)</regex>
<order>action, url, srcport, srcip, user_agent, id, ipaddress1, ip-address2</order>
</decoder>
Thx for help,
George