日志字段详情

request_uri Proxy收到的请求报文的URI。scheme 请求的schema,包括HTTP、HTTPS。server_protocol Proxy收到的HTTP协议的版本,例如HTTP/1.0或HTTP/1.1。slb_vport 负载均衡的监听端口。app_lb_id ALB负载均衡实例ID。ssl_cipher 建立SSL...

日志字段详情

request_uri 负载均衡收到的请求报文的URI。scheme 请求的scheme,包括http、https。server_protocol 负载均衡收到的HTTP协议的版本,例如HTTP/1.0或HTTP/1.1。slb_vport 负载均衡的监听端口。slbid 负载均衡实例ID。ssl_cipher 建立SSL...

使用e_table_map函数对HTTP请求返回码进行富化

like Gecko)Version/5.0.4 Safari/533.20.27 http_x_forwarded_for:203.0.XXX.XX remote_addr:203.0.XXX.XX remote_user:p288 request_length:13741 request_method:GET request_time:71 request_uri:/request/path-1/file-1 http_...

HTTP请求处理程序(HTTP Handler)

size=int(environ.get('CONTENT_LENGTH',0))except(ValueError):request_body_size=0 request_body=environ['wsgi.input'].read(request_body_size)#get request_method request_method=environ['REQUEST_METHOD']#get path info path_info...

使用函数计算方式的录音文件识别

uri="+request_uri)filename=request_uri.split('/')[-1]logger.info('filename='+filename)#get request_body try:request_body_size=int(environ.get('CONTENT_LENGTH',0))except(ValueError):request_body_size=0 request_body=environ...

应用型负载均衡

request_uri Proxy收到的请求报文的URI。scheme 请求的schema,包括HTTP、HTTPS。server_protocol Proxy收到的HTTP协议的版本,例如HTTP/1.0或HTTP/1.1。slb_vport 负载均衡的监听端口。app_lb_id ALB负载均衡实例ID。ssl_cipher 建立SSL...

Nginx缓存策略设置

免责声明:本文档可能包含第三方产品信息,该信息仅供参考。阿里云对第三方产品的性能、可靠性以及操作...location~.*\.php${ if($request_uri!dynamicimg/){ add_header Cache-Control"no-cache;add_header Pragma no-cache;} } 适用于 CDN

删除热词词表

common_request(domain,version,protocolType,method,uri):request=CommonRequest()request.set_accept_format('json')request.set_domain(domain)request.set_version(version)request.set_protocol_type(protocolType)request.set_method...

成本优化指南

数据加工主要解决您规整数据的痛点以及帮助您进一步挖掘数据的价值,降低时间与人力成本。合理配置可以节约一定的成本,本文档介绍如何以较优的成本方式使用数据加工功能。典型配置 根据 加工原理 和 性能指南,推荐您简化采集方案,使用......

查询热词词表

common_request(domain,version,protocolType,method,uri):request=CommonRequest()request.set_accept_format('json')request.set_domain(domain)request.set_version(version)request.set_protocol_type(protocolType)request.set_method...

使用GetLogs接口查询日志

like Gecko)Version/5.0.4 Safari/533.20.27 http_x_forwarded_for:203.0.XX.XX remote_addr:203.0.XX.XX remote_user:p288 request_length:13741 request_method:GET request_time:71 request_uri:/request/path-1/file-1 http_...

pull_log

39","request_uri":"/request/path-1/file-2","status":"200","time_local":"02/Mar/2023:02:18:44","upstream_response_time":"0.08"},{"_source_":"127.0.0.1","_tag_:_receive_time_":"1677723529","_time_":1677723524,"_topic_":...

Mock

URI Too Long 415 Unsupported Media Type 416 Requested Range Not Satisfiable 417 Expectation Failed 450 Parameter Requried 451 Method Connect Exception 500 Internal Server Error 501 Not Implemented 502 Bad Gateway 503 ...

列举热词词表

common_request(domain,version,protocolType,method,uri):request=CommonRequest()request.set_accept_format('json')request.set_domain(domain)request.set_version(version)request.set_protocol_type(protocolType)request.set_method...

使用Logstash(流式数据传输)

返回结果如下:+-+-+-+-+-+-+-+-+-+-+-+-+|clientip|remote_user|time|verb|uri|version|response|body_bytes|referrer|agent|pt|+-+-+-+-+-+-+-+-+-+-+-+|1.1.1.1|-|2020-07-09 01:02:03|GET|/masked/request/uri/1|1.1|200|0|"-"|"Masked...

查询语法

request_time>60 and request_method:Ge*表示查询 request_time 字段值大于 60 且 request_method 字段值以 Ge 开头的日志。addr*表示在所有日志中查找以 addr 开头的100个词,并返回包含这些词的日志。host:www.yl*表示在所有日志中查找 ...

Parquet格式

命令 parquet-tools csv-n 2 44_1693464263000000000_2288ff590970d092.parquet 返回结果 remote_addr,body_bytes_sent,time_local,request_method,request_uri,http_user_agent,remote_user,request_time,request_length,http_referer,...

DDoS防护

request_uri 请求路径 server_name 匹配到的host名。如果未匹配,则显示为default。status HTTP状态 time 时间 ua_browser 浏览器 ua_browser_family 浏览器系列 ua_browser_type 浏览器类型 ua_device_type 客户端设备类型 ua_os 客户端...

更新热词词表

uri_pattern(uri)request.add_header('Content-Type','application/json')return request def init_parameters():root=dict()root['Name']='输入您的词表名称' root['Description']='输入您的 词表描述' words=dict()words['苹果']=3 words...

创建热词词表

uri_pattern(uri)request.add_header('Content-Type','application/json')return request def init_parameters():root=dict()root['Name']='输入您的词表名称' root['Description']='输入您的词表描述' words=dict()words['苹果']=3 words...

EdgeScript场景示例

rsp_header('X-AUTH-MSG','auth failed-invalid time')exit(403)}#鉴权时间是否过期判断 if gt(now(),t){ add_rsp_header('X-AUTH-MSG','auth failed-expired url')exit(403)}#鉴权算法,对请求进行正则提取 pcs=capture($request_uri,'^/...

