regex - 使用正则表达式模式的 subString 日志
问题描述
我需要使用没有脚本的正则表达式模式从这个 log4j2 日志中获取黑色部分,我不知道如何感谢
order-preferredaction, authenticationresponse, Access-Control-Max-Age, BCS-Device-Id, BCS-Device-OS-Name, BCS-Device-Model-Name, BCS-Device-Model-Manufacturer, BCS-Device-Screen-大小、BCS-Device-OS-Version、BCS-Device-DPI、BCS-Device-App-Name、BCS-Device-App-Version、Third-Party-Application-Id、ECS-Signature-Platform-Use-Case、 BCS-Process-Code, BCS-Operation-Tracer, BCS-Process-Tracer, order-preferredaction, order-id, order-accepteddisclaimers", X-XSS-Protection:"1; mode=block", Pragma:"no-cache", Referrer-Policy:"same-origin", Content-Security-Policy:"script-src 'self'", Date:"Thu, 15 Jul 2021 06:47: 59 GMT",连接:"keep-alive",严格传输安全:"max-age=31536000;includeSubDomains",传输编码:"chunked",访问控制允许方法:tsec:“eJxtlNmKq1gARX/lUq+hSo0zVBXE2Tgbx7w0Rz0O0TjH6eu7Grov96FfN”,访问控制允许来源:“*”,消费者请求ID:“c580c0cd-4589-4156”,X-Content-Type-Options:“nosniff”,Content-Type:“应用程序/json; charset=UTF-8"]>'
解决方案
推荐阅读
- angularjs - 使用 OAuth 的 Angularjs 安全性
- c# - 从具有六边形架构(端口和适配器)的多个数据源加载对象
- regex - 用破折号分隔的可变数量的字母数字字符简化正则表达式
- haskell - keter 上的 Yesod 应用程序具有对 DB 的只读访问权限
- amazon-web-services - 允许用户启用存储桶以进行静态网站托管的 s3 权限是什么?
- kubernetes - 如何让一个 Kubernetes 服务与其他 Kubernetes 服务通信?
- python - 加载模型时的预测速度比在过程中拟合时的速度慢
- javascript - 在 JavaScript 中过滤对象中的数据
- jquery - 在后端使用后无法从前端访问asp按钮
- python - python中具有相同值的不同键