Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "description" : "Ingest pipeline for Apache httpd Combined Log Format",
- "processors" : [
- {
- "grok": {
- "field": "message",
- "patterns": ["%{IPORHOST:clientip} %{USER:ident} %{USER:auth} \\[%{HTTPDATE:timestamp}\\] \"%{WORD:verb} %{URIPATHPARAM:request} HTTP/%{NUMBER:httpversion}\" %{NUMBER:response:int} (?:-|%{NUMBER:bytes:int}) %{QS:referrer} %{QS:agent}"]
- }
- },
- {
- "set":{
- "field": "myVersion",
- "value": "14"
- }
- },
- {
- "date": {
- "field": "timestamp",
- "formats": [ "dd/MMM/YYYY:HH:mm:ss Z" ]
- }
- },
- {
- "geoip": {
- "field": "clientip"
- }
- },
- {
- "user_agent": {
- "field": "agent"
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement