Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions content_pack.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@
"title" : "Remote Address",
"type" : "REGEX",
"configuration" : {
"regex_value" : "haproxy:\\s+(\\S+):"
"regex_value" : "haproxy(?:\\[\\d+\\])?:\\s+(\\S+):"
},
"converters" : [ ],
"order" : 1,
"cursor_strategy" : "COPY",
"target_field" : "remote_addr",
"source_field" : "message",
"condition_type" : "REGEX",
"condition_value" : "^haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "Request Timestamp",
"type" : "REGEX",
"configuration" : {
"regex_value" : "haproxy:.+?\\[(.+?)\\]"
"regex_value" : "haproxy(?:\\[\\d+\\])?:.+?\\[(.+?)\\]"
},
"converters" : [ {
"type" : "DATE",
Expand All @@ -43,51 +43,51 @@
"target_field" : "timestamp",
"source_field" : "message",
"condition_type" : "REGEX",
"condition_value" : "^haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "Frontend",
"type" : "REGEX",
"configuration" : {
"regex_value" : "haproxy:.+?\\[.+?\\]\\s(\\S+)"
"regex_value" : "haproxy(?:\\[\\d+\\])?:.+?\\[.+?\\]\\s(\\S+)"
},
"converters" : [ ],
"order" : 4,
"cursor_strategy" : "COPY",
"target_field" : "frontend",
"source_field" : "message",
"condition_type" : "REGEX",
"condition_value" : "^haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "Server",
"type" : "REGEX",
"configuration" : {
"regex_value" : "haproxy:.+?\\[.+?\\].+?/(\\S+)"
"regex_value" : "haproxy(?:\\[\\d+\\])?:.+?\\[.+?\\].+?/(\\S+)"
},
"converters" : [ ],
"order" : 6,
"cursor_strategy" : "COPY",
"target_field" : "server",
"source_field" : "message",
"condition_type" : "REGEX",
"condition_value" : "^haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "Backend",
"type" : "REGEX",
"configuration" : {
"regex_value" : "haproxy:.+?\\[.+?\\].+?(\\S+)/"
"regex_value" : "haproxy(?:\\[\\d+\\])?:.+?\\[.+?\\].+?(\\S+)/"
},
"converters" : [ ],
"order" : 5,
"cursor_strategy" : "COPY",
"target_field" : "backend",
"source_field" : "message",
"condition_type" : "REGEX",
"condition_value" : "^haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "Response Status",
"type" : "REGEX",
"configuration" : {
"regex_value" : "haproxy:.+?\\[.+?\\].+?\\s\\S+\\s\\S+\\s(\\d+)"
"regex_value" : "haproxy(?:\\[\\d+\\])?:.+?\\[.+?\\].+?\\s\\S+\\s\\S+\\s(\\d+)"
},
"converters" : [ {
"type" : "NUMERIC",
Expand All @@ -98,12 +98,12 @@
"target_field" : "response_status",
"source_field" : "message",
"condition_type" : "REGEX",
"condition_value" : "^haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "Response Bytes",
"type" : "REGEX",
"configuration" : {
"regex_value" : "haproxy:.+?\\[.+?\\].+?\\s\\S+\\s\\S+\\s\\d+\\s(\\d+)"
"regex_value" : "haproxy(?:\\[\\d+\\])?:.+?\\[.+?\\].+?\\s\\S+\\s\\S+\\s\\d+\\s(\\d+)"
},
"converters" : [ {
"type" : "NUMERIC",
Expand All @@ -114,72 +114,72 @@
"target_field" : "response_bytes",
"source_field" : "message",
"condition_type" : "REGEX",
"condition_value" : "^haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "Request Verb",
"type" : "REGEX",
"configuration" : {
"regex_value" : "haproxy:.+?\"(\\w+)\\s"
"regex_value" : "haproxy(?:\\[\\d+\\])?:.+?\"(\\w+)\\s"
},
"converters" : [ ],
"order" : 9,
"cursor_strategy" : "COPY",
"target_field" : "request_verb",
"source_field" : "message",
"condition_type" : "REGEX",
"condition_value" : "^haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "Request Path",
"type" : "REGEX",
"configuration" : {
"regex_value" : "haproxy:.+?\"\\w+\\s(\\S+)"
"regex_value" : "haproxy(?:\\[\\d+\\])?:.+?\"\\w+\\s(\\S+)"
},
"converters" : [ ],
"order" : 10,
"cursor_strategy" : "COPY",
"target_field" : "request_path",
"source_field" : "message",
"condition_type" : "REGEX",
"condition_value" : "^haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "HTTP Version",
"type" : "REGEX",
"configuration" : {
"regex_value" : "haproxy:.+HTTP/(\\S+)\""
"regex_value" : "haproxy(?:\\[\\d+\\])?:.+HTTP/(\\S+)\""
},
"converters" : [ ],
"order" : 2,
"cursor_strategy" : "COPY",
"target_field" : "http_version",
"source_field" : "message",
"condition_type" : "REGEX",
"condition_value" : "^haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "Message",
"type" : "REGEX",
"configuration" : {
"regex_value" : "haproxy:.+\"(.+)\""
"regex_value" : "haproxy(?:\\[\\d+\\])?:.+\"(.+)\""
},
"converters" : [ ],
"order" : 11,
"cursor_strategy" : "COPY",
"target_field" : "message",
"source_field" : "message",
"condition_type" : "REGEX",
"condition_value" : "^haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "Timings",
"type" : "REGEX",
"configuration" : {
"regex_value" : "haproxy:.+?\\[.+?\\].+?\\S+/\\S+\\s(\\S+)"
"regex_value" : "haproxy(?:\\[\\d+\\])?:.+?\\[.+?\\].+?\\S+/\\S+\\s(\\S+)"
},
"converters" : [ ],
"order" : 0,
"cursor_strategy" : "COPY",
"target_field" : "timings",
"source_field" : "message",
"condition_type" : "REGEX",
"condition_value" : "haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "Milliseconds spent waiting for the client to send a full HTTP request",
"type" : "SPLIT_AND_INDEX",
Expand All @@ -196,7 +196,7 @@
"target_field" : "tq",
"source_field" : "timings",
"condition_type" : "NONE",
"condition_value" : "haproxy:"
"condition_value" : "haproxy(?:\\[\\d+\\])?:"
}, {
"title" : "Milliseconds spent waiting in queues",
"type" : "SPLIT_AND_INDEX",
Expand Down