Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(behaviourlog|productsvariant)
/
gm
Input 1
/behaviourlog/behaviour_log HTTP/1.1" 201 184 "connection": "1198381207" "connection_requests": "9597" "" "axios/0.17.1" 0.006 req_header:"x-datadog-sampled=1 content-type=application/json x-datadog-parent-id=1907411679963339369 accept=application/json, text/plain, */* content-length=105 accept-encoding=gzip user-agent=axios/0.17.1 connection=keep-alive host=192.168.14.79:9200 x-datadog-sampling-priority=1 x-datadog-trace-id=6872742412518770830 "req_body:"{\"search_term\":\"meja\",\"company_code\":\"HCI\",\"total_result\":0,\"variants\":[],\"created\":\"2021-07-29 3:18:04\"}" resp_header:"access-control-allow-credentials=true content-type=application/json; charset=UTF-8 connection=keep-alive content-encoding=gzip location=/behaviourlog20180307/behaviour_log/K5HE7noB_ozoNgfRX7nL content-length=184 " resp_body:"" 192.168.14.69 - [29/Jul/2021:03:18:05 +0700] "POST /productsvariant/product/_search?pretty HTTP/1.1" 200 434 "connection": "1206059733" "connection_requests": "1" "" "GuzzleHtt
Extraction
/behaviourlog/behaviour_log HTTP/1.1" 201 184 "connection": "1198381207" "connection_requests": "9597" "" "axios/0.17.1" 0.006 req_header:"x-datadog-sampled=1 content-type=application/json x-datadog-parent-id=1907411679963339369 accept=application/json, text/plain, */* content-length=105 accept-encoding=gzip user-agent=axios/0.17.1 connection=keep-alive host=192.168.14.79:9200 x-datadog-sampling-priority=1 x-datadog-trace-id=6872742412518770830 "req_body:"{\"search_term\":\"meja\",\"company_code\":\"HCI\",\"total_result\":0,\"variants\":[],\"created\":\"2021-07-29 3:18:04\"}" resp_header:"access-control-allow-credentials=true content-type=application/json; charset=UTF-8 connection=keep-alive content-encoding=gzip location=/behaviourlog20180307/behaviour_log/K5HE7noB_ozoNgfRX7nL content-length=184 " resp_body:"" 192.168.14.69 - [29/Jul/2021:03:18:05 +0700] "POST /productsvariant/product/_search?pretty HTTP/1.1" 200 434 "connection": "1206059733" "connection_requests": "1" "" "GuzzleHtt