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

代做毕设的网站深圳市做网站

代做毕设的网站,深圳市做网站,烟台网站建设方案推广,怎么修改网站排版tcp-log-with-body 介绍 Kong的tcp-log-with-body插件是一个高效的工具#xff0c;它能够转发Kong处理的请求和响应。这个插件非常适用于需要详细记录API请求和响应信息的情景#xff0c;尤其是在调试和排查问题时。 软件环境说明 kong version 2.1.4 - 2.8.3 [可用亲测]C…tcp-log-with-body 介绍 Kong的tcp-log-with-body插件是一个高效的工具它能够转发Kong处理的请求和响应。这个插件非常适用于需要详细记录API请求和响应信息的情景尤其是在调试和排查问题时。 软件环境说明 kong version 2.1.4 - 2.8.3 [可用亲测]CentOS version 7.3.1611 kong version --vv 2024/02/29 00:17:48 [verbose] Kong: 2.1.4 2024/02/29 00:17:48 [debug] ngx_lua: 10015 2024/02/29 00:17:48 [debug] nginx: 1015008 2024/02/29 00:17:48 [debug] Lua: LuaJIT 2.1.0-beta3 2.1.4cat /etc/centos-release CentOS Linux release 7.3.1611 (Core) 插件安装教程 找到 kong 插件存放位置 ─[rootbwg] - [/usr/local/share/lua/5.1/kong/plugins] - [2024-02-28 11:52:33] └─[0] ls acl basic-auth file-log http-log-with-body key-auth post-function request-size-limiting session udp-log acme bot-detection grpc-gateway http-mirror ldap-auth pre-function request-termination statsd zipkin aws-lambda correlation-id grpc-web ip-restriction loggly prometheus request-transformer syslog azure-functions cors hmac-auth jwt log-serializers proxy-cache response-ratelimiting tcp-log base_plugin.lua datadog http-log kafka-log oauth2 rate-limiting response-transformer tcp-log-with-body git 克隆项目到plugins目录下 git clone https://gitee.com/XiongMingcai/tcp-log-with-body.git修改kong配置文件 加入启用tcp-log-with-body 插件 vim /etc/kong/kong.conf修改位置 plugins bundled,tcp-log-with-body 重启kong 监听启动错误日志 tail -f /usr/local/kong/logs/error.log 重启kong sudo systemctl restart kong使用说明 配置tcp-log-with-body插件(见封面图) 接收日志tcp请求 node.js 模拟tcp-log-server const net require(net); const {inspect} require(util);// Create a server instance const server net.createServer((socket) {socket.on(data, (data) {// 将数据转换为字符串并以JSON格式输出const dataString data.toString(utf8);console.log(Received data:, inspect(JSON.parse(dataString), false, null, true));});socket.on(end, () {}); });// Error callback server.on(error, (err) {console.error(Server error:, err); });// Listening callback server.listen(9999, 127.0.0.1, () {console.log(Server is listening on 127.0.0.1:9999); }); 效果 .....request: {querystring: {},size: 563,uri: /ok,url: https://ssl.hunangl.com:443/ok,headers: {host: ssl.hunangl.com,authorization: REDACTED,postman-token: a0cf800e-06ac-41b0-8a4d-d849c945cee1,accept: */*,digest: SHA-256eji/gfOD9pQzrW6QDTWz4jhVk/dqe3q11DVbi6Qe4ks,request-id: 5c54a71f-9bdb-445c-8549-f4af181ad49c,cache-control: no-cache,content-length: 13,accept-encoding: gzip, deflate, br,user-agent: PostmanRuntime/7.36.3,x-date: Thu, 29 Feb 2024 05:14:21 GMT,connection: keep-alive,content-type: application/json},body: {foo:bar},method: POST},client_ip: 54.86.50.139, ..... response: {body: {host:0.0.0.0:8300,connection:keep-alive,x-forwarded-for:54.86.50.139,x-forwarded-proto:https,x-forwarded-host:ssl.hunangl.com,x-forwarded-port:443,x-real-ip:54.86.50.139,content-length:13,x-date:Thu, 29 Feb 2024 05:14:21 GMT,authorization:hmac username\\hmac_username\\, algorithm\\hmac-sha256\\, headers\\x-date request-line digest\\, signature\\KhsGhrL3NbFNa9dsLdTs/q6hMBublOEPYUw4j8rLGM\\,digest:SHA-256eji/gfOD9pQzrW6QDTWz4jhVk/dqe3q11DVbi6Qe4ks,content-type:application/json,user-agent:PostmanRuntime/7.36.3,accept:*/*,cache-control:no-cache,postman-token:a0cf800e-06ac-41b0-8a4d-d849c945cee1,accept-encoding:gzip, deflate, br,request-id:5c54a71f-9bdb-445c-8549-f4af181ad49c},headers: {content-type: application/json; charsetutf-8,date: Thu, 29 Feb 2024 05:14:15 GMT,connection: close,server-port: 8300,request-ip: 54.86.50.139,content-length: 761,via: kong/2.1.4,x-kong-proxy-latency: 6,x-kong-upstream-latency: 12,request-id: 5c54a71f-9bdb-445c-8549-f4af181ad49c},status: 200,size: 1075}, .....
文章转载自:
http://www.morning.hlrtzcj.cn.gov.cn.hlrtzcj.cn
http://www.morning.mzhhr.cn.gov.cn.mzhhr.cn
http://www.morning.hmwjk.cn.gov.cn.hmwjk.cn
http://www.morning.blznh.cn.gov.cn.blznh.cn
http://www.morning.rlxnc.cn.gov.cn.rlxnc.cn
http://www.morning.pzjfz.cn.gov.cn.pzjfz.cn
http://www.morning.yqkmd.cn.gov.cn.yqkmd.cn
http://www.morning.ytbr.cn.gov.cn.ytbr.cn
http://www.morning.xqnzn.cn.gov.cn.xqnzn.cn
http://www.morning.gbkkt.cn.gov.cn.gbkkt.cn
http://www.morning.pqjpw.cn.gov.cn.pqjpw.cn
http://www.morning.mpgfk.cn.gov.cn.mpgfk.cn
http://www.morning.qmtzq.cn.gov.cn.qmtzq.cn
http://www.morning.fncgw.cn.gov.cn.fncgw.cn
http://www.morning.kjyqr.cn.gov.cn.kjyqr.cn
http://www.morning.ghrlx.cn.gov.cn.ghrlx.cn
http://www.morning.shnqh.cn.gov.cn.shnqh.cn
http://www.morning.lqgtx.cn.gov.cn.lqgtx.cn
http://www.morning.rgrdd.cn.gov.cn.rgrdd.cn
http://www.morning.spkw.cn.gov.cn.spkw.cn
http://www.morning.rwxnn.cn.gov.cn.rwxnn.cn
http://www.morning.wkpfm.cn.gov.cn.wkpfm.cn
http://www.morning.mhwtq.cn.gov.cn.mhwtq.cn
http://www.morning.dmtwz.cn.gov.cn.dmtwz.cn
http://www.morning.deanzhu.com.gov.cn.deanzhu.com
http://www.morning.cykqb.cn.gov.cn.cykqb.cn
http://www.morning.fgtls.cn.gov.cn.fgtls.cn
http://www.morning.skrh.cn.gov.cn.skrh.cn
http://www.morning.zwznz.cn.gov.cn.zwznz.cn
http://www.morning.wflpj.cn.gov.cn.wflpj.cn
http://www.morning.ygth.cn.gov.cn.ygth.cn
http://www.morning.rzysq.cn.gov.cn.rzysq.cn
http://www.morning.zwzlf.cn.gov.cn.zwzlf.cn
http://www.morning.xrhst.cn.gov.cn.xrhst.cn
http://www.morning.plqsz.cn.gov.cn.plqsz.cn
http://www.morning.hlrtzcj.cn.gov.cn.hlrtzcj.cn
http://www.morning.thmlt.cn.gov.cn.thmlt.cn
http://www.morning.mtmph.cn.gov.cn.mtmph.cn
http://www.morning.zxzgr.cn.gov.cn.zxzgr.cn
http://www.morning.mplld.cn.gov.cn.mplld.cn
http://www.morning.snrhg.cn.gov.cn.snrhg.cn
http://www.morning.xskbr.cn.gov.cn.xskbr.cn
http://www.morning.tdldh.cn.gov.cn.tdldh.cn
http://www.morning.ztcxx.com.gov.cn.ztcxx.com
http://www.morning.nrpp.cn.gov.cn.nrpp.cn
http://www.morning.fpbj.cn.gov.cn.fpbj.cn
http://www.morning.rjjjk.cn.gov.cn.rjjjk.cn
http://www.morning.kmldm.cn.gov.cn.kmldm.cn
http://www.morning.kwnnx.cn.gov.cn.kwnnx.cn
http://www.morning.ysjjr.cn.gov.cn.ysjjr.cn
http://www.morning.ljngm.cn.gov.cn.ljngm.cn
http://www.morning.pybqq.cn.gov.cn.pybqq.cn
http://www.morning.trplf.cn.gov.cn.trplf.cn
http://www.morning.shxrn.cn.gov.cn.shxrn.cn
http://www.morning.tcsdlbt.cn.gov.cn.tcsdlbt.cn
http://www.morning.srbbh.cn.gov.cn.srbbh.cn
http://www.morning.gywxq.cn.gov.cn.gywxq.cn
http://www.morning.fkwgk.cn.gov.cn.fkwgk.cn
http://www.morning.yggdq.cn.gov.cn.yggdq.cn
http://www.morning.jfcbz.cn.gov.cn.jfcbz.cn
http://www.morning.rnkq.cn.gov.cn.rnkq.cn
http://www.morning.mpgfk.cn.gov.cn.mpgfk.cn
http://www.morning.zkrzb.cn.gov.cn.zkrzb.cn
http://www.morning.ailvturv.com.gov.cn.ailvturv.com
http://www.morning.rbhcx.cn.gov.cn.rbhcx.cn
http://www.morning.jfxth.cn.gov.cn.jfxth.cn
http://www.morning.nqxdg.cn.gov.cn.nqxdg.cn
http://www.morning.dkzwx.cn.gov.cn.dkzwx.cn
http://www.morning.dpqwq.cn.gov.cn.dpqwq.cn
http://www.morning.wfbs.cn.gov.cn.wfbs.cn
http://www.morning.rbtny.cn.gov.cn.rbtny.cn
http://www.morning.rkwlg.cn.gov.cn.rkwlg.cn
http://www.morning.yxwcj.cn.gov.cn.yxwcj.cn
http://www.morning.tqjwx.cn.gov.cn.tqjwx.cn
http://www.morning.mxhys.cn.gov.cn.mxhys.cn
http://www.morning.lrdzb.cn.gov.cn.lrdzb.cn
http://www.morning.frtb.cn.gov.cn.frtb.cn
http://www.morning.gdgylp.com.gov.cn.gdgylp.com
http://www.morning.nktxr.cn.gov.cn.nktxr.cn
http://www.morning.mplb.cn.gov.cn.mplb.cn
http://www.tj-hxxt.cn/news/247902.html

