@blueking/monitor-apm-log 2.3.14 → 2.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/css/main.css CHANGED
@@ -43,7 +43,7 @@ ul.search-items{display:inline-flex;flex-wrap:wrap;width:100%;max-height:135px;p
43
43
  .bklog-edit-input-wrapper{position:relative;display:inline-block}.bklog-edit-input-wrapper .edit-input-item{height:22px;background:#fff;border:1px solid #d7e3f0;border-radius:4px;font-size:12px;color:#4d4f56;line-height:14px;display:inline-flex;align-items:center;padding:0 6px 0 8px;gap:4px;box-sizing:border-box;cursor:default;resize:var(--resize)}.bklog-edit-input-wrapper .edit-input-item:hover{border-color:#c4c6cc}.bklog-edit-input-wrapper .edit-input-item.is-edit-mode{opacity:.5}.bklog-edit-input-wrapper .edit-input-item .edit-input-text{color:#4d4f56;white-space:nowrap;line-height:14px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.bklog-edit-input-wrapper .edit-input-item .bklog-icon{cursor:pointer;font-size:12px;color:#979ba5;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:12px;height:12px}.bklog-edit-input-wrapper .edit-input-item .bklog-icon:hover{color:#313238}.bklog-edit-input-wrapper .edit-input-edit-container{position:fixed;z-index:9999;background:#fff;border:1px solid #3a84ff;border-radius:4px;box-shadow:0 4px 12px rgba(58,132,255,.2),0 2px 4px rgba(0,0,0,.1);padding:4px 6px;box-sizing:border-box;min-width:120px;min-height:30px;transition:box-shadow .2s ease;overflow:hidden}.bklog-edit-input-wrapper .edit-input-edit-container:focus-within{box-shadow:0 4px 16px rgba(58,132,255,.3),0 2px 8px rgba(0,0,0,.15);border-color:#2d73ff}.bklog-edit-input-wrapper .edit-input-edit-container .edit-input-textarea{width:100%;min-height:22px;padding:2px 4px;margin:0;border:none;outline:none;font-size:12px;color:#4d4f56;line-height:18px;resize:none;background:rgba(0,0,0,0);box-sizing:border-box;font-family:inherit;overflow-y:auto;overflow-x:auto;word-wrap:break-word;white-space:pre-wrap}.bklog-edit-input-wrapper .edit-input-edit-container .edit-input-textarea::placeholder{color:#c4c6cc}.bklog-edit-input-wrapper .edit-input-edit-container .edit-input-textarea:focus{outline:none}
44
44
  .v3-ai-mode-root .v3-ai-mode-container{position:relative;padding:2px;background:linear-gradient(-36deg, #8c6ef2, #70a1ff, #8f91ff, #ff8ff1);padding-right:48px;box-shadow:0 2px 10px 0 rgba(0,0,0,.0392156863);border-radius:4px;overflow:hidden}.v3-ai-mode-root .v3-ai-mode-container .ai-mode-inner{width:100%;height:100%;padding:6px 0 6px 16px;border-top-left-radius:3px;border-bottom-left-radius:3px;box-sizing:border-box;display:flex;flex-direction:column;background-image:linear-gradient(91deg, #FFFFFF 0%, #FAF9FF 25%, #F8F6FF 40%, #F7FCFF 50%, #F8F6FF 60%, #FAF9FF 75%, #FFFFFF 100%)}.v3-ai-mode-root .v3-ai-mode-container .ai-input-wrapper{display:flex;align-items:center;gap:8px;width:100%;min-height:24px}.v3-ai-mode-root .v3-ai-mode-container .ai-input-wrapper .bklog-qingkong{cursor:pointer}.v3-ai-mode-root .v3-ai-mode-container .ai-input-container{flex:1;display:inline-flex;align-items:flex-start;min-height:24px;position:relative;flex-wrap:wrap}.v3-ai-mode-root .v3-ai-mode-container .ai-input-container textarea{font-family:Menlo,Monaco,Consolas,Courier,"PingFang SC","Microsoft Yahei",monospace}.v3-ai-mode-root .v3-ai-mode-container .ai-input{flex:1;min-width:120px;min-height:24px;max-height:200px;padding:0;font-size:12px;line-height:24px;color:#313238;background:rgba(0,0,0,0);border:none;outline:none;resize:none;overflow-y:auto;white-space:pre-wrap;word-break:break-word;display:inline-block;vertical-align:top;width:100%}.v3-ai-mode-root .v3-ai-mode-container .ai-input::placeholder{color:#c4c6cc}.v3-ai-mode-root .v3-ai-mode-container .ai-mode-toggle-btn{cursor:pointer;display:flex;align-items:center;gap:4px;padding:4px 12px;background:#f8f6ff;border-radius:16px;font-size:12px;color:#63656e;white-space:nowrap;flex-shrink:0;height:32px;background-image:linear-gradient(-79deg, #DFD5FF 0%, #C3D1F8 100%);margin-right:8px}.v3-ai-mode-root .v3-ai-mode-container .ai-mode-toggle-btn img{flex-shrink:0}.v3-ai-mode-root .v3-ai-mode-container .ai-mode-toggle-btn .ai-mode-text{font-size:12px;line-height:1}.v3-ai-mode-root .v3-ai-mode-container .ai-execute-btn{width:48px;background:#5e66ff;border-radius:0 4px 4px 0;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;position:absolute;right:0;top:0;bottom:0}.v3-ai-mode-root .v3-ai-mode-container .ai-execute-btn:hover{background:#4d55e6}.v3-ai-mode-root .v3-ai-mode-container .ai-execute-btn:active{background:#3d45cc}.v3-ai-mode-root .v3-ai-mode-container .ai-execute-btn i{font-size:18px;color:#fff}.v3-ai-mode-root .v3-ai-mode-container .ai-loading-info{gap:8px;font-size:12px;color:#979ba5;position:absolute;left:0;right:0;bottom:0;top:0;background-color:hsla(0,0%,100%,.5)}.v3-ai-mode-root .v3-ai-mode-container .ai-loading-info .ai-loading-text{background-image:linear-gradient(118deg, #235DFA 0%, #E28BED 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:rgba(0,0,0,0);color:rgba(0,0,0,0);left:50%;top:50%;transform:translate(-50%, -50%);position:absolute;font-size:12px;min-width:64px;height:14px}.v3-ai-mode-root .v3-ai-mode-container .ai-progress-bar{position:absolute;bottom:1px;left:1px;right:1px;height:4px;background-image:linear-gradient(90deg, #FFFFFF 0%, #DEB2F3 63%, #7C90E1 100%);border-radius:0 0 3px 3px;animation:ai-progress-animation 2s linear infinite;z-index:1}@keyframes ai-progress-animation{0%{width:0%}100%{width:100%}}.v3-ai-mode-root .query-list{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:8px}.v3-ai-mode-root .query-list .query-list-item{height:22px;background:#fff;border:1px solid #d7e3f0;border-radius:4px;font-size:12px;color:#313238;line-height:14px;display:inline-flex;align-items:center;padding:0 6px 0 8px;gap:4px;box-sizing:border-box}.v3-ai-mode-root .query-list .query-list-item .query-list-item-text{white-space:nowrap;line-height:14px}.v3-ai-mode-root .query-list .query-list-item .bklog-icon{cursor:pointer;font-size:12px;color:#979ba5;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:12px;height:12px}.v3-ai-mode-root .query-list .query-list-item .bklog-icon:hover{color:#313238}.v3-ai-mode-root .query-list .query-list-clear-all{cursor:pointer;font-size:12px;color:#979ba5;display:flex;align-items:center;justify-content:center;width:16px;height:16px}.v3-ai-mode-root .query-list .query-list-clear-all:hover{color:#313238}.ai-parsed-text-content{line-height:20px;padding:8px 12px;min-width:600px;display:flex;justify-content:space-between}.ai-parsed-text-content span:last-child{color:#3a84ff;cursor:pointer;padding-left:24px}.ai-parsed-text-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:#dce5fc;border-radius:50%;cursor:pointer;color:#898eff;font-size:14px}.ai-parsed-text-icon:hover{background:#c7d4f8}
45
45
  .v3-search-bar-root{position:sticky;top:0;z-index:4;margin:0 8px;box-shadow:0 2px 4px 0 rgba(25,25,41,0.0784313725)}.v3-search-bar-root.is-sticky-top{margin:0}.v3-search-bar-root.is-sticky-top .v3-ai-mode-root{margin:0 8px 8px 8px;background-color:#fff}.v3-search-bar-root.is-ai-mode{box-shadow:none}.v3-search-bar-root .bklog-ai-edit-btn{display:flex;gap:4px;align-items:center;width:max-content;padding:6px 12px;margin-right:8px;font-size:12px;color:#313238;cursor:pointer;background:#f0f1f5;border-radius:16px}.v3-search-bar-root .bklog-ai-edit-btn:hover{background-image:linear-gradient(-79deg, #e7e1fa 0%, #e0e9ff 100%)}.fix-search-bar{width:calc(100vw - var(--left-collection-width) - 20px)}.fix-search-bar.is-monitor-apm,.fix-search-bar.is-monitor-trace{right:0;left:0;width:auto}
46
- .no-index-set-container[data-v-8c9135ae]{width:100%;height:calc(100% - 142px);margin-top:142px;text-align:center}.no-index-set-container .icon-index-set[data-v-8c9135ae]{margin-bottom:25px;font-size:52px;color:#d4d6dd}.no-index-set-container .main-tip[data-v-8c9135ae]{margin-bottom:30px;font-size:18px;color:#313238}.no-index-set-container .index-manage-container[data-v-8c9135ae]{display:flex;align-items:center;justify-content:space-between;width:732px;margin:80px auto 0}.no-index-set-container .index-manage-container .index-manage[data-v-8c9135ae]{display:flex;flex-flow:column;align-items:center;width:346px;height:200px;background:#fff;border-radius:2px}.no-index-set-container .index-manage-container .index-manage .index-manage-tips[data-v-8c9135ae]{height:88px;margin:40px 0 0;font-size:14px;font-weight:600;line-height:24px;color:#63656e}.no-index-set-container .index-manage-container .index-manage .index-manage-tips p[data-v-8c9135ae]:last-child{font-weight:normal;color:#979ba5}.no-index-set-container .index-manage-container .index-manage .king-button[data-v-8c9135ae]{border-radius:16px}.no-index-set-container .side-tip[data-v-8c9135ae]{margin-bottom:30px;font-size:14px;color:#979ba5}
46
+ .no-index-set-container[data-v-76cff062]{width:100%;height:calc(100% - 142px);margin-top:142px;text-align:center}.no-index-set-container .icon-index-set[data-v-76cff062]{margin-bottom:25px;font-size:52px;color:#d4d6dd}.no-index-set-container .main-tip[data-v-76cff062]{margin-bottom:30px;font-size:18px;color:#313238}.no-index-set-container .index-manage-container[data-v-76cff062]{display:flex;align-items:center;justify-content:space-between;width:732px;margin:80px auto 0}.no-index-set-container .index-manage-container .index-manage[data-v-76cff062]{display:flex;flex-flow:column;align-items:center;width:346px;height:200px;background:#fff;border-radius:2px}.no-index-set-container .index-manage-container .index-manage .index-manage-tips[data-v-76cff062]{height:88px;margin:40px 0 0;font-size:14px;font-weight:600;line-height:24px;color:#63656e}.no-index-set-container .index-manage-container .index-manage .index-manage-tips p[data-v-76cff062]:last-child{font-weight:normal;color:#979ba5}.no-index-set-container .index-manage-container .index-manage .king-button[data-v-76cff062]{border-radius:16px}.no-index-set-container .side-tip[data-v-76cff062]{margin-bottom:30px;font-size:14px;color:#979ba5}
47
47
  .bklog-v3-grade-setting{width:800px;padding:16px 0 0 0;background:#fff;border:1px solid #dcdee5;border-radius:2px;box-shadow:0 2px 6px 0 rgba(0,0,0,.1019607843)}.bklog-v3-grade-setting .grade-title{height:24px;padding:0 24px;font-size:16px;line-height:24px;color:#313238}.bklog-v3-grade-setting .grade-row{display:flex;align-items:flex-start;padding:0 24px;margin-top:16px}.bklog-v3-grade-setting .grade-row.grade-switcher{align-items:center}.bklog-v3-grade-setting .grade-row .grade-label{display:flex;align-items:center;height:32px;padding-right:8px;margin-right:8px;font-size:12px;line-height:20px;color:#4d4f56;text-align:left;white-space:nowrap}.bklog-v3-grade-setting .grade-row .grade-label.required{position:relative}.bklog-v3-grade-setting .grade-row .grade-label.required::after{position:absolute;top:8px;right:0px;color:#ea3636;content:"*"}.bklog-v3-grade-setting .grade-row .grade-field-setting{display:flex}.bklog-v3-grade-setting .grade-row .grade-field-des{display:flex;align-items:center;font-size:12px;color:#979ba5;line-height:20px}.bklog-v3-grade-setting .grade-row .grade-field-des .bklog-icon{margin:0 4px}.bklog-v3-grade-setting .grade-row .grade-table{border-left:1px solid #dcdee5}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-header{display:flex}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-header .grade-table-col{border-top:1px solid #dcdee5;background:#f0f1f5}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-header .grade-table-col.col-color{display:flex;align-items:center;justify-content:center}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-col{display:flex;align-items:center;height:42px;padding:8px;border-right:1px solid #dcdee5;border-bottom:1px solid #dcdee5;font-size:12px}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-col.col-color{display:flex;align-items:center;justify-content:center}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-row{display:flex}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-row .grade-table-option{display:flex;align-items:center}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-row .grade-table-option span{width:14px;height:14px;margin-left:10px;display:inline-block;position:relative;color:#979ba5;cursor:pointer}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-row.readonly{background:#fafbfd}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-row.readonly .grade-table-col{color:#979ba5;cursor:not-allowed}.bklog-v3-grade-setting .grade-row.grade-footer{display:flex;justify-content:flex-end;height:48px;padding:8px 24px;background:#fafbfd;box-shadow:0 -1px 0 0 #dcdee5}.bklog-v3-grade-setting .grade-row.grade-footer button{width:64px;height:32px}.bklog-v3-grade-setting .bklog-v3-grade-color-select{border:none}.bklog-v3-grade-setting .bklog-v3-grade-color-select .bk-select-name{visibility:hidden}.bklog-v3-grade-setting .bklog-v3-grade-color-list .bk-options-wrapper .bk-options.bk-options-single .bk-option .bk-option-content{padding:2px}
48
48
  .bklog-v2-echarts-container{position:relative;overflow:hidden;background-color:#fff;padding-left:15px}.bklog-v2-echarts-container.is-fold{height:36px}.bklog-v2-echarts-container .title-wrapper{position:relative;flex:1;z-index:3;display:flex;align-items:center;height:36px;width:100% !important}.bklog-v2-echarts-container .title-wrapper .converge-cycle{display:flex;align-items:center;margin-left:14px;font-size:12px;font-weight:normal;color:#4d4f56}.bklog-v2-echarts-container .title-wrapper .converge-cycle .chart-back-btn{display:inline-flex;align-items:center;margin-right:6px;cursor:pointer;color:#3a84ff}.bklog-v2-echarts-container .title-wrapper .converge-cycle .select-custom{display:inline-block;padding-left:5px;color:#313238;vertical-align:middle;border:none}.bklog-v2-echarts-container .title-wrapper .converge-cycle .select-custom .bk-select-name{width:60px;padding-right:20px;padding-left:0px;text-align:center}.bklog-v2-echarts-container .title-wrapper .converge-cycle .bklog-icon{padding:1px;font-size:14px;cursor:pointer}.bklog-v2-echarts-container .title-wrapper .chart-title{width:100%;padding:0 4px;margin-left:-10px;font-size:12px;color:#4d4f56;border-radius:2px}.bklog-v2-echarts-container .title-wrapper .chart-title .title-click{display:flex;flex-wrap:nowrap;align-items:center;cursor:pointer}.bklog-v2-echarts-container .title-wrapper .chart-title .main-title{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;height:24px}.bklog-v2-echarts-container .title-wrapper .chart-title .main-title .title-name{height:20px;overflow:hidden;font-family:MicrosoftYaHei-Bold,sans-serif;font-weight:700;line-height:20px;color:#313238;text-overflow:ellipsis;white-space:nowrap}.bklog-v2-echarts-container .title-wrapper .chart-title .main-title .time-result .total-count{color:red}.bklog-v2-echarts-container .title-wrapper .chart-title .main-title .icon-down-shape{margin-right:8px;transition:transform .3s}.bklog-v2-echarts-container .title-wrapper .chart-title .main-title .icon-down-shape.is-flip{transition:transform .3s;transform:rotate(-90deg)}.bklog-v2-echarts-container .title-wrapper .chart-title .sub-title{height:16px;overflow:hidden;line-height:16px;color:#979ba5;text-overflow:ellipsis;white-space:nowrap}.bklog-v2-echarts-container .title-wrapper .chart-spin{position:absolute;top:27px;right:36px}.bklog-v2-echarts-container .echart-wrapper{position:relative;width:100%;height:100%;color:#63656e;background-color:#fff;background-repeat:repeat;background-position:top;border-radius:2px}.bklog-v2-echarts-container .bk-loading{z-index:1}
49
49
  .empty-status-container{padding:20px 0}.empty-status-container .exception-image{height:180px;user-select:none;onselectstart:none}.empty-status-container .empty-text-content{margin-top:20px}.empty-status-container .empty-text{margin:8px 0;font-size:14px;line-height:22px;color:#63656e}.empty-status-container .operation-text{font-size:12px;line-height:20px;color:#63656e}.empty-status-container .operation-btn{color:#3a84ff;cursor:pointer}
@@ -76,7 +76,7 @@ ul.search-items{display:inline-flex;flex-wrap:wrap;width:100%;max-height:135px;p
76
76
  .common-header-main{display:flex;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:52px;background:#fff;box-shadow:0 3px 4px 0 rgba(0,0,0,.0392156863)}.common-header-main .dialog-title{margin:0 16px;font-size:20px;line-height:20px;color:#313238}.common-header-main .subtitle-list-main{flex:1;display:flex;align-items:center;font-size:12px}.common-header-main .subtitle-list-main .subtitle-main{display:flex;align-items:center;margin-right:8px;position:relative}.common-header-main .subtitle-list-main .subtitle-main::before{content:"";width:1px;height:12px;background:#dcdee5;margin-right:8px}.common-header-main .subtitle-list-main .subtitle-main .title{color:#979ba5}.common-header-main .subtitle-list-main .subtitle-main .content{max-width:250px;color:#4d4f56}
77
77
  .fields-config-tippy{width:376px}.fields-config-tippy .config-title{padding:20px 24px 0;font-size:20px;font-weight:normal;line-height:28px;color:#313238}.fields-config-tippy .field-list-container{max-height:400px;padding:10px 24px;overflow:auto;color:#63656e}.fields-config-tippy .field-list-container .field-list .list-title,.fields-config-tippy .field-list-container .field-list .list-item,.fields-config-tippy .field-list-container .field-list .operate-button{line-height:32px}.fields-config-tippy .field-list-container .field-list .list-item{position:relative;display:flex;align-items:center;padding-left:12px;margin-bottom:2px;background-color:#f5f6fa}.fields-config-tippy .field-list-container .field-list .list-item.display-item .bklog-drag-dots{width:16px;font-size:14px;color:#979ba5;text-align:left;cursor:move;transition:opacity .2s linear}.fields-config-tippy .field-list-container .field-list .list-item .operate-button{position:absolute;top:0;right:0;width:40px;text-align:center;cursor:pointer}.fields-config-tippy .field-list-container .field-list .list-item .operate-button:hover{color:#3a84ff}.fields-config-tippy .field-list-container .field-list .list-item .operate-button.disabled{color:#dcdee5;cursor:not-allowed}.fields-config-tippy .config-buttons{display:flex;align-items:center;justify-content:flex-end;height:50px;background:#fafbfd;border-top:1px solid #dcdee5}.tippy-box[data-theme~=field-config-popover] .tippy-content{padding:0 !important}
78
78
  .highlight-control-main{height:32px;display:flex;align-items:center;border:1px solid #c4c6cc;border-left:none;border-top-right-radius:2px;border-bottom-right-radius:2px}.highlight-control-main .btn-pre,.highlight-control-main .btn-next,.highlight-control-main .bk-page-count-right{display:none}.highlight-control-main .jump-input-wrapper{display:flex;align-items:center;justify-content:center;height:24px;padding-right:8px;cursor:pointer;background-color:rgba(0,0,0,0);border-radius:2px;margin-left:6px;color:#4d4f56;font-size:12px}.highlight-control-main .jump-input-wrapper:hover,.highlight-control-main .jump-input-wrapper.focus{color:#2d3542;background-color:#f0f1f5}.highlight-control-main .jump-input-wrapper .jump-input{min-width:22px;height:16px;font-size:12px;line-height:16px;text-align:center;transition:all .15s;outline:none}.highlight-control-main .jump-btns-main{display:flex;align-items:center}.highlight-control-main .jump-btns-main .jump-btn{color:#4d4f56;cursor:pointer;transition:all .2s;display:flex;justify-content:center;align-items:center;font-size:20px}.highlight-control-main .jump-btns-main .jump-btn.is-disabled{color:#c4c6cc}
79
- .filter-bar-main{width:100%}.filter-bar-main .filter-item-top{width:100%;display:flex;align-items:center;margin-bottom:8px}.filter-bar-main .filter-item-top .filter-main{flex:1;display:flex}.filter-bar-main .filter-item-top .filter-main .filter-select-main{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.filter-bar-main .filter-item-top .filter-main .filter-select-main.is-focus{margin-right:0}.filter-bar-main .filter-item-top .filter-main .filter-key-input input{border-top-left-radius:0;border-bottom-left-radius:0}.filter-bar-main .filter-item-top .highlight-main{flex:1;display:flex;margin-left:8px;font-size:12px}.filter-bar-main .filter-item-top .highlight-main .prefix-text{width:40px;height:32px;background:#fafbfd;border:1px solid #c4c6cc;border-right:none;border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;display:flex;justify-content:center;align-items:center}.filter-bar-main .filter-item-top .highlight-main .highlight-tag-input{flex:1}.filter-bar-main .filter-item-top .highlight-main .highlight-tag-input .bk-tag-input{border-radius:0}.filter-bar-main .filter-item-top .realtime-control-main{margin-left:8px;display:flex;gap:8px}.filter-bar-main .filter-item-top .realtime-control-main .control-item{width:32px;height:32px;background:#f0f1f5;border-radius:2px;display:flex;align-items:center;justify-content:center;font-size:26px;cursor:pointer}.filter-bar-main .filter-item-top .realtime-control-main .control-item:hover{background:#e1ecff}.filter-bar-main .filter-item-top .realtime-control-main .control-item.play-pause{background:#e1ecff;color:#3a84ff;font-size:18px}.filter-bar-main .filter-item-top .realtime-control-main .control-item.play-pause:hover{background:#cddffe}.filter-bar-main .filter-item-bottom{width:100%;display:flex;justify-content:space-between;align-items:center}.filter-bar-main .filter-item-bottom .operate-left{display:flex;align-items:center;font-size:12px}.filter-bar-main .filter-item-bottom .operate-left .row-control{display:flex;align-items:center}.filter-bar-main .filter-item-bottom .operate-left .row-control .row-control-input{width:48px;margin:0 4px}.filter-bar-main .filter-item-bottom .operate-left .row-control .row-control-input input{border:none;border-bottom:solid 1px #dcdee5}.filter-bar-main .filter-item-bottom .operate-right{display:flex;align-items:center;gap:8px}.filter-bar-main .filter-item-bottom .operate-right .color-tip-main{display:flex;align-items:center}.filter-bar-main .filter-item-bottom .operate-right .color-tip-main .color-item{display:flex;align-items:center;gap:4px;font-size:12px;color:#4d4f56;margin-right:24px}.filter-bar-main .filter-item-bottom .operate-right .color-tip-main .color-item .rect{width:12px;height:12px;border-radius:2px}.filter-bar-main .filter-item-bottom .operate-right .log-display-type-main{width:104px;height:32px;background:#f0f1f5;border-radius:2px;display:flex;align-items:center;padding:4px;font-size:12px;cursor:pointer}.filter-bar-main .filter-item-bottom .operate-right .log-display-type-main .type-item{width:48px;height:24px;border-radius:2px;display:flex;align-items:center;justify-content:center}.filter-bar-main .filter-item-bottom .operate-right .log-display-type-main .type-item.is-selected{background:#fff;color:#3a84ff}.filter-bar-main .filter-item-bottom .operate-right .setting-main{width:32px;height:32px;background:#f0f1f5;border-radius:2px;display:flex;justify-content:center;align-items:center;cursor:pointer}
79
+ .filter-bar-main{width:100%}.filter-bar-main .filter-item-top{width:100%;display:flex;align-items:center;margin-bottom:8px}.filter-bar-main .filter-item-top .filter-main{flex:1;display:flex}.filter-bar-main .filter-item-top .filter-main .filter-select-main{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.filter-bar-main .filter-item-top .filter-main .filter-select-main.is-focus{margin-right:0}.filter-bar-main .filter-item-top .filter-main .filter-key-input{flex:1}.filter-bar-main .filter-item-top .filter-main .filter-key-input .bk-tag-input{border-top-left-radius:0;border-bottom-left-radius:0}.filter-bar-main .filter-item-top .highlight-main{flex:1;display:flex;margin-left:8px;font-size:12px}.filter-bar-main .filter-item-top .highlight-main .prefix-text{width:40px;height:32px;background:#fafbfd;border:1px solid #c4c6cc;border-right:none;border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;display:flex;justify-content:center;align-items:center}.filter-bar-main .filter-item-top .highlight-main .highlight-tag-input{flex:1}.filter-bar-main .filter-item-top .highlight-main .highlight-tag-input .bk-tag-input{border-radius:0}.filter-bar-main .filter-item-top .realtime-control-main{margin-left:8px;display:flex;gap:8px}.filter-bar-main .filter-item-top .realtime-control-main .control-item{width:32px;height:32px;background:#f0f1f5;border-radius:2px;display:flex;align-items:center;justify-content:center;font-size:26px;cursor:pointer}.filter-bar-main .filter-item-top .realtime-control-main .control-item:hover{background:#e1ecff}.filter-bar-main .filter-item-top .realtime-control-main .control-item.play-pause{background:#e1ecff;color:#3a84ff;font-size:18px}.filter-bar-main .filter-item-top .realtime-control-main .control-item.play-pause:hover{background:#cddffe}.filter-bar-main .filter-item-bottom{width:100%;display:flex;justify-content:space-between;align-items:center}.filter-bar-main .filter-item-bottom .operate-left{display:flex;align-items:center;font-size:12px}.filter-bar-main .filter-item-bottom .operate-left .row-control{display:flex;align-items:center}.filter-bar-main .filter-item-bottom .operate-left .row-control .row-control-input{width:48px;margin:0 4px}.filter-bar-main .filter-item-bottom .operate-left .row-control .row-control-input input{border:none;border-bottom:solid 1px #dcdee5}.filter-bar-main .filter-item-bottom .operate-right{display:flex;align-items:center;gap:8px}.filter-bar-main .filter-item-bottom .operate-right .color-tip-main{display:flex;align-items:center}.filter-bar-main .filter-item-bottom .operate-right .color-tip-main .color-item{display:flex;align-items:center;gap:4px;font-size:12px;color:#4d4f56;margin-right:24px}.filter-bar-main .filter-item-bottom .operate-right .color-tip-main .color-item .rect{width:12px;height:12px;border-radius:2px}.filter-bar-main .filter-item-bottom .operate-right .log-display-type-main{width:104px;height:32px;background:#f0f1f5;border-radius:2px;display:flex;align-items:center;padding:4px;font-size:12px;cursor:pointer}.filter-bar-main .filter-item-bottom .operate-right .log-display-type-main .type-item{width:48px;height:24px;border-radius:2px;display:flex;align-items:center;justify-content:center}.filter-bar-main .filter-item-bottom .operate-right .log-display-type-main .type-item.is-selected{background:#fff;color:#3a84ff}.filter-bar-main .filter-item-bottom .operate-right .setting-main{width:32px;height:32px;background:#f0f1f5;border-radius:2px;display:flex;justify-content:center;align-items:center;cursor:pointer}
80
80
  .bklog-json-view-node .bklog-json-view-child{margin-left:12px}.bklog-json-view-node .bklog-json-view-child.is-collapse{display:none;transition:150ms}.bklog-json-view-node .bklog-json-view-child .bklog-json-view-row{display:flex;line-height:20px}.bklog-json-view-node .bklog-json-view-child .bklog-json-view-row .bklog-json-view-field{min-width:max-content}.bklog-json-view-node .bklog-json-view-child .bklog-json-view-row .bklog-json-view-field,.bklog-json-view-node .bklog-json-view-child .bklog-json-view-row .bklog-json-view-symbol{color:#048a8c}.bklog-json-view-node .bklog-json-view-child .bklog-json-view-row .bklog-json-view-field .bklog-json-view-text,.bklog-json-view-node .bklog-json-view-child .bklog-json-view-row .bklog-json-view-symbol .bklog-json-view-text{width:max-content;padding:0 2px;background:#e6e6e6;background-color:rgba(0,0,0,0);border-radius:2px}.bklog-json-view-node .bklog-json-view-child .bklog-json-view-row .bklog-json-view-node .bklog-json-view-object{color:#048a8c}.bklog-json-view-node .bklog-json-view-child .bklog-json-view-row .bklog-json-view-node .bklog-json-view-object .bklog-json-view-icon-expand{color:#048a8c}.bklog-json-view-node .bklog-json-view-child .bklog-json-view-row .bklog-json-view-node.bklog-json-field-value .segment-content span{color:#934c04;white-space:pre-wrap}.bklog-json-view-node .bklog-json-view-child .bklog-json-view-row .bklog-json-view-node.bklog-json-field-value .segment-content span.valid-text{cursor:pointer}.bklog-json-view-node .bklog-json-view-child .bklog-json-view-row .bklog-json-view-node.bklog-json-field-value .segment-content span.valid-text.focus-text,.bklog-json-view-node .bklog-json-view-child .bklog-json-view-row .bklog-json-view-node.bklog-json-field-value .segment-content span.valid-text:hover{color:#3a84ff}.bklog-json-view-node .bklog-json-view-object .bklog-json-view-icon-text,.bklog-json-view-node .bklog-json-view-object .bklog-json-view-icon-expand,.bklog-json-view-node .bklog-json-view-object .bklog-json-view-copy{padding:2px;cursor:pointer;font-size:.75em;line-height:1.1em}.bklog-json-view-node .bklog-json-view-object .bklog-json-view-copy{font-size:14px;padding:2px;margin-bottom:-4px}.bklog-json-view-node .bklog-json-view-object .bklog-json-view-icon-expand{display:inline-block;font-size:.75em;line-height:1.1em}.bklog-json-view-node .bklog-json-view-object .bklog-json-view-icon-expand.is-expand{transition:150ms;transform:rotateZ(90deg);transform-origin:45% 50%}.bklog-json-formatter-root{position:relative;width:100%;overflow:hidden;font-family:var(--bklog-v3-row-ctx-font);font-size:var(--table-fount-size);line-height:20px;color:var(--table-fount-color);text-align:left}.bklog-json-formatter-root .bklog-scroll-box{max-height:50vh;overflow:auto;transform:translateZ(0);will-change:transform}.bklog-json-formatter-root .bklog-scroll-cell{word-break:break-all}.bklog-json-formatter-root .bklog-scroll-cell span{content-visibility:auto;contain-intrinsic-size:0 60px}.bklog-json-formatter-root mark{border-radius:2px}.bklog-json-formatter-root .btn-more-action{position:absolute;right:4px;bottom:0px;color:#3a84ff;cursor:pointer;background-color:#fff}.bklog-json-formatter-root .bklog-root-field{display:inline-block;margin-right:4px;line-height:20px;vertical-align:top}.bklog-json-formatter-root .bklog-root-field .bklog-json-view-row{word-break:break-all}.bklog-json-formatter-root .bklog-root-field [data-with-intersection]{font-family:var(--bklog-v3-row-ctx-font);font-size:var(--table-fount-size);color:var(--table-fount-color);white-space:pre-wrap}.bklog-json-formatter-root .bklog-root-field .field-name{min-width:max-content}.bklog-json-formatter-root .bklog-root-field .field-name .black-mark{width:max-content;padding:1px 2px;font-family:var(--bklog-v3-row-tag-font);font-weight:500;color:#16171a;background-color:#ebeef5;border-radius:2px}.bklog-json-formatter-root .bklog-root-field .field-name::after{content:":"}.bklog-json-formatter-root .bklog-root-field .field-name[data-is-virtual-root=true]{display:none}.bklog-json-formatter-root .bklog-root-field mark{background-color:#faeeb1}.bklog-json-formatter-root .bklog-root-field mark.valid-text{white-space:pre-wrap}.bklog-json-formatter-root .bklog-root-field .valid-text :hover{color:#3a84ff;cursor:pointer}.bklog-json-formatter-root:not(.is-json) .bklog-root-field .field-value{max-height:50vh;overflow:hidden}.bklog-json-formatter-root.show-all-word .bklog-root-field .field-value{max-height:50vh;overflow:auto}.bklog-json-formatter-root.show-all-word .bklog-root-field .field-value::-webkit-scrollbar{width:6px;background:#fff}.bklog-json-formatter-root.show-all-word .bklog-root-field .field-value::-webkit-scrollbar-thumb{background:#dcdee5;border-radius:2px}.bklog-json-formatter-root.is-hidden{visibility:hidden}.bklog-json-formatter-root .segment-content{font-family:var(--bklog-v3-row-ctx-font);font-size:var(--table-fount-size);line-height:20px;white-space:pre-wrap}.bklog-json-formatter-root .segment-content span{width:max-content;min-width:4px;font-family:var(--bklog-v3-row-ctx-font);font-size:var(--table-fount-size);color:var(--table-fount-color);white-space:pre-wrap}.bklog-json-formatter-root .segment-content .menu-list{position:absolute;display:none}.bklog-json-formatter-root .segment-content .valid-text{cursor:pointer}.bklog-json-formatter-root .segment-content .valid-text.focus-text,.bklog-json-formatter-root .segment-content .valid-text:hover{color:#3a84ff}.bklog-json-formatter-root .segment-content .null-item{display:inline-block;min-width:6px}.bklog-json-formatter-root.is-inline .bklog-root-field{display:inline-flex;word-break:break-all;vertical-align:top}.bklog-json-formatter-root.is-inline .bklog-root-field .segment-content{word-break:break-all}.bklog-json-formatter-root.is-json{width:100%}.bklog-json-formatter-root.is-wrap-line{display:flex;flex-direction:column}.bklog-json-formatter-root.is-wrap-line .bklog-root-field{display:flex}.bklog-json-formatter-root.is-wrap-line .bklog-root-field .field-value{word-break:break-all}
81
81
  .bklog-text-segment .segment-content{font-family:var(--bklog-v3-row-ctx-font);font-size:var(--table-fount-size);line-height:20px;white-space:pre-wrap}.bklog-text-segment .segment-content mark.valid-text{white-space:pre-wrap}.bklog-text-segment .segment-content .valid-text{white-space:pre-wrap;cursor:pointer}.bklog-text-segment .segment-content .valid-text.focus-text,.bklog-text-segment .segment-content .valid-text:hover{color:#3a84ff}
82
82
  .bklog-row-observe-main{display:inline-flex;flex-direction:column;width:fit-content;min-width:100%;height:100%;will-change:contents}.bklog-row-observe-main.is-pending{position:relative}
@@ -216,10 +216,10 @@ url(data:application/vnd.ms-fontobject;base64,1AcAACwHAAABAAIAAAAAAAIABQMAAAAAAA
216
216
 
217
217
  @font-face {
218
218
  font-family: "bklog";
219
- src: url(../img/iconcoolc94fa39.svg#iconcool) format("svg"),
220
- url(../fonts/iconcool2cac46b.ttf) format("truetype"),
221
- url(../fonts/iconcool076b1df.woff) format("woff"),
222
- url(../fonts/iconcool2e069a4.eot?#iefix) format("embedded-opentype");
219
+ src: url(../img/iconcool8a54431.svg#iconcool) format("svg"),
220
+ url(../fonts/iconcool9033dee.ttf) format("truetype"),
221
+ url(../fonts/iconcool0d23257.woff) format("woff"),
222
+ url(../fonts/iconcoole1159ba.eot?#iefix) format("embedded-opentype");
223
223
  font-weight: normal;
224
224
  font-style: normal;
225
225
  }
@@ -1127,5 +1127,11 @@ url(../fonts/iconcool2e069a4.eot?#iefix) format("embedded-opentype");
1127
1127
  .bklog-tracing:before {
1128
1128
  content: "\e26b";
1129
1129
  }
1130
+ .bklog-celan:before {
1131
+ content: "\e26d";
1132
+ }
1133
+ .bklog-file-wenjian:before {
1134
+ content: "\e26c";
1135
+ }
1130
1136
 
1131
1137
  :root{--bklog-v3-row-tag-font: "RobotoMono-Medium";--bklog-v3-row-ctx-font: "RobotoMono-Regular";--bklog-v3-row-lbl-font: "Roboto-Regular"}.v3-bklog-root{display:flex;width:100%;height:100%}.v3-bklog-root .v3-bklog-content{display:flex;flex-direction:column;width:100%;height:100%;overflow-x:hidden;overflow-y:auto}.v3-bklog-root .search-result-panel.flex{justify-content:flex-end}.v3-bklog-root .search-result-panel.flex .field-list-sticky{top:0}.v3-bklog-root .search-result-panel.flex .field-list-sticky.is-show{position:relative;height:calc(100vh - var(--top-searchbar-height) - 150px)}.v3-bklog-root.is-sticky-top-result .search-result-panel.flex .search-result-content .original-log-panel .bklog-result-box .bklog-result-container.show-header{overflow:visible}.v3-bklog-root.is-sticky-top-result .search-result-panel.flex .search-result-content .original-log-panel .bklog-result-box .bklog-result-container.show-header .bklog-row-container{overflow:visible}.v3-bklog-root.is-sticky-top-result .search-result-panel.flex .search-result-content .original-log-panel .bklog-result-box .bklog-result-container.show-header .bklog-row-container.row-header{position:sticky;top:calc(var(--top-searchbar-height));left:calc(var(--left-collection-width) + var(--left-field-setting-width) + 8px)}.v3-bklog-root.is-sticky-top-result .search-result-panel.flex .search-result-content .original-log-panel .bklog-result-box .bklog-result-container.show-header .bklog-row-container.row-header .right{right:8px}.v3-bklog-root.is-sticky-top .search-result-panel.flex .field-list-sticky.is-show{position:fixed;top:calc(var(--top-searchbar-height) + var(--header-height));bottom:0;left:calc(var(--left-collection-width) + 8px);height:calc(100vh - var(--top-searchbar-height) - var(--header-height))}.v3-bklog-root.is-sticky-top .search-result-panel.flex .field-list-sticky.is-show .field-filter-box .field-filter-container-new{height:calc(100vh - var(--top-searchbar-height) - 100px)}.is-start-text-ellipsis .rtl-text{direction:rtl}[data-tippy-root] .tippy-box[data-theme=segment-light]{color:#26323d;background-color:#fff;box-shadow:0 0 6px 0 #dcdee5}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-arrow{color:#fff;background-color:#fff;box-shadow:#dcdee5 0px -12px 12px 0px}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content{padding:0}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content{margin-top:4px;margin-bottom:4px}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons{flex-direction:column;display:flex;align-items:center;justify-content:center}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .segment-event-box{display:flex;align-items:center;justify-content:space-between;min-width:240px;height:32px;padding:5px 13px 7px 12px;font-size:12px;color:#4d4f56;cursor:pointer}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .segment-event-box:hover{background:#f5f7fa}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .segment-new-link{display:flex;align-items:center;justify-content:right;width:24px;height:24px}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .segment-event-btn{display:flex;flex:1;align-items:center;justify-content:space-between}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .segment-event-btn .new-link{transform:translateY(1px)}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .tippy-tooltip{padding:6px 2px}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .icon{display:inline-block;font-size:16px;cursor:pointer}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .bklog-copy-3,[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .icon-minus-circle,[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .bklog-trace-view,[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .bklog-highlight,[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .icon-plus-circle{margin-right:4px}[data-tippy-root] .tippy-box[data-theme=segment-light] .tippy-content .event-tippy-content.segment-event-icons .bklog-copy{margin-left:-4px;font-size:24px}[data-tippy-root] [data-theme=log-light]{border:1px solid #dcdee5;border-radius:2px;box-shadow:0 2px 6px 0 rgba(0,0,0,.1019607843)}[data-tippy-root] [data-theme=log-light] .ui-value-select{width:314px;max-height:200px;overflow:auto;font-size:12px}[data-tippy-root] [data-theme=log-light] .ui-value-select .ui-value-option{display:flex;align-items:center;width:100%;height:32px;padding:0 12px;cursor:pointer;background:#fff}[data-tippy-root] [data-theme=log-light] .ui-value-select .ui-value-option:not(.active):hover{background:#f5f7fa}[data-tippy-root] [data-theme=log-light] .ui-value-select .ui-value-option.active{color:#3a84ff;background:#e1ecff}[data-tippy-root] [data-theme=log-light] .condition-value-options{display:inline-flex;flex-direction:column;width:314px;min-height:20px;max-height:300px;overflow:auto}[data-tippy-root] [data-theme=log-light] .condition-value-options>li{display:inline-block;width:100%;max-width:100%;height:32px;padding:6px 8px;font-size:12px;cursor:pointer}[data-tippy-root] [data-theme=log-light] .condition-value-options>li>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-tippy-root] [data-theme=log-light] .condition-value-options>li.empty-section{height:100px}[data-tippy-root] [data-theme=log-light] .condition-value-options>li.empty-section img{width:120px;height:60px}[data-tippy-root] [data-theme=log-light] .condition-value-options>li.empty-section .bk-exception .bk-exception-text{display:flex;justify-content:center}[data-tippy-root] [data-theme=log-light] .condition-value-options>li:not(.empty-section).active{background:#f5f7fa}[data-tippy-root] [data-theme=log-light] .condition-value-options>li:not(.empty-section).is-hover,[data-tippy-root] [data-theme=log-light] .condition-value-options>li:not(.empty-section):hover{background:#f5f7fa}[data-tippy-root] [data-theme=log-light] .condition-value-options>li:not(.empty-section).is-hidden-item{display:none}.v3-bklog-root{background:#f5f7fa}.v3-bklog-root.is-trace .search-bar-container{border:1px solid #dcdee5;border-radius:2px;box-shadow:none}.v3-bklog-root.is-trace .search-bar-container::before{background:#fff}.v3-bklog-root.is-trace .subbar-container{padding:0;box-shadow:none}.v3-bklog-root.is-trace .subbar-container .box-biz-select{margin-left:0 !important}.v3-bklog-root.is-trace .filter-container-wrap{box-shadow:none}.v3-bklog-root.is-trace .filter-container-wrap .btn-del-action{font-size:16px}.v3-bklog-root.is-trace .original-log-panel-tools{padding:0}.v3-bklog-root .v3-bklog-content{padding:0 16px}.v3-bklog-root .v3-bklog-content .v3-bklog-container .search-bar-wrapper{padding:0;margin:0 0 8px 0}.v3-bklog-root .v3-bklog-content .v3-bklog-body{width:100%;margin:0}.v3-bklog-root .v3-bklog-content .v3-bklog-body .search-result-panel .search-result-content .monitor-echarts-container .title-wrapper-new{width:100%}.v3-bklog-root.is-sticky-top .search-result-panel.flex .field-list-sticky.is-show{position:sticky;top:calc(var(--top-searchbar-height)) !important;left:0 !important}:root{--table-fount-family: Menlo, Monaco, Consolas, Courier, "PingFang SC", "Microsoft Yahei", monospace;--table-fount-size: 13px;--table-fount-color: #313238}
@@ -917,6 +917,12 @@
917
917
  <glyph glyph-name="uniE26B" unicode="&#xE26B;" d="M512 748C529.6 748 544 733.6 544 716L544 682.678C730.552 667.287 879.287 518.552 894.678 332L928 332C945.6 332 960 317.6 960 300 960 282.4 945.6 268 928 268L894.678 268C879.287 81.448 730.552-67.287 544-82.678L544-116C544-133.6 529.6-148 512-148 494.4-148 480-133.6 480-116L480-82.678C293.448-67.287 144.713 81.448 129.322 268L96 268C78.4 268 64 282.4 64 300 64 317.6 78.4 332 96 332L129.322 332C144.713 518.552 293.448 667.287 480 682.678L480 716C480 733.6 494.4 748 512 748ZM544 618.412L544 588C544 570.4 529.6 556 512 556 494.4 556 480 570.4 480 588L480 618.412C328.821 603.401 208.599 483.179 193.588 332L224 332C241.6 332 256 317.6 256 300 256 282.4 241.6 268 224 268L193.588 268C208.599 116.821 328.821-3.401 480-18.412L480 12C480 29.6 494.4 44 512 44 529.6 44 544 29.6 544 12L544-18.412C695.179-3.401 815.401 116.821 830.412 268L800 268C782.4 268 768 282.4 768 300 768 317.6 782.4 332 800 332L830.412 332C815.401 483.179 695.179 603.401 544 618.412ZM512 460C600.3656 460 672 388.3656 672 300 672 211.6344 600.3656 140 512 140 423.6344 140 352 211.6344 352 300 352 388.3656 423.6344 460 512 460Z" horiz-adv-x="1024" vert-adv-y="1024" />
918
918
 
919
919
 
920
+ <glyph glyph-name="uniE26D" unicode="&#xE26D;" d="M902.5312 683.6563C934.8096 680.3837 960 653.1408 960 620V-20C960-53.1424 934.8096-80.384 902.5312-83.6576L896-84H128C94.8592-84 67.616-58.8096 64.3437-26.5312L64-20V620C64 655.3462 92.6538 684 128 684H896L902.5312 683.6563ZM128-20H384V620H128V-20ZM448-20H896V620H448V-20ZM320 204H192V268H320V204ZM320 332H192V396H320V332ZM320 460H192V524H320V460Z" horiz-adv-x="1024" vert-adv-y="1024" />
921
+
922
+
923
+ <glyph glyph-name="uniE26C" unicode="&#xE26C;" d="M672 748L896 523.6058V-115.9168C896-133.6192 881.6704-147.9744 864-147.9744H160C151.6883-148.32 143.5917-145.2736 137.5603-139.5392 131.529-133.7984 128.0794-125.856 128-117.5168V717.5462C128.8531 734.6221 142.9331 748.0213 160 748H672ZM576 683.8874H192V-83.8592H832V427.4368H608C590.327 427.4368 576 441.7894 576 459.4931V683.8874ZM736 170.9888V106.8736H272V170.9888H736ZM656 299.2122V235.0995H272V299.2122H656ZM432 427.4368V363.3248H272V427.4368H432ZM640 683.8874V493.1526L832 491.5494 640 683.8874Z" horiz-adv-x="1024" vert-adv-y="1024" />
924
+
925
+
920
926
 
921
927
  </font>
922
928
  </defs>
package/main.js CHANGED
@@ -28501,6 +28501,17 @@ __webpack_require__.d(custom_namespaceObject, {
28501
28501
  setCustom: () => (setCustom)
28502
28502
  });
28503
28503
 
28504
+ // NAMESPACE OBJECT: ./src/services/client-log.ts
28505
+ var client_log_namespaceObject = {};
28506
+ __webpack_require__.r(client_log_namespaceObject);
28507
+ __webpack_require__.d(client_log_namespaceObject, {
28508
+ getClientInfo: () => (getClientInfo),
28509
+ getOpenidList: () => (getOpenidList),
28510
+ getTaskList: () => (getTaskList),
28511
+ getTaskStatus: () => (getTaskStatus),
28512
+ syncTask: () => (syncTask)
28513
+ });
28514
+
28504
28515
  // NAMESPACE OBJECT: ./src/services/docs.js
28505
28516
  var docs_namespaceObject = {};
28506
28517
  __webpack_require__.r(docs_namespaceObject);
@@ -28526,7 +28537,7 @@ __webpack_require__.d(extract_namespaceObject, {
28526
28537
  getExtractLinkList: () => (getExtractLinkList),
28527
28538
  getIpListDisplayName: () => (getIpListDisplayName),
28528
28539
  getTaskDetail: () => (getTaskDetail),
28529
- getTaskList: () => (getTaskList),
28540
+ getTaskList: () => (extract_getTaskList),
28530
28541
  getTopoIpList: () => (getTopoIpList),
28531
28542
  pollingTaskStatus: () => (pollingTaskStatus),
28532
28543
  queryHostIdInfos: () => (queryHostIdInfos),
@@ -28581,6 +28592,18 @@ __webpack_require__.d(graph_analysis_namespaceObject, {
28581
28592
  searchSQL: () => (searchSQL)
28582
28593
  });
28583
28594
 
28595
+ // NAMESPACE OBJECT: ./src/services/grok.js
28596
+ var grok_namespaceObject = {};
28597
+ __webpack_require__.r(grok_namespaceObject);
28598
+ __webpack_require__.d(grok_namespaceObject, {
28599
+ createGrok: () => (createGrok),
28600
+ debugGrok: () => (debugGrok),
28601
+ deleteGrok: () => (deleteGrok),
28602
+ getGrokList: () => (getGrokList),
28603
+ getUpdatedByList: () => (getUpdatedByList),
28604
+ updateGrok: () => (updateGrok)
28605
+ });
28606
+
28584
28607
  // NAMESPACE OBJECT: ./src/services/indexSet.js
28585
28608
  var indexSet_namespaceObject = {};
28586
28609
  __webpack_require__.r(indexSet_namespaceObject);
@@ -30570,7 +30593,36 @@ const updateTimezone = newTz => {
30570
30593
  前往日志检索: 'Go to Log Search',
30571
30594
  整体趋势: 'Overall Trend',
30572
30595
  相关样本: 'Related Samples',
30573
- '当前选中日志暂无trace字段,请检查日志内容': 'The currently selected log has no trace field. Please check the log content'
30596
+ '当前选中日志暂无trace字段,请检查日志内容': 'The currently selected log has no trace field. Please check the log content',
30597
+ '未找到与 "{keyword}" 匹配的用户或任务': 'No user or task matching "{keyword}" was found',
30598
+ 请检查任务ID和用户ID是否输入错误: 'Please check if the task ID and user ID are entered incorrectly',
30599
+ '平台默认保存 90 天的任务记录,请检查 ID 是否过期': 'The platform keeps task records for 90 days by default, please check if the ID has expired',
30600
+ '若检查均无问题,请联系': 'If no issues are found after checking, please contact',
30601
+ 蓝鲸助手: 'BlueKing Assistant',
30602
+ 未找到匹配的用户或任务: 'No matching user or task found',
30603
+ '暂未采集,无法获取日志': 'No collection, unable to obtain logs',
30604
+ '正在采集目标日志文件,预计2-3分钟': 'Collecting target log file, estimated 2-3 minutes',
30605
+ '日志采集失败,请重新采集': 'Log collection failed, please collect again',
30606
+ '搜索 名称、描述、更新人、定义': 'Search by name, description, updater, or definition',
30607
+ 内置Grok模式不可编辑: 'Built-in Grok patterns are not editable',
30608
+ 内置Grok模式不可删除: 'Built-in Grok patterns cannot be deleted',
30609
+ '新建 Grok 模式': 'New Grok pattern',
30610
+ '编辑 Grok 模式': 'Edit Grok pattern',
30611
+ 选填: 'Optional',
30612
+ 'Grok 定义(可引用其他模式)': 'Grok definition (can reference other patterns)',
30613
+ 例如: 'For example:',
30614
+ '当前Grok名称为{n},确认要删除?': 'The current Grok name is {n}. Are you sure you want to delete it?',
30615
+ 'Grok 模式更新成功': 'Grok pattern updated successfully',
30616
+ 'Grok 模式删除成功': 'Grok pattern deleted successfully',
30617
+ 'Grok 模式创建成功': 'Grok pattern created successfully',
30618
+ 请输入需要调试的样例: 'Please enter the sample you need to debug',
30619
+ '请先完成调试,方可提交': 'Please complete the debugging process before submitting',
30620
+ 调试成功: 'Debugging successful',
30621
+ 调试失败: 'Debugging failed',
30622
+ '内容有变更,请重新调试': 'The content has changed; please reconfigure the settings',
30623
+ 没有更多数据: 'No more data',
30624
+ 'Grok 模式': 'Grok pattern',
30625
+ '当检测到 %{PATTERN} 就按 Grok 处理,否则按传统正则': 'When %{PATTERN} is detected, process it with Grok; otherwise, process it with traditional regular expressions'
30574
30626
  });
30575
30627
  ;// ./src/language/lang/en/label.ts
30576
30628
  /*
@@ -31529,12 +31581,27 @@ const updateTimezone = newTz => {
31529
31581
  系统类型: 'System type',
31530
31582
  上传状态: 'Upload status',
31531
31583
  未上传: 'Not uploaded',
31584
+ 定义: 'Definition',
31532
31585
  英文名称: 'English name',
31533
31586
  '搜索名称、英文名称、地址、创建人': 'Search by name, English name, address, or creator',
31534
31587
  集群英文名称: 'Cluster English Name',
31535
31588
  '最大自定义天数为{n}': 'Maximum custom days is {n}',
31536
31589
  选中值: 'Selected Value',
31537
- 整体: 'Overall'
31590
+ 整体: 'Overall',
31591
+ 用户: 'User',
31592
+ 设备型号: 'Device Model',
31593
+ 最近活跃: 'Last Active',
31594
+ 累计上报: 'Total Uploads',
31595
+ 检索时间范围下: 'within retrieval time range',
31596
+ 任务列表: 'Task List',
31597
+ 日志详情: 'Log Details',
31598
+ 立即采集: 'Collect Now',
31599
+ 已采集: 'Collected',
31600
+ 未采集: 'Not Collected',
31601
+ 采集中: 'Collecting',
31602
+ 采集失败: 'Collection Failed',
31603
+ 根目录: 'Root Directory',
31604
+ 输入样例: 'Input example'
31538
31605
  });
31539
31606
  ;// ./src/language/lang/en/route.ts
31540
31607
  /*
@@ -31567,6 +31634,7 @@ const updateTimezone = newTz => {
31567
31634
  归档: 'Archive',
31568
31635
  提取: 'Extract',
31569
31636
  检索: 'Explore',
31637
+ 客户端日志: 'Client Log',
31570
31638
  清洗: 'Parsing',
31571
31639
  集群: 'Cluster',
31572
31640
  设置: 'Settings',
@@ -39499,6 +39567,10 @@ const MENU_LISTS = [{
39499
39567
  name: language_i18n.t('检索'),
39500
39568
  id: 'retrieve',
39501
39569
  level: 1
39570
+ }, {
39571
+ name: language_i18n.t('客户端日志'),
39572
+ id: 'client-log-search',
39573
+ level: 1
39502
39574
  }, {
39503
39575
  name: language_i18n.t('仪表盘'),
39504
39576
  id: 'dashboard',
@@ -40942,6 +41014,58 @@ var setCustom = {
40942
41014
  method: 'post'
40943
41015
  };
40944
41016
 
41017
+ ;// ./src/services/client-log.ts
41018
+ /*
41019
+ * Tencent is pleased to support the open source community by making
41020
+ * 蓝鲸智云PaaS平台 (BlueKing PaaS) available.
41021
+ *
41022
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
41023
+ *
41024
+ * 蓝鲸智云PaaS平台 (BlueKing PaaS) is licensed under the MIT License.
41025
+ *
41026
+ * License for 蓝鲸智云PaaS平台 (BlueKing PaaS):
41027
+ *
41028
+ * ---------------------------------------------------
41029
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
41030
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
41031
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
41032
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
41033
+ *
41034
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
41035
+ * the Software.
41036
+ *
41037
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
41038
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
41039
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
41040
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
41041
+ * IN THE SOFTWARE.
41042
+ */
41043
+ /** 获取 openid 列表 */
41044
+ const getOpenidList = {
41045
+ url: '/tgpa/openid_list/',
41046
+ method: 'get'
41047
+ };
41048
+ /** 获取任务列表 */
41049
+ const getTaskList = {
41050
+ url: '/tgpa/task_list/',
41051
+ method: 'get'
41052
+ };
41053
+ /** 获取用户信息 */
41054
+ const getClientInfo = {
41055
+ url: '/tgpa/client_info/',
41056
+ method: 'get'
41057
+ };
41058
+ /** 任务采集 */
41059
+ const syncTask = {
41060
+ url: '/tgpa/task/sync/',
41061
+ method: 'post'
41062
+ };
41063
+ /** 任务状态查询 */
41064
+ const getTaskStatus = {
41065
+ url: '/tgpa/task/status/',
41066
+ method: 'post'
41067
+ };
41068
+
40945
41069
  ;// ./src/services/docs.js
40946
41070
  /*
40947
41071
  * Tencent is pleased to support the open source community by making
@@ -41033,7 +41157,7 @@ var getTest = {
41033
41157
  * IN THE SOFTWARE.
41034
41158
  */
41035
41159
 
41036
- var getTaskList = {
41160
+ var extract_getTaskList = {
41037
41161
  url: '/log_extract/tasks/',
41038
41162
  method: 'get'
41039
41163
  };
@@ -41364,6 +41488,69 @@ var asyncDownload = {
41364
41488
  method: 'post'
41365
41489
  };
41366
41490
 
41491
+ ;// ./src/services/grok.js
41492
+ /*
41493
+ * Tencent is pleased to support the open source community by making
41494
+ * 蓝鲸智云PaaS平台 (BlueKing PaaS) available.
41495
+ *
41496
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
41497
+ *
41498
+ * 蓝鲸智云PaaS平台 (BlueKing PaaS) is licensed under the MIT License.
41499
+ *
41500
+ * License for 蓝鲸智云PaaS平台 (BlueKing PaaS):
41501
+ *
41502
+ * ---------------------------------------------------
41503
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
41504
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
41505
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
41506
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
41507
+ *
41508
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
41509
+ * the Software.
41510
+ *
41511
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
41512
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
41513
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
41514
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
41515
+ * IN THE SOFTWARE.
41516
+ */
41517
+
41518
+ // 获取Grok列表
41519
+ var getGrokList = {
41520
+ url: '/databus/grok/',
41521
+ method: 'get'
41522
+ };
41523
+
41524
+ // 创建Grok
41525
+ var createGrok = {
41526
+ url: '/databus/grok/',
41527
+ method: 'post'
41528
+ };
41529
+
41530
+ // 更新Grok
41531
+ var updateGrok = {
41532
+ url: '/databus/grok/:id/',
41533
+ method: 'put'
41534
+ };
41535
+
41536
+ // 删除Grok
41537
+ var deleteGrok = {
41538
+ url: '/databus/grok/:id/',
41539
+ method: 'delete'
41540
+ };
41541
+
41542
+ // 获取更新人列表
41543
+ var getUpdatedByList = {
41544
+ url: '/databus/grok/updated_by_list/',
41545
+ method: 'get'
41546
+ };
41547
+
41548
+ // Grok调试
41549
+ var debugGrok = {
41550
+ url: '/databus/grok/debug/',
41551
+ method: 'post'
41552
+ };
41553
+
41367
41554
  ;// ./src/services/indexSet.js
41368
41555
  /*
41369
41556
  * Tencent is pleased to support the open source community by making
@@ -43083,6 +43270,8 @@ var save_to_dashboard = {
43083
43270
 
43084
43271
 
43085
43272
 
43273
+
43274
+
43086
43275
 
43087
43276
 
43088
43277
 
@@ -43138,8 +43327,10 @@ var frontendEventReport = {
43138
43327
  unionSearch: union_search_namespaceObject,
43139
43328
  newReport: new_report_namespaceObject,
43140
43329
  graphAnalysis: graph_analysis_namespaceObject,
43330
+ grok: grok_namespaceObject,
43141
43331
  alertStrategy: alert_strategy_namespaceObject,
43142
- dashboard: dashboard_namespaceObject
43332
+ dashboard: dashboard_namespaceObject,
43333
+ clientLog: client_log_namespaceObject
43143
43334
  });
43144
43335
  ;// ./node_modules/@blueking/login-modal/dist/login-modal.js
43145
43336
  let i = !1, n = null, s = -1, t = null;
@@ -48280,7 +48471,7 @@ var lineColor = ['#A3C5FD',
48280
48471
  },
48281
48472
  actions: {}
48282
48473
  });
48283
- ;// ./src/store/helper.ts
48474
+ ;// ./src/hooks/use-feature-toggle.ts
48284
48475
  /*
48285
48476
  * Tencent is pleased to support the open source community by making
48286
48477
  * 蓝鲸智云PaaS平台 (BlueKing PaaS) available.
@@ -48306,18 +48497,76 @@ var lineColor = ['#A3C5FD',
48306
48497
  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
48307
48498
  * IN THE SOFTWARE.
48308
48499
  */
48309
-
48310
- const isFeatureToggleOn = (key, value) => {
48311
- const featureToggle = window.FEATURE_TOGGLE?.[key];
48312
- if (featureToggle === 'debug') {
48313
- const whiteList = (window.FEATURE_TOGGLE_WHITE_LIST?.[key] ?? []).map(id => `${id}`);
48314
- if (Array.isArray(value)) {
48315
- return value.some(v => whiteList.includes(v));
48500
+ const normalizeFeatureToggleList = list => {
48501
+ return (list ?? []).map(id => `${id}`);
48502
+ };
48503
+ const normalizeFeatureToggleValues = value => {
48504
+ if (Array.isArray(value)) {
48505
+ return value.map(id => `${id}`);
48506
+ }
48507
+ if (value === undefined || value === null) {
48508
+ return [];
48509
+ }
48510
+ return [`${value}`];
48511
+ };
48512
+ const isHitList = (list, values) => {
48513
+ return values.length > 0 && values.some(value => list.includes(value));
48514
+ };
48515
+ const getFeatureToggleStatus = key => {
48516
+ return window.FEATURE_TOGGLE?.[key];
48517
+ };
48518
+ const isFeatureToggleOn = function (key, value) {
48519
+ let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
48520
+ const status = getFeatureToggleStatus(key);
48521
+ const values = normalizeFeatureToggleValues(value);
48522
+ const whiteList = normalizeFeatureToggleList(window.FEATURE_TOGGLE_WHITE_LIST?.[key]);
48523
+ const blackList = normalizeFeatureToggleList(window.FEATURE_TOGGLE_BLACK_LIST?.[key]);
48524
+ if (status === 'on') {
48525
+ return true;
48526
+ }
48527
+ if (status === 'off') {
48528
+ return false;
48529
+ }
48530
+ if (status === 'debug') {
48531
+ if (whiteList.length > 0) {
48532
+ return isHitList(whiteList, values);
48316
48533
  }
48317
- return whiteList.includes(value);
48534
+ if (blackList.length > 0) {
48535
+ return !isHitList(blackList, values);
48536
+ }
48537
+ return false;
48318
48538
  }
48319
- return featureToggle === 'on';
48539
+ return options.defaultEnabled ?? false;
48320
48540
  };
48541
+ ;// ./src/store/helper.ts
48542
+ /*
48543
+ * Tencent is pleased to support the open source community by making
48544
+ * 蓝鲸智云PaaS平台 (BlueKing PaaS) available.
48545
+ *
48546
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
48547
+ *
48548
+ * 蓝鲸智云PaaS平台 (BlueKing PaaS) is licensed under the MIT License.
48549
+ *
48550
+ * License for 蓝鲸智云PaaS平台 (BlueKing PaaS):
48551
+ *
48552
+ * ---------------------------------------------------
48553
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
48554
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
48555
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
48556
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
48557
+ *
48558
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
48559
+ * the Software.
48560
+ *
48561
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
48562
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
48563
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
48564
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
48565
+ * IN THE SOFTWARE.
48566
+ */
48567
+
48568
+
48569
+
48321
48570
  const SESSION_STORAGE_KEY = 'CommonFilterAddition';
48322
48571
  const isAiAssistantActive = val => {
48323
48572
  return isFeatureToggleOn('ai_assistant', val);
@@ -49413,7 +49662,7 @@ var store_store = new (external_vuex_default()).Store({
49413
49662
  },
49414
49663
  /** 脱敏灰度判断 */
49415
49664
  isShowMaskingTemplate: function isShowMaskingTemplate(state) {
49416
- return state.maskingToggle.toggleString === 'on' || state.maskingToggle.toggleList.includes(Number(state.bkBizId));
49665
+ return isFeatureToggleOn('log_desensitize', state.bkBizId);
49417
49666
  },
49418
49667
  isLimitExpandView: function isLimitExpandView(state) {
49419
49668
  return state.storage[store_type_BK_LOG_STORAGE.IS_LIMIT_EXPAND_VIEW];
@@ -51739,6 +51988,75 @@ function throttle(func, wait, options) {
51739
51988
 
51740
51989
  /* harmony default export */ const lodash_es_throttle = (throttle);
51741
51990
 
51991
+ ;// ./src/utils/decode.ts
51992
+ /*
51993
+ * Tencent is pleased to support the open source community by making
51994
+ * 蓝鲸智云PaaS平台 (BlueKing PaaS) available.
51995
+ *
51996
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
51997
+ *
51998
+ * 蓝鲸智云PaaS平台 (BlueKing PaaS) is licensed under the MIT License.
51999
+ *
52000
+ * License for 蓝鲸智云PaaS平台 (BlueKing PaaS):
52001
+ *
52002
+ * ---------------------------------------------------
52003
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
52004
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
52005
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
52006
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
52007
+ *
52008
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
52009
+ * the Software.
52010
+ *
52011
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
52012
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
52013
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
52014
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
52015
+ * IN THE SOFTWARE.
52016
+ */
52017
+
52018
+ // base64转规则列表
52019
+ function base64ToRuleList(str) {
52020
+ if (!str) {
52021
+ return [];
52022
+ }
52023
+ try {
52024
+ const ruleList = JSON.parse(base64Decode(str));
52025
+ const ruleNewList = ruleList.reduce((pre, cur, index) => {
52026
+ const itemObj = {};
52027
+ const matchVal = cur.match(/:(.*)/);
52028
+ const key = cur.substring(0, matchVal.index);
52029
+ itemObj[key] = matchVal[1];
52030
+ itemObj.__Index__ = index;
52031
+ pre.push(itemObj);
52032
+ return pre;
52033
+ }, []);
52034
+ return ruleNewList;
52035
+ } catch {
52036
+ return [];
52037
+ }
52038
+ }
52039
+ ;// ./src/utils/url.ts
52040
+ /** 读取当前 URL 中的全部 query(兼容 hash 路由与 location.search) */
52041
+ const getLocationQueryParams = () => {
52042
+ const query = {};
52043
+ const merge = source => {
52044
+ if (!source) {
52045
+ return;
52046
+ }
52047
+ const search = source.startsWith('?') ? source : `?${source}`;
52048
+ new URLSearchParams(search).forEach((value, key) => {
52049
+ query[key] = value;
52050
+ });
52051
+ };
52052
+ merge(window.location.search);
52053
+ const hashQuery = window.location.hash.includes('?') ? window.location.hash.split('?').slice(1).join('?') : '';
52054
+ merge(hashQuery);
52055
+ return query;
52056
+ };
52057
+ ;// ./src/utils/index.ts
52058
+
52059
+
51742
52060
  ;// ./src/global/utils/path.ts
51743
52061
  // 实现 path.join 功能, 组合为一个合法路径, 并且去掉重复的 /
51744
52062
  // 例如: a/, /b/ -> a/b
@@ -54043,6 +54361,7 @@ var RouteQueryTab;
54043
54361
 
54044
54362
 
54045
54363
 
54364
+
54046
54365
  var STORAGE_KEY;
54047
54366
  (function (STORAGE_KEY) {
54048
54367
  // eslint-disable-next-line no-unused-vars
@@ -54156,13 +54475,23 @@ class RetrieveHelper extends base {
54156
54475
  }
54157
54476
  /**
54158
54477
  * 更新索引集id
54159
- * @param id window.__IS_MONITOR_COMPONENT__
54478
+ * @param id
54160
54479
  */
54161
54480
  setIndexsetId(idList, type) {
54162
54481
  let fireEvent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
54163
54482
  // 监控下的关联日志需要再浏览器本地记住最近一次使用的索引集
54164
54483
  if (window.__IS_MONITOR_COMPONENT__) {
54165
- localStorage.setItem('MONITOR_LOG_RECENT_INDEX_SET_ID', JSON.stringify(idList));
54484
+ const query = getLocationQueryParams();
54485
+ const bizAppKey = `${query.bizId} ${query['filter-app_name']}`;
54486
+ let memoryObj = {};
54487
+ const storageStr = localStorage.getItem('MONITOR_LOG_RECENT_INDEX_SET_ID');
54488
+ if (storageStr) {
54489
+ memoryObj = JSON.parse(storageStr);
54490
+ }
54491
+ Object.assign(memoryObj, {
54492
+ [bizAppKey]: idList
54493
+ });
54494
+ localStorage.setItem('MONITOR_LOG_RECENT_INDEX_SET_ID', JSON.stringify(memoryObj));
54166
54495
  }
54167
54496
  this.indexSetIdList = idList;
54168
54497
  this.indexSetType = type;
@@ -158460,8 +158789,8 @@ var search_result_panelvue_type_template_id_06235de0_render = function render()
158460
158789
  };
158461
158790
  var search_result_panelvue_type_template_id_06235de0_staticRenderFns = [];
158462
158791
 
158463
- ;// ./node_modules/thread-loader/dist/cjs.js??clonedRuleSet-3.use[0]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use[1]!./node_modules/ifdef-loader/ifdef-loader.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/views/retrieve-v2/result-comp/no-index-set.vue?vue&type=template&id=8c9135ae&scoped=true
158464
- var no_index_setvue_type_template_id_8c9135ae_scoped_true_render = function render() {
158792
+ ;// ./node_modules/thread-loader/dist/cjs.js??clonedRuleSet-3.use[0]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use[1]!./node_modules/ifdef-loader/ifdef-loader.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/views/retrieve-v2/result-comp/no-index-set.vue?vue&type=template&id=76cff062&scoped=true
158793
+ var no_index_setvue_type_template_id_76cff062_scoped_true_render = function render() {
158465
158794
  var _vm = this,
158466
158795
  _c = _vm._self._c;
158467
158796
  return _c('div', {
@@ -158502,13 +158831,14 @@ var no_index_setvue_type_template_id_8c9135ae_scoped_true_render = function rend
158502
158831
  staticClass: "side-tip"
158503
158832
  }, [_vm._v("\n " + _vm._s(_vm.$t('请联系业务运维配索引集')) + "\n ")])]);
158504
158833
  };
158505
- var no_index_setvue_type_template_id_8c9135ae_scoped_true_staticRenderFns = [];
158834
+ var no_index_setvue_type_template_id_76cff062_scoped_true_staticRenderFns = [];
158506
158835
 
158507
158836
  ;// ./node_modules/thread-loader/dist/cjs.js??clonedRuleSet-3.use[0]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use[1]!./node_modules/ifdef-loader/ifdef-loader.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/views/retrieve-v2/result-comp/no-index-set.vue?vue&type=script&lang=js
158508
158837
 
158509
158838
  function no_index_setvue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
158510
158839
  function no_index_setvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? no_index_setvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { defineProperty_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : no_index_setvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
158511
158840
 
158841
+
158512
158842
  /* harmony default export */ const no_index_setvue_type_script_lang_js = ({
158513
158843
  computed: no_index_setvue_type_script_lang_js_objectSpread({}, (0,external_vuex_namespaceObject.mapGetters)({
158514
158844
  space: 'space'
@@ -158523,7 +158853,7 @@ function no_index_setvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r
158523
158853
  });
158524
158854
  },
158525
158855
  goToCreateCollection: function goToCreateCollection() {
158526
- if (window.FEATURE_TOGGLE.scenario_log === 'on') {
158856
+ if (isFeatureToggleOn('scenario_log', [String(this.$store.state.bkBizId), String(this.$store.state.spaceUid)])) {
158527
158857
  this.$router.push({
158528
158858
  path: '/manage/log-collection',
158529
158859
  query: {
@@ -158549,11 +158879,11 @@ function no_index_setvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r
158549
158879
 
158550
158880
  var no_index_set_component = normalizeComponent(
158551
158881
  result_comp_no_index_setvue_type_script_lang_js,
158552
- no_index_setvue_type_template_id_8c9135ae_scoped_true_render,
158553
- no_index_setvue_type_template_id_8c9135ae_scoped_true_staticRenderFns,
158882
+ no_index_setvue_type_template_id_76cff062_scoped_true_render,
158883
+ no_index_setvue_type_template_id_76cff062_scoped_true_staticRenderFns,
158554
158884
  false,
158555
158885
  null,
158556
- "8c9135ae",
158886
+ "76cff062",
158557
158887
  null
158558
158888
 
158559
158889
  )
@@ -162850,7 +163180,7 @@ const getSeriesData = _ref => {
162850
163180
  }]
162851
163181
  }), (0,external_vue_.h)("div", {
162852
163182
  "class": 'title-name'
162853
- }, [t('总趋势'), "66666"]), (0,external_vue_.h)("i18n", {
163183
+ }, [t('总趋势')]), (0,external_vue_.h)("i18n", {
162854
163184
  "class": 'time-result',
162855
163185
  "attrs": {
162856
163186
  "path": '(找到 {0} 条结果,用时 {1} 毫秒) {2}'
@@ -169388,6 +169718,7 @@ var update_field_setting_component = normalizeComponent(
169388
169718
 
169389
169719
 
169390
169720
 
169721
+
169391
169722
  // import FieldSelectConfig from './components/field-select-config.vue';
169392
169723
 
169393
169724
 
@@ -169636,31 +169967,11 @@ let FieldFilterComp = class FieldFilterComp extends external_vue_tsx_support_nam
169636
169967
  }
169637
169968
  /** 未开启白名单时 是否由前端来统计总数 */
169638
169969
  get isFrontStatistics() {
169639
- let isFront = true;
169640
169970
  const {
169641
- field_analysis_config: fieldAnalysisToggle
169642
- } = window.FEATURE_TOGGLE;
169643
- switch (fieldAnalysisToggle) {
169644
- case 'on':
169645
- isFront = false;
169646
- break;
169647
- case 'off':
169648
- isFront = true;
169649
- break;
169650
- default:
169651
- {
169652
- const {
169653
- scenario_id_white_list: scenarioIdWhiteList
169654
- } = window.FIELD_ANALYSIS_CONFIG;
169655
- const {
169656
- field_analysis_config: fieldAnalysisConfig
169657
- } = window.FEATURE_TOGGLE_WHITE_LIST;
169658
- const scenarioID = this.indexSetItem.items?.[0]?.scenario_id;
169659
- isFront = !(scenarioIdWhiteList?.includes(scenarioID) && fieldAnalysisConfig?.includes(Number(this.bkBizId)));
169660
- break;
169661
- }
169662
- }
169663
- return isFront;
169971
+ scenario_id_white_list: scenarioIdWhiteList
169972
+ } = window.FIELD_ANALYSIS_CONFIG;
169973
+ const scenarioID = this.indexSetItem.items?.[0]?.scenario_id;
169974
+ return !(scenarioIdWhiteList?.includes(scenarioID) && isFeatureToggleOn('field_analysis_config', this.bkBizId));
169664
169975
  }
169665
169976
  get indexSetId() {
169666
169977
  return window.__IS_MONITOR_COMPONENT__ ? this.$route.query.indexId : this.$route.params.indexId;
@@ -173121,8 +173432,8 @@ var fields_config_component = normalizeComponent(
173121
173432
  )
173122
173433
 
173123
173434
  /* harmony default export */ const fields_config = (fields_config_component.exports);
173124
- ;// ./node_modules/thread-loader/dist/cjs.js??clonedRuleSet-3.use[0]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use[1]!./node_modules/ifdef-loader/ifdef-loader.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/log-view/index.vue?vue&type=template&id=00538cfa
173125
- var log_viewvue_type_template_id_00538cfa_render = function render() {
173435
+ ;// ./node_modules/thread-loader/dist/cjs.js??clonedRuleSet-3.use[0]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use[1]!./node_modules/ifdef-loader/ifdef-loader.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/log-view/index.vue?vue&type=template&id=d23869f4
173436
+ var log_viewvue_type_template_id_d23869f4_render = function render() {
173126
173437
  var _vm = this,
173127
173438
  _c = _vm._self._c;
173128
173439
  return _c('section', {
@@ -173182,7 +173493,7 @@ var log_viewvue_type_template_id_00538cfa_render = function render() {
173182
173493
  }), _vm._v("\n ")], 1);
173183
173494
  }), _vm._v("\n ")], 2)]);
173184
173495
  };
173185
- var log_viewvue_type_template_id_00538cfa_staticRenderFns = [];
173496
+ var log_viewvue_type_template_id_d23869f4_staticRenderFns = [];
173186
173497
 
173187
173498
  ;// ./src/components/log-view/highlight-html.js
173188
173499
 
@@ -173410,8 +173721,10 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
173410
173721
  }
173411
173722
  },
173412
173723
  filterKey: {
173413
- type: String,
173414
- "default": ""
173724
+ type: [String, Array],
173725
+ "default": function _default() {
173726
+ return [];
173727
+ }
173415
173728
  },
173416
173729
  isRealTimeLog: {
173417
173730
  type: Boolean,
@@ -173470,14 +173783,20 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
173470
173783
  isIncludeFilter: function isIncludeFilter() {
173471
173784
  return this.filterType === "include";
173472
173785
  },
173786
+ normalizedFilterKey: function normalizedFilterKey() {
173787
+ if (Array.isArray(this.filterKey)) return this.filterKey;
173788
+ return this.filterKey ? [this.filterKey] : [];
173789
+ },
173473
173790
  getViewLightList: function getViewLightList() {
173474
173791
  var _this = this;
173475
173792
  var list = [];
173476
- if (this.filterKey) {
173477
- list.push({
173478
- str: this.filterKey,
173479
- style: "color: #FF5656; font-size: 12px; font-weight: 700;",
173480
- isUnique: true
173793
+ if (this.normalizedFilterKey.length && this.isIncludeFilter) {
173794
+ this.normalizedFilterKey.forEach(function (key) {
173795
+ list.push({
173796
+ str: key,
173797
+ style: "color: #FF5656; font-size: 12px; font-weight: 700;",
173798
+ isUnique: true
173799
+ });
173481
173800
  });
173482
173801
  }
173483
173802
  list.push.apply(list, toConsumableArray_toConsumableArray(this.lightList.map(function (item) {
@@ -173515,12 +173834,13 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
173515
173834
  }
173516
173835
  },
173517
173836
  escapedReverseLogList: function escapedReverseLogList() {
173518
- if (this.filterKey.length) {
173837
+ if (this.normalizedFilterKey.length) {
173519
173838
  this.setResRange();
173520
173839
  }
173521
173840
  },
173522
173841
  filterKey: function filterKey(val) {
173523
- if (val.length) {
173842
+ var normalized = Array.isArray(val) ? val : val ? [val] : [];
173843
+ if (normalized.length) {
173524
173844
  this.setResRange();
173525
173845
  } else {
173526
173846
  this.reverseResRangeIndexs.splice(0, this.reverseResRangeIndexs.length);
@@ -173533,7 +173853,7 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
173533
173853
  var _this3 = this;
173534
173854
  clearTimeout(this.intervalTime);
173535
173855
  this.intervalTime = setTimeout(function () {
173536
- if (_this3.filterKey.length) {
173856
+ if (_this3.normalizedFilterKey.length) {
173537
173857
  _this3.setResRange();
173538
173858
  }
173539
173859
  }, 500);
@@ -173545,21 +173865,25 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
173545
173865
  },
173546
173866
  methods: {
173547
173867
  checkLineShow: function checkLineShow(item, index, field) {
173868
+ if (!this.normalizedFilterKey.length) return true;
173548
173869
  if (this.isIncludeFilter) {
173549
- var list = field === "reverse" ? this.reverseResRangeIndexs : this.resRangeIndexs;
173870
+ var list = field === 'reverse' ? this.reverseResRangeIndexs : this.resRangeIndexs;
173550
173871
  return this.handleMatch(item) || list.includes(index);
173551
173872
  }
173552
- return this.filterKey.length ? !this.handleMatch(item) : true;
173873
+ return !this.handleMatch(item);
173553
173874
  },
173554
173875
  handleMatch: function handleMatch(item) {
173555
- var valStr = Object.values(item).join(" ");
173556
- var filterKey = this.filterKey;
173557
- var keyVal = this.ignoreCase ? valStr : valStr.toLowerCase();
173558
- filterKey = this.ignoreCase ? filterKey : filterKey.toLowerCase();
173559
- return keyVal.includes(filterKey);
173876
+ var _this4 = this;
173877
+ var valStr = Object.values(item).join(' ');
173878
+ if (!this.normalizedFilterKey.length) return false;
173879
+ return this.normalizedFilterKey.every(function (key) {
173880
+ var keyVal = _this4.ignoreCase ? valStr : valStr.toLowerCase();
173881
+ var filterKeyVal = _this4.ignoreCase ? key : key.toLowerCase();
173882
+ return keyVal.includes(filterKeyVal);
173883
+ });
173560
173884
  },
173561
173885
  lineMatch: function lineMatch(item) {
173562
- if (!this.filterKey) return false;
173886
+ if (!this.normalizedFilterKey.length) return false;
173563
173887
  return this.handleMatch(item) && Object.values(this.interval).some(Boolean);
173564
173888
  },
173565
173889
  escapeString: function escapeString(item) {
@@ -173581,7 +173905,7 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
173581
173905
  return escapeObj;
173582
173906
  },
173583
173907
  setResRange: function setResRange() {
173584
- var _this4 = this;
173908
+ var _this5 = this;
173585
173909
  this.resRangeIndexs.splice(0, this.resRangeIndexs.length);
173586
173910
  this.reverseResRangeIndexs.splice(0, this.reverseResRangeIndexs.length);
173587
173911
  var reverListLen = this.escapedReverseLogList.length;
@@ -173591,28 +173915,28 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
173591
173915
 
173592
173916
  // 根据前后行数缓存索引
173593
173917
  this.escapedReverseLogList.forEach(function (item, index) {
173594
- if (_this4.handleMatch(item)) {
173595
- var min = index - Number(_this4.interval.prev);
173596
- var max = index + Number(_this4.interval.next);
173918
+ if (_this5.handleMatch(item)) {
173919
+ var min = index - Number(_this5.interval.prev);
173920
+ var max = index + Number(_this5.interval.next);
173597
173921
  var minVal = min < 0 ? 0 : min;
173598
173922
  var maxVal = max >= reverListLen ? reverListLen - 1 : max;
173599
173923
  if (max >= reverListLen) resExtra = Math.abs(max - index);
173600
173924
  for (var i = minVal; i <= maxVal; i++) {
173601
- _this4.reverseResRangeIndexs.push(i);
173925
+ _this5.reverseResRangeIndexs.push(i);
173602
173926
  }
173603
173927
  }
173604
173928
  });
173605
173929
 
173606
173930
  // 根据前后行数缓存索引
173607
173931
  this.escapedLogList.forEach(function (item, index) {
173608
- if (_this4.handleMatch(item)) {
173609
- var min = index - Number(_this4.interval.prev);
173610
- var max = index + Number(_this4.interval.next);
173932
+ if (_this5.handleMatch(item)) {
173933
+ var min = index - Number(_this5.interval.prev);
173934
+ var max = index + Number(_this5.interval.next);
173611
173935
  var minVal = min < 0 ? 0 : min;
173612
173936
  var maxVal = max >= listLen ? listLen - 1 : max;
173613
173937
  if (min < 0) reverseResExtra = Math.abs(min);
173614
173938
  for (var i = minVal; i <= maxVal; i++) {
173615
- _this4.resRangeIndexs.push(i);
173939
+ _this5.resRangeIndexs.push(i);
173616
173940
  }
173617
173941
  }
173618
173942
  });
@@ -173650,8 +173974,8 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
173650
173974
 
173651
173975
  var log_view_component = normalizeComponent(
173652
173976
  components_log_viewvue_type_script_lang_js,
173653
- log_viewvue_type_template_id_00538cfa_render,
173654
- log_viewvue_type_template_id_00538cfa_staticRenderFns,
173977
+ log_viewvue_type_template_id_d23869f4_render,
173978
+ log_viewvue_type_template_id_d23869f4_staticRenderFns,
173655
173979
  false,
173656
173980
  null,
173657
173981
  null,
@@ -173998,6 +174322,10 @@ var lodash = __webpack_require__(543);
173998
174322
  lightList: {
173999
174323
  type: Array,
174000
174324
  default: () => []
174325
+ },
174326
+ containerSelector: {
174327
+ type: String,
174328
+ default: '.dialog-log-markdown'
174001
174329
  }
174002
174330
  },
174003
174331
  setup(props, _ref) {
@@ -174029,7 +174357,8 @@ var lodash = __webpack_require__(543);
174029
174357
  highlightHtmlList = document.querySelectorAll('[data-index="light"]');
174030
174358
  lightSize.value = highlightHtmlList.length;
174031
174359
  if (lightSize.value) {
174032
- const markDom = document.querySelector('.dialog-log-markdown');
174360
+ const markDom = document.querySelector(props.containerSelector);
174361
+ if (!markDom) return;
174033
174362
  const markTop = markDom.getBoundingClientRect().top;
174034
174363
  let isFindShow = false;
174035
174364
  for (let index = 0; index < highlightHtmlList.length; index++) {
@@ -174259,8 +174588,8 @@ var lodash = __webpack_require__(543);
174259
174588
  const highlightControlRef = (0,external_vue_.ref)(null);
174260
174589
  const tagInputRef = (0,external_vue_.ref)(null);
174261
174590
  const filterType = (0,external_vue_.ref)('include');
174262
- const filterKey = (0,external_vue_.ref)('');
174263
- const catchFilterKey = (0,external_vue_.ref)('');
174591
+ const filterKey = (0,external_vue_.ref)([]);
174592
+ const catchFilterKey = (0,external_vue_.ref)([]);
174264
174593
  const ignoreCase = (0,external_vue_.ref)(false);
174265
174594
  const highlightList = (0,external_vue_.ref)([]);
174266
174595
  const colorHighlightList = (0,external_vue_.ref)([]);
@@ -174304,11 +174633,11 @@ var lodash = __webpack_require__(543);
174304
174633
  });
174305
174634
  const catchColorIndexList = (0,external_vue_.computed)(() => colorHighlightList.value.map(item => item.colorIndex));
174306
174635
  const filterLog = () => {
174307
- catchFilterKey.value = filterKey.value;
174636
+ catchFilterKey.value = [...filterKey.value];
174308
174637
  emit('handle-filter', 'filterKey', filterKey.value);
174309
174638
  };
174310
174639
  const blurFilterLog = () => {
174311
- if (!catchFilterKey.value && !filterKey.value) return;
174640
+ if (catchFilterKey.value.length === 0 && filterKey.value.length === 0) return;
174312
174641
  filterLog();
174313
174642
  };
174314
174643
  const changeLightList = () => {
@@ -174344,6 +174673,15 @@ var lodash = __webpack_require__(543);
174344
174673
  emit('handle-filter', 'interval', state ? interval.value : baseInterval);
174345
174674
  };
174346
174675
  // 粘贴过滤条件
174676
+ const filterPasteFn = pasteValue => {
174677
+ const trimPasteValue = pasteValue.trim();
174678
+ if (!filterKey.value.includes(trimPasteValue)) {
174679
+ filterKey.value.push(trimPasteValue);
174680
+ filterLog();
174681
+ }
174682
+ return [];
174683
+ };
174684
+ // 粘贴高亮条件
174347
174685
  const pasteFn = pasteValue => {
174348
174686
  const trimPasteValue = pasteValue.trim();
174349
174687
  if (!highlightList.value.includes(trimPasteValue) && highlightList.value.length < 5) {
@@ -174396,7 +174734,7 @@ var lodash = __webpack_require__(543);
174396
174734
  highlightList.value = [];
174397
174735
  interval.value = (0,lodash.cloneDeep)(baseInterval);
174398
174736
  ignoreCase.value = false;
174399
- filterKey.value = '';
174737
+ filterKey.value = [];
174400
174738
  showType.value = 'log';
174401
174739
  filterType.value = 'include';
174402
174740
  fieldConfigPopoverInstance?.hide();
@@ -174424,21 +174762,20 @@ var lodash = __webpack_require__(543);
174424
174762
  "name": option.name
174425
174763
  },
174426
174764
  "key": index
174427
- }))]), (0,external_vue_.h)("bk-input", {
174765
+ }))]), (0,external_vue_.h)("bk-tag-input", {
174428
174766
  "class": 'filter-key-input',
174429
174767
  "attrs": {
174430
174768
  "placeholder": t('输入关键字进行过滤'),
174431
- "right-icon": 'bk-icon icon-search',
174432
174769
  "value": filterKey.value,
174433
- "clearable": true
174770
+ "allow-create": true,
174771
+ "has-delete-icon": true,
174772
+ "paste-fn": filterPasteFn
174434
174773
  },
174435
174774
  "on": {
174436
- "blur": blurFilterLog,
174437
174775
  "change": value => {
174438
174776
  filterKey.value = value;
174439
- },
174440
- "clear": filterLog,
174441
- "enter": filterLog
174777
+ filterLog();
174778
+ }
174442
174779
  }
174443
174780
  })]), (0,external_vue_.h)("div", {
174444
174781
  "class": 'highlight-main'
@@ -177293,7 +177630,7 @@ var json_formatter_component = normalizeComponent(
177293
177630
  const prevBegin = (0,external_vue_.ref)(0);
177294
177631
  const nextBegin = (0,external_vue_.ref)(0);
177295
177632
  const filterType = (0,external_vue_.ref)('include');
177296
- const activeFilterKey = (0,external_vue_.ref)('');
177633
+ const activeFilterKey = (0,external_vue_.ref)([]);
177297
177634
  const ignoreCase = (0,external_vue_.ref)(false);
177298
177635
  const showType = (0,external_vue_.ref)('log');
177299
177636
  const highlightList = (0,external_vue_.ref)([]);
@@ -177359,7 +177696,7 @@ var json_formatter_component = normalizeComponent(
177359
177696
  next: 0
177360
177697
  };
177361
177698
  ignoreCase.value = false;
177362
- activeFilterKey.value = '';
177699
+ activeFilterKey.value = [];
177363
177700
  showType.value = 'log';
177364
177701
  filterType.value = 'include';
177365
177702
  initLogValues();
@@ -177601,7 +177938,7 @@ var json_formatter_component = normalizeComponent(
177601
177938
  activeFilterKey.value = value;
177602
177939
  clearTimeout(throttleTimer);
177603
177940
  throttleTimer = setTimeout(() => {
177604
- if (!value) {
177941
+ if (!value.length) {
177605
177942
  (0,external_vue_.nextTick)(() => {
177606
177943
  initLogScrollPosition();
177607
177944
  });
@@ -177805,7 +178142,7 @@ var json_formatter_component = normalizeComponent(
177805
178142
  const prevBegin = (0,external_vue_.ref)(0);
177806
178143
  const nextBegin = (0,external_vue_.ref)(0);
177807
178144
  const filterType = (0,external_vue_.ref)('include');
177808
- const activeFilterKey = (0,external_vue_.ref)('');
178145
+ const activeFilterKey = (0,external_vue_.ref)([]);
177809
178146
  const ignoreCase = (0,external_vue_.ref)(false);
177810
178147
  const showType = (0,external_vue_.ref)('log');
177811
178148
  const highlightList = (0,external_vue_.ref)([]);
@@ -177875,7 +178212,7 @@ var json_formatter_component = normalizeComponent(
177875
178212
  next: 0
177876
178213
  };
177877
178214
  ignoreCase.value = false;
177878
- activeFilterKey.value = '';
178215
+ activeFilterKey.value = [];
177879
178216
  showType.value = 'log';
177880
178217
  filterType.value = 'include';
177881
178218
  initLogValues();
@@ -178035,7 +178372,7 @@ var json_formatter_component = normalizeComponent(
178035
178372
  activeFilterKey.value = value;
178036
178373
  clearTimeout(throttleTimer);
178037
178374
  throttleTimer = setTimeout(() => {
178038
- if (!value) {
178375
+ if (!value.length) {
178039
178376
  (0,external_vue_.nextTick)(() => {
178040
178377
  initLogScrollPosition();
178041
178378
  });
@@ -213628,56 +213965,6 @@ const getRuleMessage = rule => {
213628
213965
  }, [t('取消')])])])]);
213629
213966
  }
213630
213967
  }));
213631
- ;// ./src/utils/decode.ts
213632
- /*
213633
- * Tencent is pleased to support the open source community by making
213634
- * 蓝鲸智云PaaS平台 (BlueKing PaaS) available.
213635
- *
213636
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
213637
- *
213638
- * 蓝鲸智云PaaS平台 (BlueKing PaaS) is licensed under the MIT License.
213639
- *
213640
- * License for 蓝鲸智云PaaS平台 (BlueKing PaaS):
213641
- *
213642
- * ---------------------------------------------------
213643
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
213644
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
213645
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
213646
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
213647
- *
213648
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
213649
- * the Software.
213650
- *
213651
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
213652
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
213653
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
213654
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
213655
- * IN THE SOFTWARE.
213656
- */
213657
-
213658
- // base64转规则列表
213659
- function base64ToRuleList(str) {
213660
- if (!str) {
213661
- return [];
213662
- }
213663
- try {
213664
- const ruleList = JSON.parse(base64Decode(str));
213665
- const ruleNewList = ruleList.reduce((pre, cur, index) => {
213666
- const itemObj = {};
213667
- const matchVal = cur.match(/:(.*)/);
213668
- const key = cur.substring(0, matchVal.index);
213669
- itemObj[key] = matchVal[1];
213670
- itemObj.__Index__ = index;
213671
- pre.push(itemObj);
213672
- return pre;
213673
- }, []);
213674
- return ruleNewList;
213675
- } catch {
213676
- return [];
213677
- }
213678
- }
213679
- ;// ./src/utils/index.ts
213680
-
213681
213968
  ;// ./src/views/retrieve-v3/search-result/log-clustering/log-table/content-table/cluster-popover/regex-match/index.tsx
213682
213969
  /*
213683
213970
  * Tencent is pleased to support the open source community by making
@@ -218707,8 +218994,8 @@ const SearchResultTab = () => null;
218707
218994
  }), renderTabContent()]);
218708
218995
  }
218709
218996
  }));
218710
- ;// ./node_modules/thread-loader/dist/cjs.js??clonedRuleSet-3.use[0]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use[1]!./node_modules/ifdef-loader/ifdef-loader.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/views/retrieve-v2/sub-bar/index.vue?vue&type=template&id=2a8cbac2
218711
- var sub_barvue_type_template_id_2a8cbac2_render = function render() {
218997
+ ;// ./node_modules/thread-loader/dist/cjs.js??clonedRuleSet-3.use[0]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use[1]!./node_modules/ifdef-loader/ifdef-loader.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/views/retrieve-v2/sub-bar/index.vue?vue&type=template&id=08eba3c6
218998
+ var sub_barvue_type_template_id_08eba3c6_render = function render() {
218712
218999
  var _vm = this,
218713
219000
  _c = _vm._self._c,
218714
219001
  _setup = _vm._self._setupProxy;
@@ -218788,7 +219075,7 @@ var sub_barvue_type_template_id_2a8cbac2_render = function render() {
218788
219075
  }
218789
219076
  })], 1) : _vm._e()]);
218790
219077
  };
218791
- var sub_barvue_type_template_id_2a8cbac2_staticRenderFns = [];
219078
+ var sub_barvue_type_template_id_08eba3c6_staticRenderFns = [];
218792
219079
 
218793
219080
  ;// ./src/components/ellipsis-tag-list/index.tsx
218794
219081
  /*
@@ -221196,14 +221483,7 @@ var AutoRefresh = function AutoRefresh() {
221196
221483
  /**
221197
221484
  * 根据当前索引ID和pid生成唯一ID
221198
221485
  */
221199
- // window.__IS_MONITOR_COMPONENT__ = true;
221200
221486
  var indexSetUid = (0,external_vue_.computed)(function () {
221201
- // if (window.__IS_MONITOR_COMPONENT__) {
221202
- // const dataValidItem = indexSetList.value.find((item) => item.tags.every((tag) => tag.tag_id !== 4));
221203
- // if (dataValidItem) {
221204
- // return [`#_${dataValidItem.index_set_id}`];
221205
- // }
221206
- // }
221207
221487
  return indexSetValue.value.map(function (v, index) {
221208
221488
  var _indexSetPid$value$in;
221209
221489
  return "".concat((_indexSetPid$value$in = indexSetPid.value[index]) !== null && _indexSetPid$value$in !== void 0 ? _indexSetPid$value$in : '#', "_").concat(v);
@@ -221534,8 +221814,8 @@ var AutoRefresh = function AutoRefresh() {
221534
221814
 
221535
221815
  var sub_bar_component = normalizeComponent(
221536
221816
  retrieve_v2_sub_barvue_type_script_setup_true_lang_js,
221537
- sub_barvue_type_template_id_2a8cbac2_render,
221538
- sub_barvue_type_template_id_2a8cbac2_staticRenderFns,
221817
+ sub_barvue_type_template_id_08eba3c6_render,
221818
+ sub_barvue_type_template_id_08eba3c6_staticRenderFns,
221539
221819
  false,
221540
221820
  null,
221541
221821
  null,
@@ -221642,6 +221922,7 @@ var sub_bar_component = normalizeComponent(
221642
221922
 
221643
221923
 
221644
221924
 
221925
+
221645
221926
  /* harmony default export */ const use_monitor_app_init = (indexSetApi => {
221646
221927
  const store = use_store();
221647
221928
  const router = useRouter();
@@ -221759,22 +222040,33 @@ var sub_bar_component = normalizeComponent(
221759
222040
  if (!resp?.length) {
221760
222041
  return;
221761
222042
  }
221762
- // 如果当前地址参数没有indexSetId,先读取本地 MONITOR_LOG_RECENT_INDEX_SET_IDS,有的话设置
222043
+ // 如果当前地址参数没有indexSetId,先读取本地 MONITOR_LOG_RECENT_INDEX_SET_ID,有的话设置
221763
222044
  // 本地如果没有 MONITOR_LOG_RECENT_INDEX_SET_IDS,则默认取第一个有数据的索引集
221764
222045
  // 同时,更新索引信息到store中
221765
222046
  if (!indexSetIdList.value.length) {
221766
- const memoryIdStr = localStorage.getItem('MONITOR_LOG_RECENT_INDEX_SET_ID');
222047
+ const query = getLocationQueryParams();
222048
+ const bizAppKey = `${query.bizId} ${query['filter-app_name']}`;
222049
+ const memoryStr = localStorage.getItem('MONITOR_LOG_RECENT_INDEX_SET_ID');
221767
222050
  let defaultId = '';
221768
- if (memoryIdStr) {
221769
- const memoryId = JSON.parse(memoryIdStr)[0];
221770
- const defaultValidItem = resp.find(item => item.index_set_id === memoryId);
221771
- if (defaultValidItem) {
221772
- defaultId = memoryId;
222051
+ if (memoryStr) {
222052
+ const memoryObj = JSON.parse(memoryStr);
222053
+ const memoryIds = memoryObj[bizAppKey];
222054
+ if (memoryIds) {
222055
+ const memoryId = memoryIds[0];
222056
+ const defaultValidItem = resp.find(item => item.index_set_id === memoryId && item.tags.every(tag => tag.tag_id !== 4));
222057
+ if (defaultValidItem) {
222058
+ defaultId = memoryId;
222059
+ }
221773
222060
  }
221774
222061
  }
221775
222062
  if (!defaultId) {
221776
222063
  const dataValidItem = resp.find(item => item.tags.every(tag => tag.tag_id !== 4));
221777
- defaultId = `${dataValidItem.index_set_id}`;
222064
+ if (dataValidItem) {
222065
+ defaultId = `${dataValidItem.index_set_id}`;
222066
+ } else {
222067
+ // 也可能存在只有无数据的采集项,这种情况取第一个即可
222068
+ defaultId = `${resp[0].index_set_id}`;
222069
+ }
221778
222070
  }
221779
222071
  store.commit('updateIndexItem', {
221780
222072
  ids: [defaultId],
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@blueking/monitor-apm-log","version":"2.3.14","description":"","main":"main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT"}
1
+ {"name":"@blueking/monitor-apm-log","version":"2.3.16","description":"","main":"main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT"}