使用示例

定义一个请求*/aiot_coap_request_t req={.payload=(uint8_t*)demo_request_payload,.msg_type=AIOT_COAP_MSG_TYPE_CON,/*上行的数据格式为json*/.content_format=AIOT_COAP_CT_APP_JSON,.msg_token=req_token };用COAP通道向云平台上报1条...

EdgeScript场景示例

rsp_header('X-AUTH-MSG','auth failed-invalid time')exit(403)}#鉴权时间是否过期判断 if gt(now(),t){ add_rsp_header('X-AUTH-MSG','auth failed-expired url')exit(403)}#鉴权算法,对请求进行正则提取 pcs=capture_re($request_uri,'...

EdgeScript场景示例

rsp_header('X-AUTH-MSG','auth failed-invalid time')exit(403)}#鉴权时间是否过期判断 if gt(now(),t){ add_rsp_header('X-AUTH-MSG','auth failed-expired url')exit(403)}#鉴权算法,对请求进行正则提取 pcs=capture_re($request_uri,'...

配置HTTP触发器并使用HTTP触发

def handler(environ,start_response):request_uri=environ['fc.request_uri']response_body={ 'uri':environ['fc.request_uri'],'method':environ['REQUEST_METHOD']}#do something here status='200 OK' response_headers=[('Content-...

Apache模式解析

U request_uri_supple 请求的URI路径,不带查询字符串。v server_name 服务器名称。V server_name_canonical 根据UseCanonicalName指令设定的服务器名称。“%{User-Agent}i”http_user_agent 客户端信息。“%{Referer}i”http_referer 来源...

Parquet格式

命令 parquet-tools csv-n 2 44_1693464263000000000_2288ff590970d092.parquet 返回结果 remote_addr,body_bytes_sent,time_local,request_method,request_uri,http_user_agent,remote_user,request_time,request_length,http_referer,...

日志字段详情

