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

如何做网站导航栏国内wordpress云免备案

如何做网站导航栏,国内wordpress云免备案,宝塔搭建wordpress的基本设置,公众号制作要求【elasticsearch】慢查询替代查询审计的尝试 使用了es有两年了#xff0c;突然发现一个#xff0c;es没有查询审计日志#xff0c;某个用户查询了某个索引的审计。 找了官方文档和社区的回复都是说使用slow log替代慢查询。 尝试一下。 参考链接1#xff1a;https://discus…【elasticsearch】慢查询替代查询审计的尝试 使用了es有两年了突然发现一个es没有查询审计日志某个用户查询了某个索引的审计。 找了官方文档和社区的回复都是说使用slow log替代慢查询。 尝试一下。 参考链接1https://discuss.elastic.co/t/does-elasticsearch-capture-audit-logs-for-query-dsl-eql-and-sql-or-not/339398/8 参考链接2https://www.elastic.co/guide/en/elasticsearch/reference/7.17/auditing-search-queries.html 前置条件 elasticsearch 7.17.13 操作系统linux7.9 es加密配置只有加密后才可以使用slow log xpack.security.enabled: true xpack.security.transport.ssl.enabled: true xpack.security.transport.ssl.verification_mode: certificate xpack.security.transport.ssl.keystore.path: certs/elastic-certificates.p12 xpack.security.transport.ssl.truststore.path: certs/elastic-certificates.p12普通查询 curl -u elastic:AAA320 localhost:9200/sq-20240506/_search普通插入 curl -u elastic:AAA320 -H Content-Type: application/json -X POST localhost:9200/sq-20240506/_doc/1 -d { firstname: Krishna, lastname: kumar }上述查询和插入没有任何slow log信息。 设置慢查询 这里设置trace的慢查询为0ms会捕获所有查询。 curl -u elastic:AAA320 -H Content-Type: application/json -XPUT http://localhost:9200/_all/_settings?preserve_existingtrue -d {index.search.slowlog.threshold.fetch.debug : 500ms,index.search.slowlog.threshold.fetch.info : 800ms,index.search.slowlog.threshold.fetch.trace : 0ms,index.search.slowlog.threshold.fetch.warn : 1s,index.search.slowlog.threshold.query.debug : 2s,index.search.slowlog.threshold.query.info : 5s,index.search.slowlog.threshold.query.trace : 0ms,index.search.slowlog.threshold.query.warn : 10s }查看日志 慢查询日志存放再es的日志文件夹中elasticsearch_index_search_slowlog.log,这里可以看到TRACE级别的日志可以看到分query和fetch两种有节点信息、索引信息、分片以及耗时但是我还是觉得这里缺少了查询用户查询来源信息目前还是无法满足我的实际排查需求。 ] tailf elasticsearch_index_search_slowlog.log [2024-05-06T16:33:29,528][TRACE][i.s.s.query ] [node-1] [sq-20240506][0] took[179.4micros], took_millis[0], total_hits[1 hits], types[], stats[], search_type[QUERY_THEN_FETCH], total_shards[1], source[{}], id[], [2024-05-06T16:33:29,529][TRACE][i.s.s.fetch ] [node-1] [sq-20240506][0] took[3.3ms], took_millis[3], total_hits[1 hits], types[], stats[], search_type[QUERY_THEN_FETCH], total_shards[1], source[{}], id[],取消慢查询 curl -u elastic:AAA320 -H Content-Type: application/json -XPUT http://localhost:9200/_all/_settings -d {index.search.slowlog.threshold.fetch.debug: null,index.search.slowlog.threshold.fetch.info: null,index.search.slowlog.threshold.fetch.trace: null,index.search.slowlog.threshold.fetch.warn: null,index.search.slowlog.threshold.query.debug: null,index.search.slowlog.threshold.query.info: null,index.search.slowlog.threshold.query.trace: null,index.search.slowlog.threshold.query.warn: null }
http://www.dnsts.com.cn/news/65194.html

相关文章:

  • 厦门网站建设680柳州建网站
  • 自己做网站百度会收录天津品牌网站建设哪个好
  • 网站站点多少钱视频软件下载app
  • 企业网站建设销售前景怎样做网站的源代码
  • 怎么做qq代刷网站百度给公司做网站效果咋样
  • php网站开发过程开网店被运营公司骗了怎么办
  • 潜山做网站网上做任务佣金高的网站
  • 网站后台模板关联自己做的网站项目网络图关键路径
  • 一站式媒体发布平台seo最新快速排名
  • 陕西省住房建设厅官方网站青海省建设网站价格低
  • 模版网站如何建站WordPress会员密码查看
  • 网站服务器免费吗响应式网站做优化好吗
  • 科普网站栏目建设方案搭建平台的另一种说法
  • 有设计师做的装修效果图的网站网站内容页面怎么做
  • 网站建设开发费会计分录企业后缀邮箱申请
  • 外贸网站论文2021年年度关键词排名
  • 长宁区网站建设开发上海公布最新情况
  • 免费网站论坛wordpress主题应用
  • 可以自己做网站赚钱吗江苏国家企业信息系统
  • 手机怎么注册网站济南市莱芜区招聘信息
  • 张家港个人网站制作建设一个打鱼游戏网站
  • 为什么营销型网站比普通网站建站贵企业应该如何建设网站
  • 青岛网站建设推广公司哪家好wordpress后台界面样式
  • mvc4 做网站做网站制作需要多少钱
  • 网页模板素材下载网站更换域名 seo
  • 湛江市住房和城乡建设网站做后期的网站
  • 网站数据分析工具wordpress萨隆破解版
  • 门户网站建设与管理自己做动漫 哪个网站赚钱
  • 中国建设银行网站 个人客户西安网站建设服务
  • 记事本做网站背景平面设计公司经营范围