forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick to 6.x: Add grok pattern support for iis 7.5 log format (e…
…lastic#9967) (elastic#9999) * Add grok pattern support for iis 7.5 log format (elastic#9967) * Add grok pattern support for iis 7.5 log format * Update changelog (cherry picked from commit 5d66781) * Fix rebase issue
- Loading branch information
1 parent
a0fd065
commit 1a30d5d
Showing
4 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#Software: Microsoft Internet Information Services 7.5 | ||
#Version: 1.0 | ||
#Date: 2018-08-28 18:24:25 | ||
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken | ||
2018-08-28 18:24:25 [10.100.220.70](http://10.100.220.70) GET / - 80 - [10.100.118.31](http://10.100.118.31) Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.3;+WOW64;+Trident/7.0;+.NET4.0E;+.NET4.0C;+.NET+CLR+3.5.30729;+.NET+CLR[+2.0.50727](tel:+2050727);+.NET+CLR+3.0.30729) 404 4 2 792 |
27 changes: 27 additions & 0 deletions
27
filebeat/module/iis/access/test/test-iis-7.5.log-expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ | ||
{ | ||
"@timestamp": "2018-08-28T18:24:25.000Z", | ||
"event.dataset": "iis.access", | ||
"fileset.module": "iis", | ||
"fileset.name": "access", | ||
"iis.access.method": "GET", | ||
"iis.access.port": "80", | ||
"iis.access.query_string": "-", | ||
"iis.access.remote_ip": "10.100.118.31", | ||
"iis.access.request_time_ms": "792", | ||
"iis.access.response_code": "404", | ||
"iis.access.server_ip": "10.100.220.70", | ||
"iis.access.sub_status": "4", | ||
"iis.access.url": "/", | ||
"iis.access.user_agent.device": "Other", | ||
"iis.access.user_agent.name": "Other", | ||
"iis.access.user_agent.original": "Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.3;+WOW64;+Trident/7.0;+.NET4.0E;+.NET4.0C;+.NET+CLR+3.5.30729;+.NET+CLR[+2.0.50727](tel:+2050727);+.NET+CLR+3.0.30729)", | ||
"iis.access.user_agent.os": "Windows", | ||
"iis.access.user_agent.os_name": "Windows", | ||
"iis.access.user_name": "-", | ||
"iis.access.win32_status": "2", | ||
"input.type": "log", | ||
"offset": 244, | ||
"prospector.type": "log" | ||
} | ||
] |