request_uri Proxy收到的请求报文的URI。scheme 请求的schema,包括http、https。server_protocol Proxy收到的HTTP协议的版本,例如HTTP/1.0或HTTP/1.1。slb_vport 负载均衡的监听端口。slbid 负载均衡实例ID。ssl_cipher 建立SSL连接使用...

get_histograms

like Gecko)Version/5.0.4 Safari/533.20.27 http_x_forwarded_for:203.0.103.10 remote_addr:203.0.103.10 remote_user:p288 request_length:13741 request_method:GET request_time:71 request_uri:/request/path-1/file-1 status:200 time_...

分析Nginx访问日志

select from_unixtime(_time_-_time_%60),max_by(request_uri,request_time)group by_time_-_time_%60 统计分析网站所有请求的延时分布,将延时分布分成10个组,分析每个延时区间的请求个数。select numeric_histogram(10,request_time)...

DescribeDcdnWafRule-获取单个防护规则信息

{\"action\":\"monitor\",\"actionExternal\":\"{}\",\"ccStatus\":1,\"conditions\":[{\"key\":\"URL\",\"opValue\":\"eq\",\"targetKey\":\"request_uri\",\"values\":\"/example\"},{\"key\":\"Header\",\"opValue\":\"eq\",\"subKey\":...

AScript场景示例

invalid time')exit(403)} if gt(now(),t){ add_rsp_header('X-AUTH-MSG','auth failed-expired url')exit(403)} pcs=capture($request_uri,'^/([^/]+)/([^/]+)/([^?(.*)')sec1=get(pcs,1)sec2=get(pcs,2)sec3=get(pcs,3)if or(not(sec1),...

通用错误码

本文介绍了云拨测任务中通用的错误码和对应的错误说明。...out 409 HTTP/1.1 409 Conflict 410 HTTP/1.1 410 Gone 411 HTTP/1.1 411 Length Required 412 HTTP/1.1 412 Precondition Failed 414 HTTP/1.1 414 Request-URI Too Large 415 ...

条件表达式

查询和分析语句*|SELECT CASE WHEN request_time< 10 then 't10' WHEN request_time< 100 then 't100' WHEN request_time< 1000 then 't1000' WHEN request_time< 10000 then 't10000' ELSE 'large' END AS request_time,count(*)AS pv GROUP BY ...

口语书面化

uri_pattern(uri)request.add_header('Content-Type','application/json')return request def init_parameters():root=dict()root['AppKey']='输入您在听悟管控台创建的Appkey'#基本请求参数 input=dict()input['SourceLanguage']='...

使用GetHistograms查询日志分布数量

like Gecko)Version/5.0.4 Safari/533.20.27 http_x_forwarded_for:203.0.XX.XX remote_addr:203.0.XX.XX remote_user:p288 request_length:13741 request_method:GET request_time:71 request_uri:/request/path-1/file-1 http_...

请求处理相关函数

当请求未携带cookie user时,403拒绝请求,响应body为'not cookie user' if not(0){ exit(403)} 说明:not(0)的结果为false if not(false){ exit(403)} 说明:not(false)的结果为true 示例2 pcs=capture_re($request_uri,'^/([^/]+)/([^/]+...

字符串类型相关函数

示例 pcs=capture_re($request_uri,'^/([^/]+)/([^/]+)([^?\?(.*)')sec1=get(pcs,1)sec2=get(pcs,2)sec3=get(pcs,3)if or(not(sec1),not(sec2),not(sec3)){ add_rsp_header('X-TENGINE-ERROR','auth failed-missing necessary uri set')...

语音转写

uri_pattern(uri)request.add_header('Content-Type','application/json')return request def init_parameters():root=dict()root['AppKey']='输入您在听悟管控台创建的Appkey'#基本请求参数 input=dict()input['SourceLanguage']='...

文本翻译

uri_pattern(uri)request.add_header('Content-Type','application/json')return request def init_parameters():root=dict()root['AppKey']='输入您在听悟管控台创建的Appkey'#基本请求参数 input=dict()input['SourceLanguage']='...
共有200条 < 1 2 3 4 ... 200 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构 对象存储 物联网平台
新人特惠 爆款特惠 最新活动 免费试用