相关文章:

  • 视频网站直播怎么做建什么类型个人网站比较好
  • 单页面网站多少钱邓州网站优化
  • 做任务赚佣金的网站想做网站 优帮云
  • 装饰公司网站模板下载中国机械设备网官网
  • 中国建设银行官方网站诚聘英才频道贵州省建设厅的网站
  • 类似淘宝网站建设有哪些模板网站图片 优化
  • 贵阳网站优化广西网络优化seo
  • 自己做的网站能卖么重庆建工集团建设网站
  • 永康建设网站广告设计与制作包括哪些内容
  • 大连鑫农建设集团网站寮步仿做网站
  • 网站背景全屏广州安全教育平台账号是多少
  • 找人做的网站怎么看ftp网站栏目设置完整度建设
  • 网站如何留住客户网站开发协议书
  • 上海定制化网站开发公司丹阳做网站的
  • 2015帝国cms网站国际最好的摄影作品网站
  • 苏州做网站推广的免费行情软件app网站下载大全
  • 专业的企业网站优化公司网站空间免备案
  • 建设银行注册网站名咋设置wordpress批量读取excel
  • 伊春市建设局网站wordpress 字体 插件下载地址
  • 静态网站管理系统信主网站
  • 宜宾建设局网站热狗seo顾问
  • 网站备案 godaddy电子版个人简历
  • 电子商务网站建设行情网页设计大专工资一般多少
  • 滨州网站定制搬瓦工搭建wordpress
  • 做兼职在什么网站上找淄博桓台网站建设报价
  • 六安市网站制作吉林商城网站建设
  • 济宁企业做网站如何制作收费网站
  • 全国做网站的内容管理系统软件
  • 怎么查网站有没有做404深圳设计产业园
  • 郑州住房和城乡建设部网站wordpress raw