Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

elasticsearch - Kibana - search for "Googlebot" + "HTTP/2"

I would like to ask for help.

I have Kibana 6.8.1 and asterisk search turned off. Inside are access logs data - similar to default Apache format. Each line is saved as a Message (don′t use grok to parse data to columns in this project).

I would like to find all requests from googlebot which went over HTTP/2. T have tried to search "googlebot AND HTTP/2", but it didn't work (find out). Tried to escape / with / or . It didn't work.

Can you please help me to find all requests from googlebot which went over HTTP/2?

Example of data (Googlebot over http/1.1):

{
  "remote_addr": "10.249.40.36",
  "time_local": "25/Jan/2021:12:55:30 +0100",
  "request": "GET /api/cs/v2/pois?leftBottomBounding=14.059467003565942%7C49.99607653436616&rightTopBounding=14.060915396433984%7C49.997224858777685&tms=1611575730422&zoom=19 HTTP/2",
  "status": 200,
  "body_bytes_sent": 186,
  "http_referrer": "https://www.****.?cena-od=0&cena-do=4000000&bez-aukce=1",
  "http_user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Googlebot Chrome/87.0.4280.141 Safari/537.36",
  "http_x_forwarded_for": "91.214.158.2",
  "request_time": 0.033,
  "upstream_connect_time": "0.000",
  "upstream_header_time": "0.033",
  "upstream_response_time": "0.033"
}
question from:https://stackoverflow.com/questions/65884400/kibana-search-for-googlebot-http-2

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...