当前位置: 首页 > news >正文

佛山个人建站模板网站建站上海

佛山个人建站模板,网站建站上海,青海最新信息,免费自动网页生成器1.创建好waf-cdn 并且设置好规则和log存储方式为s3 2. Amazon Athena 服务 使用 #xff08;注意s3桶位置相同得区域#xff09; https://docs.aws.amazon.com/zh_cn/athena/latest/ug/waf-logs.html#waf-example-count-matched-ip-addresses 官方文档参考,建一个分区查询表…1.创建好waf-cdn 并且设置好规则和log存储方式为s3 2. Amazon Athena 服务 使用 注意s3桶位置相同得区域 https://docs.aws.amazon.com/zh_cn/athena/latest/ug/waf-logs.html#waf-example-count-matched-ip-addresses 官方文档参考,建一个分区查询表 不能直接使用 因为是cdn 资源需要修改相关字段 CREATE EXTERNAL TABLE waf_logs(timestamp bigint,formatversion int,webaclid string,terminatingruleid string,terminatingruletype string,action string,terminatingrulematchdetails array struct conditiontype: string,sensitivitylevel: string,location: string,matcheddata: array string ,httpsourcename string,httpsourceid string,rulegrouplist array struct rulegroupid: string,terminatingrule: struct ruleid: string,action: string,rulematchdetails: array struct conditiontype: string,sensitivitylevel: string,location: string,matcheddata: array string ,nonterminatingmatchingrules: array struct ruleid: string,action: string,overriddenaction: string,rulematchdetails: array struct conditiontype: string,sensitivitylevel: string,location: string,matcheddata: array string ,challengeresponse: struct responsecode: string,solvetimestamp: string,captcharesponse: struct responsecode: string,solvetimestamp: string,excludedrules: string, ratebasedrulelist array struct ratebasedruleid: string,limitkey: string,maxrateallowed: int,nonterminatingmatchingrules array struct ruleid: string,action: string,rulematchdetails: array struct conditiontype: string,sensitivitylevel: string,location: string,matcheddata: array string ,challengeresponse: struct responsecode: string,solvetimestamp: string,captcharesponse: struct responsecode: string,solvetimestamp: string,requestheadersinserted array struct name: string,value: string,responsecodesent string,httprequest struct clientip: string,country: string,headers: array struct name: string,value: string,uri: string,args: string,httpversion: string,httpmethod: string,requestid: string,labels array struct name: string,captcharesponse struct responsecode: string,solvetimestamp: string,failureReason: string,challengeresponse struct responsecode: string,solvetimestamp: string,failureReason: string,ja3Fingerprint string,oversizefields string,requestbodysize int,requestbodysizeinspectedbywaf int ) PARTITIONED BY ( region string, date string) ROW FORMAT SERDE org.openx.data.jsonserde.JsonSerDe STORED AS INPUTFORMAT org.apache.hadoop.mapred.TextInputFormat OUTPUTFORMAT org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat LOCATIONs3://aws-waf-logs-xxx/AWSLogs/accountID/WAFLogs/cloudfront/waf-acl TBLPROPERTIES(projection.enabled true,projection.region.type enum,projection.region.values cloudfront,projection.date.type date,projection.date.range 2024/07/08,NOW,projection.date.format yyyy/MM/dd,projection.date.interval 1,projection.date.interval.unit DAYS,storage.location.template s3://aws-waf-logs-xxx/AWSLogs/accountID/WAFLogs/${region}/waf-acl/${date}/)修改 中的字符为自己的资源 测试查询 SELECT COUNT(httpRequest.country) as count, httpRequest.country FROM waf_logs WHERE terminatingruletypeRATE_BASED GROUP BY httpRequest.country ORDER BY count LIMIT 100;SELECT COUNT(*) AS count,webaclid,action,httprequest.clientip,httprequest.uri FROM waf_logs WHERE terminatingruleidid GROUP BY webaclid, action, httprequest.clientip, httprequest.uri ORDER BY count DESC LIMIT 100;具体的sql 字段需要修改成自己的 可以先检索全表 查看字段 方便搜索
http://www.w-s-a.com/news/50948/

相关文章:

  • 成都海鸥手表网站安阳网站建设策划
  • 做好的网站怎么发布做网站应该做哪方面的
  • 可以找厂家的网站品牌创意型网站开发
  • 有没有做牛羊角的网站电商网站报价
  • 网站建设行业咨讯文章网站兼容模式怎么设置
  • 商务网站建设概念东莞做网站的公司吗
  • 高稳定性的网站设计制作wordpress 检测插件
  • 无锡网站制作排名自适应网站建设推荐
  • 度娘网站桃花怎么做网站制作 p
  • 小欢喜林磊儿什么网站做家教搜索优化公司
  • 龙岗做网站哪里找网站建设简介是什么意思
  • 做网站的标准北京西站出站口
  • asp.net新建网站市场营销管理是做什么的
  • 南昌网站建设模板服务商建设什么网站挣钱
  • 网站建设实训记录企业网站建设运营
  • 视频网站文案住房和城乡建设部门
  • 汕头网站排名推广新余门户网站开发
  • 湖南智能网站建设哪家好wordpressμ
  • 公司网站备案必须是企业信息么睢宁县凌城做网站的
  • 上海网站建设公司 珍岛宁波免费自助建站模板
  • 南昌知名的网站建设公司南京网站开发选南京乐识赞
  • 外贸网站建设 深圳seo怎么提升关键词的排名
  • 网站推广效果的评价google关键词
  • 模板网站建站哪家好做微信充值网站
  • 抽奖的网站怎么做的广州小程序定制开发
  • 网站的文件夹建设企业网站公积金
  • 做网站的的价位网站建设 考试题目
  • 深圳比邻网站建设北京优化服务
  • 菏泽网站建设哪家好电子商务网络安全
  • 仿一个网站广州网站建设正规公司