@blueking/monitor-apm-log 2.3.13 → 2.3.15
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 +12 -6
- package/fonts/{iconcool076b1df.woff → iconcool0d23257.woff} +0 -0
- package/fonts/{iconcool2cac46b.ttf → iconcool9033dee.ttf} +0 -0
- package/fonts/{iconcool2e069a4.eot → iconcoole1159ba.eot} +0 -0
- package/img/{iconcoolc94fa39.svg → iconcool8a54431.svg} +6 -0
- package/main.js +363 -120
- package/package.json +1 -1
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-
|
|
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/
|
|
220
|
-
url(../fonts/
|
|
221
|
-
url(../fonts/
|
|
222
|
-
url(../fonts/
|
|
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}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -917,6 +917,12 @@
|
|
|
917
917
|
<glyph glyph-name="uniE26B" unicode="" 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="" 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="" 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: () => (
|
|
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
|
|
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/
|
|
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
|
-
|
|
48311
|
-
|
|
48312
|
-
|
|
48313
|
-
|
|
48314
|
-
|
|
48315
|
-
|
|
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
|
-
|
|
48534
|
+
if (blackList.length > 0) {
|
|
48535
|
+
return !isHitList(blackList, values);
|
|
48536
|
+
}
|
|
48537
|
+
return false;
|
|
48318
48538
|
}
|
|
48319
|
-
return
|
|
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
|
|
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];
|
|
@@ -54156,15 +54405,12 @@ class RetrieveHelper extends base {
|
|
|
54156
54405
|
}
|
|
54157
54406
|
/**
|
|
54158
54407
|
* 更新索引集id
|
|
54159
|
-
* @param id
|
|
54408
|
+
* @param id
|
|
54160
54409
|
*/
|
|
54161
54410
|
setIndexsetId(idList, type) {
|
|
54162
54411
|
let fireEvent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
54163
|
-
console.log('window.__IS_MONITOR_COMPONENT__ = ', window.__IS_MONITOR_COMPONENT__);
|
|
54164
|
-
console.log('setIndexsetId !!!', idList, type, fireEvent);
|
|
54165
54412
|
// 监控下的关联日志需要再浏览器本地记住最近一次使用的索引集
|
|
54166
54413
|
if (window.__IS_MONITOR_COMPONENT__) {
|
|
54167
|
-
console.log('设置到本地');
|
|
54168
54414
|
localStorage.setItem('MONITOR_LOG_RECENT_INDEX_SET_ID', JSON.stringify(idList));
|
|
54169
54415
|
}
|
|
54170
54416
|
this.indexSetIdList = idList;
|
|
@@ -158463,8 +158709,8 @@ var search_result_panelvue_type_template_id_06235de0_render = function render()
|
|
|
158463
158709
|
};
|
|
158464
158710
|
var search_result_panelvue_type_template_id_06235de0_staticRenderFns = [];
|
|
158465
158711
|
|
|
158466
|
-
;// ./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=
|
|
158467
|
-
var
|
|
158712
|
+
;// ./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
|
|
158713
|
+
var no_index_setvue_type_template_id_76cff062_scoped_true_render = function render() {
|
|
158468
158714
|
var _vm = this,
|
|
158469
158715
|
_c = _vm._self._c;
|
|
158470
158716
|
return _c('div', {
|
|
@@ -158505,13 +158751,14 @@ var no_index_setvue_type_template_id_8c9135ae_scoped_true_render = function rend
|
|
|
158505
158751
|
staticClass: "side-tip"
|
|
158506
158752
|
}, [_vm._v("\n " + _vm._s(_vm.$t('请联系业务运维配索引集')) + "\n ")])]);
|
|
158507
158753
|
};
|
|
158508
|
-
var
|
|
158754
|
+
var no_index_setvue_type_template_id_76cff062_scoped_true_staticRenderFns = [];
|
|
158509
158755
|
|
|
158510
158756
|
;// ./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
|
|
158511
158757
|
|
|
158512
158758
|
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; }
|
|
158513
158759
|
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; }
|
|
158514
158760
|
|
|
158761
|
+
|
|
158515
158762
|
/* harmony default export */ const no_index_setvue_type_script_lang_js = ({
|
|
158516
158763
|
computed: no_index_setvue_type_script_lang_js_objectSpread({}, (0,external_vuex_namespaceObject.mapGetters)({
|
|
158517
158764
|
space: 'space'
|
|
@@ -158526,7 +158773,7 @@ function no_index_setvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r
|
|
|
158526
158773
|
});
|
|
158527
158774
|
},
|
|
158528
158775
|
goToCreateCollection: function goToCreateCollection() {
|
|
158529
|
-
if (
|
|
158776
|
+
if (isFeatureToggleOn('scenario_log', [String(this.$store.state.bkBizId), String(this.$store.state.spaceUid)])) {
|
|
158530
158777
|
this.$router.push({
|
|
158531
158778
|
path: '/manage/log-collection',
|
|
158532
158779
|
query: {
|
|
@@ -158552,11 +158799,11 @@ function no_index_setvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r
|
|
|
158552
158799
|
|
|
158553
158800
|
var no_index_set_component = normalizeComponent(
|
|
158554
158801
|
result_comp_no_index_setvue_type_script_lang_js,
|
|
158555
|
-
|
|
158556
|
-
|
|
158802
|
+
no_index_setvue_type_template_id_76cff062_scoped_true_render,
|
|
158803
|
+
no_index_setvue_type_template_id_76cff062_scoped_true_staticRenderFns,
|
|
158557
158804
|
false,
|
|
158558
158805
|
null,
|
|
158559
|
-
"
|
|
158806
|
+
"76cff062",
|
|
158560
158807
|
null
|
|
158561
158808
|
|
|
158562
158809
|
)
|
|
@@ -162853,7 +163100,7 @@ const getSeriesData = _ref => {
|
|
|
162853
163100
|
}]
|
|
162854
163101
|
}), (0,external_vue_.h)("div", {
|
|
162855
163102
|
"class": 'title-name'
|
|
162856
|
-
}, [t('总趋势')
|
|
163103
|
+
}, [t('总趋势')]), (0,external_vue_.h)("i18n", {
|
|
162857
163104
|
"class": 'time-result',
|
|
162858
163105
|
"attrs": {
|
|
162859
163106
|
"path": '(找到 {0} 条结果,用时 {1} 毫秒) {2}'
|
|
@@ -169391,6 +169638,7 @@ var update_field_setting_component = normalizeComponent(
|
|
|
169391
169638
|
|
|
169392
169639
|
|
|
169393
169640
|
|
|
169641
|
+
|
|
169394
169642
|
// import FieldSelectConfig from './components/field-select-config.vue';
|
|
169395
169643
|
|
|
169396
169644
|
|
|
@@ -169639,31 +169887,11 @@ let FieldFilterComp = class FieldFilterComp extends external_vue_tsx_support_nam
|
|
|
169639
169887
|
}
|
|
169640
169888
|
/** 未开启白名单时 是否由前端来统计总数 */
|
|
169641
169889
|
get isFrontStatistics() {
|
|
169642
|
-
let isFront = true;
|
|
169643
169890
|
const {
|
|
169644
|
-
|
|
169645
|
-
} = window.
|
|
169646
|
-
|
|
169647
|
-
|
|
169648
|
-
isFront = false;
|
|
169649
|
-
break;
|
|
169650
|
-
case 'off':
|
|
169651
|
-
isFront = true;
|
|
169652
|
-
break;
|
|
169653
|
-
default:
|
|
169654
|
-
{
|
|
169655
|
-
const {
|
|
169656
|
-
scenario_id_white_list: scenarioIdWhiteList
|
|
169657
|
-
} = window.FIELD_ANALYSIS_CONFIG;
|
|
169658
|
-
const {
|
|
169659
|
-
field_analysis_config: fieldAnalysisConfig
|
|
169660
|
-
} = window.FEATURE_TOGGLE_WHITE_LIST;
|
|
169661
|
-
const scenarioID = this.indexSetItem.items?.[0]?.scenario_id;
|
|
169662
|
-
isFront = !(scenarioIdWhiteList?.includes(scenarioID) && fieldAnalysisConfig?.includes(Number(this.bkBizId)));
|
|
169663
|
-
break;
|
|
169664
|
-
}
|
|
169665
|
-
}
|
|
169666
|
-
return isFront;
|
|
169891
|
+
scenario_id_white_list: scenarioIdWhiteList
|
|
169892
|
+
} = window.FIELD_ANALYSIS_CONFIG;
|
|
169893
|
+
const scenarioID = this.indexSetItem.items?.[0]?.scenario_id;
|
|
169894
|
+
return !(scenarioIdWhiteList?.includes(scenarioID) && isFeatureToggleOn('field_analysis_config', this.bkBizId));
|
|
169667
169895
|
}
|
|
169668
169896
|
get indexSetId() {
|
|
169669
169897
|
return window.__IS_MONITOR_COMPONENT__ ? this.$route.query.indexId : this.$route.params.indexId;
|
|
@@ -173124,8 +173352,8 @@ var fields_config_component = normalizeComponent(
|
|
|
173124
173352
|
)
|
|
173125
173353
|
|
|
173126
173354
|
/* harmony default export */ const fields_config = (fields_config_component.exports);
|
|
173127
|
-
;// ./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=
|
|
173128
|
-
var
|
|
173355
|
+
;// ./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
|
|
173356
|
+
var log_viewvue_type_template_id_d23869f4_render = function render() {
|
|
173129
173357
|
var _vm = this,
|
|
173130
173358
|
_c = _vm._self._c;
|
|
173131
173359
|
return _c('section', {
|
|
@@ -173185,7 +173413,7 @@ var log_viewvue_type_template_id_00538cfa_render = function render() {
|
|
|
173185
173413
|
}), _vm._v("\n ")], 1);
|
|
173186
173414
|
}), _vm._v("\n ")], 2)]);
|
|
173187
173415
|
};
|
|
173188
|
-
var
|
|
173416
|
+
var log_viewvue_type_template_id_d23869f4_staticRenderFns = [];
|
|
173189
173417
|
|
|
173190
173418
|
;// ./src/components/log-view/highlight-html.js
|
|
173191
173419
|
|
|
@@ -173413,8 +173641,10 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
|
|
|
173413
173641
|
}
|
|
173414
173642
|
},
|
|
173415
173643
|
filterKey: {
|
|
173416
|
-
type: String,
|
|
173417
|
-
"default":
|
|
173644
|
+
type: [String, Array],
|
|
173645
|
+
"default": function _default() {
|
|
173646
|
+
return [];
|
|
173647
|
+
}
|
|
173418
173648
|
},
|
|
173419
173649
|
isRealTimeLog: {
|
|
173420
173650
|
type: Boolean,
|
|
@@ -173473,14 +173703,20 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
|
|
|
173473
173703
|
isIncludeFilter: function isIncludeFilter() {
|
|
173474
173704
|
return this.filterType === "include";
|
|
173475
173705
|
},
|
|
173706
|
+
normalizedFilterKey: function normalizedFilterKey() {
|
|
173707
|
+
if (Array.isArray(this.filterKey)) return this.filterKey;
|
|
173708
|
+
return this.filterKey ? [this.filterKey] : [];
|
|
173709
|
+
},
|
|
173476
173710
|
getViewLightList: function getViewLightList() {
|
|
173477
173711
|
var _this = this;
|
|
173478
173712
|
var list = [];
|
|
173479
|
-
if (this.
|
|
173480
|
-
|
|
173481
|
-
|
|
173482
|
-
|
|
173483
|
-
|
|
173713
|
+
if (this.normalizedFilterKey.length && this.isIncludeFilter) {
|
|
173714
|
+
this.normalizedFilterKey.forEach(function (key) {
|
|
173715
|
+
list.push({
|
|
173716
|
+
str: key,
|
|
173717
|
+
style: "color: #FF5656; font-size: 12px; font-weight: 700;",
|
|
173718
|
+
isUnique: true
|
|
173719
|
+
});
|
|
173484
173720
|
});
|
|
173485
173721
|
}
|
|
173486
173722
|
list.push.apply(list, toConsumableArray_toConsumableArray(this.lightList.map(function (item) {
|
|
@@ -173518,12 +173754,13 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
|
|
|
173518
173754
|
}
|
|
173519
173755
|
},
|
|
173520
173756
|
escapedReverseLogList: function escapedReverseLogList() {
|
|
173521
|
-
if (this.
|
|
173757
|
+
if (this.normalizedFilterKey.length) {
|
|
173522
173758
|
this.setResRange();
|
|
173523
173759
|
}
|
|
173524
173760
|
},
|
|
173525
173761
|
filterKey: function filterKey(val) {
|
|
173526
|
-
|
|
173762
|
+
var normalized = Array.isArray(val) ? val : val ? [val] : [];
|
|
173763
|
+
if (normalized.length) {
|
|
173527
173764
|
this.setResRange();
|
|
173528
173765
|
} else {
|
|
173529
173766
|
this.reverseResRangeIndexs.splice(0, this.reverseResRangeIndexs.length);
|
|
@@ -173536,7 +173773,7 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
|
|
|
173536
173773
|
var _this3 = this;
|
|
173537
173774
|
clearTimeout(this.intervalTime);
|
|
173538
173775
|
this.intervalTime = setTimeout(function () {
|
|
173539
|
-
if (_this3.
|
|
173776
|
+
if (_this3.normalizedFilterKey.length) {
|
|
173540
173777
|
_this3.setResRange();
|
|
173541
173778
|
}
|
|
173542
173779
|
}, 500);
|
|
@@ -173548,21 +173785,25 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
|
|
|
173548
173785
|
},
|
|
173549
173786
|
methods: {
|
|
173550
173787
|
checkLineShow: function checkLineShow(item, index, field) {
|
|
173788
|
+
if (!this.normalizedFilterKey.length) return true;
|
|
173551
173789
|
if (this.isIncludeFilter) {
|
|
173552
|
-
var list = field ===
|
|
173790
|
+
var list = field === 'reverse' ? this.reverseResRangeIndexs : this.resRangeIndexs;
|
|
173553
173791
|
return this.handleMatch(item) || list.includes(index);
|
|
173554
173792
|
}
|
|
173555
|
-
return
|
|
173793
|
+
return !this.handleMatch(item);
|
|
173556
173794
|
},
|
|
173557
173795
|
handleMatch: function handleMatch(item) {
|
|
173558
|
-
var
|
|
173559
|
-
var
|
|
173560
|
-
|
|
173561
|
-
|
|
173562
|
-
|
|
173796
|
+
var _this4 = this;
|
|
173797
|
+
var valStr = Object.values(item).join(' ');
|
|
173798
|
+
if (!this.normalizedFilterKey.length) return false;
|
|
173799
|
+
return this.normalizedFilterKey.every(function (key) {
|
|
173800
|
+
var keyVal = _this4.ignoreCase ? valStr : valStr.toLowerCase();
|
|
173801
|
+
var filterKeyVal = _this4.ignoreCase ? key : key.toLowerCase();
|
|
173802
|
+
return keyVal.includes(filterKeyVal);
|
|
173803
|
+
});
|
|
173563
173804
|
},
|
|
173564
173805
|
lineMatch: function lineMatch(item) {
|
|
173565
|
-
if (!this.
|
|
173806
|
+
if (!this.normalizedFilterKey.length) return false;
|
|
173566
173807
|
return this.handleMatch(item) && Object.values(this.interval).some(Boolean);
|
|
173567
173808
|
},
|
|
173568
173809
|
escapeString: function escapeString(item) {
|
|
@@ -173584,7 +173825,7 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
|
|
|
173584
173825
|
return escapeObj;
|
|
173585
173826
|
},
|
|
173586
173827
|
setResRange: function setResRange() {
|
|
173587
|
-
var
|
|
173828
|
+
var _this5 = this;
|
|
173588
173829
|
this.resRangeIndexs.splice(0, this.resRangeIndexs.length);
|
|
173589
173830
|
this.reverseResRangeIndexs.splice(0, this.reverseResRangeIndexs.length);
|
|
173590
173831
|
var reverListLen = this.escapedReverseLogList.length;
|
|
@@ -173594,28 +173835,28 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
|
|
|
173594
173835
|
|
|
173595
173836
|
// 根据前后行数缓存索引
|
|
173596
173837
|
this.escapedReverseLogList.forEach(function (item, index) {
|
|
173597
|
-
if (
|
|
173598
|
-
var min = index - Number(
|
|
173599
|
-
var max = index + Number(
|
|
173838
|
+
if (_this5.handleMatch(item)) {
|
|
173839
|
+
var min = index - Number(_this5.interval.prev);
|
|
173840
|
+
var max = index + Number(_this5.interval.next);
|
|
173600
173841
|
var minVal = min < 0 ? 0 : min;
|
|
173601
173842
|
var maxVal = max >= reverListLen ? reverListLen - 1 : max;
|
|
173602
173843
|
if (max >= reverListLen) resExtra = Math.abs(max - index);
|
|
173603
173844
|
for (var i = minVal; i <= maxVal; i++) {
|
|
173604
|
-
|
|
173845
|
+
_this5.reverseResRangeIndexs.push(i);
|
|
173605
173846
|
}
|
|
173606
173847
|
}
|
|
173607
173848
|
});
|
|
173608
173849
|
|
|
173609
173850
|
// 根据前后行数缓存索引
|
|
173610
173851
|
this.escapedLogList.forEach(function (item, index) {
|
|
173611
|
-
if (
|
|
173612
|
-
var min = index - Number(
|
|
173613
|
-
var max = index + Number(
|
|
173852
|
+
if (_this5.handleMatch(item)) {
|
|
173853
|
+
var min = index - Number(_this5.interval.prev);
|
|
173854
|
+
var max = index + Number(_this5.interval.next);
|
|
173614
173855
|
var minVal = min < 0 ? 0 : min;
|
|
173615
173856
|
var maxVal = max >= listLen ? listLen - 1 : max;
|
|
173616
173857
|
if (min < 0) reverseResExtra = Math.abs(min);
|
|
173617
173858
|
for (var i = minVal; i <= maxVal; i++) {
|
|
173618
|
-
|
|
173859
|
+
_this5.resRangeIndexs.push(i);
|
|
173619
173860
|
}
|
|
173620
173861
|
}
|
|
173621
173862
|
});
|
|
@@ -173653,8 +173894,8 @@ function highlight_html_arrayLikeToArray(r, a) { (null == a || a > r.length) &&
|
|
|
173653
173894
|
|
|
173654
173895
|
var log_view_component = normalizeComponent(
|
|
173655
173896
|
components_log_viewvue_type_script_lang_js,
|
|
173656
|
-
|
|
173657
|
-
|
|
173897
|
+
log_viewvue_type_template_id_d23869f4_render,
|
|
173898
|
+
log_viewvue_type_template_id_d23869f4_staticRenderFns,
|
|
173658
173899
|
false,
|
|
173659
173900
|
null,
|
|
173660
173901
|
null,
|
|
@@ -174001,6 +174242,10 @@ var lodash = __webpack_require__(543);
|
|
|
174001
174242
|
lightList: {
|
|
174002
174243
|
type: Array,
|
|
174003
174244
|
default: () => []
|
|
174245
|
+
},
|
|
174246
|
+
containerSelector: {
|
|
174247
|
+
type: String,
|
|
174248
|
+
default: '.dialog-log-markdown'
|
|
174004
174249
|
}
|
|
174005
174250
|
},
|
|
174006
174251
|
setup(props, _ref) {
|
|
@@ -174032,7 +174277,8 @@ var lodash = __webpack_require__(543);
|
|
|
174032
174277
|
highlightHtmlList = document.querySelectorAll('[data-index="light"]');
|
|
174033
174278
|
lightSize.value = highlightHtmlList.length;
|
|
174034
174279
|
if (lightSize.value) {
|
|
174035
|
-
const markDom = document.querySelector(
|
|
174280
|
+
const markDom = document.querySelector(props.containerSelector);
|
|
174281
|
+
if (!markDom) return;
|
|
174036
174282
|
const markTop = markDom.getBoundingClientRect().top;
|
|
174037
174283
|
let isFindShow = false;
|
|
174038
174284
|
for (let index = 0; index < highlightHtmlList.length; index++) {
|
|
@@ -174262,8 +174508,8 @@ var lodash = __webpack_require__(543);
|
|
|
174262
174508
|
const highlightControlRef = (0,external_vue_.ref)(null);
|
|
174263
174509
|
const tagInputRef = (0,external_vue_.ref)(null);
|
|
174264
174510
|
const filterType = (0,external_vue_.ref)('include');
|
|
174265
|
-
const filterKey = (0,external_vue_.ref)(
|
|
174266
|
-
const catchFilterKey = (0,external_vue_.ref)(
|
|
174511
|
+
const filterKey = (0,external_vue_.ref)([]);
|
|
174512
|
+
const catchFilterKey = (0,external_vue_.ref)([]);
|
|
174267
174513
|
const ignoreCase = (0,external_vue_.ref)(false);
|
|
174268
174514
|
const highlightList = (0,external_vue_.ref)([]);
|
|
174269
174515
|
const colorHighlightList = (0,external_vue_.ref)([]);
|
|
@@ -174307,11 +174553,11 @@ var lodash = __webpack_require__(543);
|
|
|
174307
174553
|
});
|
|
174308
174554
|
const catchColorIndexList = (0,external_vue_.computed)(() => colorHighlightList.value.map(item => item.colorIndex));
|
|
174309
174555
|
const filterLog = () => {
|
|
174310
|
-
catchFilterKey.value = filterKey.value;
|
|
174556
|
+
catchFilterKey.value = [...filterKey.value];
|
|
174311
174557
|
emit('handle-filter', 'filterKey', filterKey.value);
|
|
174312
174558
|
};
|
|
174313
174559
|
const blurFilterLog = () => {
|
|
174314
|
-
if (
|
|
174560
|
+
if (catchFilterKey.value.length === 0 && filterKey.value.length === 0) return;
|
|
174315
174561
|
filterLog();
|
|
174316
174562
|
};
|
|
174317
174563
|
const changeLightList = () => {
|
|
@@ -174347,6 +174593,15 @@ var lodash = __webpack_require__(543);
|
|
|
174347
174593
|
emit('handle-filter', 'interval', state ? interval.value : baseInterval);
|
|
174348
174594
|
};
|
|
174349
174595
|
// 粘贴过滤条件
|
|
174596
|
+
const filterPasteFn = pasteValue => {
|
|
174597
|
+
const trimPasteValue = pasteValue.trim();
|
|
174598
|
+
if (!filterKey.value.includes(trimPasteValue)) {
|
|
174599
|
+
filterKey.value.push(trimPasteValue);
|
|
174600
|
+
filterLog();
|
|
174601
|
+
}
|
|
174602
|
+
return [];
|
|
174603
|
+
};
|
|
174604
|
+
// 粘贴高亮条件
|
|
174350
174605
|
const pasteFn = pasteValue => {
|
|
174351
174606
|
const trimPasteValue = pasteValue.trim();
|
|
174352
174607
|
if (!highlightList.value.includes(trimPasteValue) && highlightList.value.length < 5) {
|
|
@@ -174399,7 +174654,7 @@ var lodash = __webpack_require__(543);
|
|
|
174399
174654
|
highlightList.value = [];
|
|
174400
174655
|
interval.value = (0,lodash.cloneDeep)(baseInterval);
|
|
174401
174656
|
ignoreCase.value = false;
|
|
174402
|
-
filterKey.value =
|
|
174657
|
+
filterKey.value = [];
|
|
174403
174658
|
showType.value = 'log';
|
|
174404
174659
|
filterType.value = 'include';
|
|
174405
174660
|
fieldConfigPopoverInstance?.hide();
|
|
@@ -174427,21 +174682,20 @@ var lodash = __webpack_require__(543);
|
|
|
174427
174682
|
"name": option.name
|
|
174428
174683
|
},
|
|
174429
174684
|
"key": index
|
|
174430
|
-
}))]), (0,external_vue_.h)("bk-input", {
|
|
174685
|
+
}))]), (0,external_vue_.h)("bk-tag-input", {
|
|
174431
174686
|
"class": 'filter-key-input',
|
|
174432
174687
|
"attrs": {
|
|
174433
174688
|
"placeholder": t('输入关键字进行过滤'),
|
|
174434
|
-
"right-icon": 'bk-icon icon-search',
|
|
174435
174689
|
"value": filterKey.value,
|
|
174436
|
-
"
|
|
174690
|
+
"allow-create": true,
|
|
174691
|
+
"has-delete-icon": true,
|
|
174692
|
+
"paste-fn": filterPasteFn
|
|
174437
174693
|
},
|
|
174438
174694
|
"on": {
|
|
174439
|
-
"blur": blurFilterLog,
|
|
174440
174695
|
"change": value => {
|
|
174441
174696
|
filterKey.value = value;
|
|
174442
|
-
|
|
174443
|
-
|
|
174444
|
-
"enter": filterLog
|
|
174697
|
+
filterLog();
|
|
174698
|
+
}
|
|
174445
174699
|
}
|
|
174446
174700
|
})]), (0,external_vue_.h)("div", {
|
|
174447
174701
|
"class": 'highlight-main'
|
|
@@ -177296,7 +177550,7 @@ var json_formatter_component = normalizeComponent(
|
|
|
177296
177550
|
const prevBegin = (0,external_vue_.ref)(0);
|
|
177297
177551
|
const nextBegin = (0,external_vue_.ref)(0);
|
|
177298
177552
|
const filterType = (0,external_vue_.ref)('include');
|
|
177299
|
-
const activeFilterKey = (0,external_vue_.ref)(
|
|
177553
|
+
const activeFilterKey = (0,external_vue_.ref)([]);
|
|
177300
177554
|
const ignoreCase = (0,external_vue_.ref)(false);
|
|
177301
177555
|
const showType = (0,external_vue_.ref)('log');
|
|
177302
177556
|
const highlightList = (0,external_vue_.ref)([]);
|
|
@@ -177362,7 +177616,7 @@ var json_formatter_component = normalizeComponent(
|
|
|
177362
177616
|
next: 0
|
|
177363
177617
|
};
|
|
177364
177618
|
ignoreCase.value = false;
|
|
177365
|
-
activeFilterKey.value =
|
|
177619
|
+
activeFilterKey.value = [];
|
|
177366
177620
|
showType.value = 'log';
|
|
177367
177621
|
filterType.value = 'include';
|
|
177368
177622
|
initLogValues();
|
|
@@ -177604,7 +177858,7 @@ var json_formatter_component = normalizeComponent(
|
|
|
177604
177858
|
activeFilterKey.value = value;
|
|
177605
177859
|
clearTimeout(throttleTimer);
|
|
177606
177860
|
throttleTimer = setTimeout(() => {
|
|
177607
|
-
if (!value) {
|
|
177861
|
+
if (!value.length) {
|
|
177608
177862
|
(0,external_vue_.nextTick)(() => {
|
|
177609
177863
|
initLogScrollPosition();
|
|
177610
177864
|
});
|
|
@@ -177808,7 +178062,7 @@ var json_formatter_component = normalizeComponent(
|
|
|
177808
178062
|
const prevBegin = (0,external_vue_.ref)(0);
|
|
177809
178063
|
const nextBegin = (0,external_vue_.ref)(0);
|
|
177810
178064
|
const filterType = (0,external_vue_.ref)('include');
|
|
177811
|
-
const activeFilterKey = (0,external_vue_.ref)(
|
|
178065
|
+
const activeFilterKey = (0,external_vue_.ref)([]);
|
|
177812
178066
|
const ignoreCase = (0,external_vue_.ref)(false);
|
|
177813
178067
|
const showType = (0,external_vue_.ref)('log');
|
|
177814
178068
|
const highlightList = (0,external_vue_.ref)([]);
|
|
@@ -177878,7 +178132,7 @@ var json_formatter_component = normalizeComponent(
|
|
|
177878
178132
|
next: 0
|
|
177879
178133
|
};
|
|
177880
178134
|
ignoreCase.value = false;
|
|
177881
|
-
activeFilterKey.value =
|
|
178135
|
+
activeFilterKey.value = [];
|
|
177882
178136
|
showType.value = 'log';
|
|
177883
178137
|
filterType.value = 'include';
|
|
177884
178138
|
initLogValues();
|
|
@@ -178038,7 +178292,7 @@ var json_formatter_component = normalizeComponent(
|
|
|
178038
178292
|
activeFilterKey.value = value;
|
|
178039
178293
|
clearTimeout(throttleTimer);
|
|
178040
178294
|
throttleTimer = setTimeout(() => {
|
|
178041
|
-
if (!value) {
|
|
178295
|
+
if (!value.length) {
|
|
178042
178296
|
(0,external_vue_.nextTick)(() => {
|
|
178043
178297
|
initLogScrollPosition();
|
|
178044
178298
|
});
|
|
@@ -218710,8 +218964,8 @@ const SearchResultTab = () => null;
|
|
|
218710
218964
|
}), renderTabContent()]);
|
|
218711
218965
|
}
|
|
218712
218966
|
}));
|
|
218713
|
-
;// ./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=
|
|
218714
|
-
var
|
|
218967
|
+
;// ./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
|
|
218968
|
+
var sub_barvue_type_template_id_08eba3c6_render = function render() {
|
|
218715
218969
|
var _vm = this,
|
|
218716
218970
|
_c = _vm._self._c,
|
|
218717
218971
|
_setup = _vm._self._setupProxy;
|
|
@@ -218791,7 +219045,7 @@ var sub_barvue_type_template_id_2a8cbac2_render = function render() {
|
|
|
218791
219045
|
}
|
|
218792
219046
|
})], 1) : _vm._e()]);
|
|
218793
219047
|
};
|
|
218794
|
-
var
|
|
219048
|
+
var sub_barvue_type_template_id_08eba3c6_staticRenderFns = [];
|
|
218795
219049
|
|
|
218796
219050
|
;// ./src/components/ellipsis-tag-list/index.tsx
|
|
218797
219051
|
/*
|
|
@@ -221199,14 +221453,7 @@ var AutoRefresh = function AutoRefresh() {
|
|
|
221199
221453
|
/**
|
|
221200
221454
|
* 根据当前索引ID和pid生成唯一ID
|
|
221201
221455
|
*/
|
|
221202
|
-
// window.__IS_MONITOR_COMPONENT__ = true;
|
|
221203
221456
|
var indexSetUid = (0,external_vue_.computed)(function () {
|
|
221204
|
-
// if (window.__IS_MONITOR_COMPONENT__) {
|
|
221205
|
-
// const dataValidItem = indexSetList.value.find((item) => item.tags.every((tag) => tag.tag_id !== 4));
|
|
221206
|
-
// if (dataValidItem) {
|
|
221207
|
-
// return [`#_${dataValidItem.index_set_id}`];
|
|
221208
|
-
// }
|
|
221209
|
-
// }
|
|
221210
221457
|
return indexSetValue.value.map(function (v, index) {
|
|
221211
221458
|
var _indexSetPid$value$in;
|
|
221212
221459
|
return "".concat((_indexSetPid$value$in = indexSetPid.value[index]) !== null && _indexSetPid$value$in !== void 0 ? _indexSetPid$value$in : '#', "_").concat(v);
|
|
@@ -221537,8 +221784,8 @@ var AutoRefresh = function AutoRefresh() {
|
|
|
221537
221784
|
|
|
221538
221785
|
var sub_bar_component = normalizeComponent(
|
|
221539
221786
|
retrieve_v2_sub_barvue_type_script_setup_true_lang_js,
|
|
221540
|
-
|
|
221541
|
-
|
|
221787
|
+
sub_barvue_type_template_id_08eba3c6_render,
|
|
221788
|
+
sub_barvue_type_template_id_08eba3c6_staticRenderFns,
|
|
221542
221789
|
false,
|
|
221543
221790
|
null,
|
|
221544
221791
|
null,
|
|
@@ -221762,7 +222009,7 @@ var sub_bar_component = normalizeComponent(
|
|
|
221762
222009
|
if (!resp?.length) {
|
|
221763
222010
|
return;
|
|
221764
222011
|
}
|
|
221765
|
-
// 如果当前地址参数没有indexSetId,先读取本地
|
|
222012
|
+
// 如果当前地址参数没有indexSetId,先读取本地 MONITOR_LOG_RECENT_INDEX_SET_ID,有的话设置
|
|
221766
222013
|
// 本地如果没有 MONITOR_LOG_RECENT_INDEX_SET_IDS,则默认取第一个有数据的索引集
|
|
221767
222014
|
// 同时,更新索引信息到store中
|
|
221768
222015
|
if (!indexSetIdList.value.length) {
|
|
@@ -221770,18 +222017,14 @@ var sub_bar_component = normalizeComponent(
|
|
|
221770
222017
|
let defaultId = '';
|
|
221771
222018
|
if (memoryIdStr) {
|
|
221772
222019
|
const memoryId = JSON.parse(memoryIdStr)[0];
|
|
221773
|
-
console.log('init defaultId = ', memoryId);
|
|
221774
222020
|
const defaultValidItem = resp.find(item => item.index_set_id === memoryId);
|
|
221775
|
-
console.log('defaultValidItem = ', defaultValidItem);
|
|
221776
222021
|
if (defaultValidItem) {
|
|
221777
222022
|
defaultId = memoryId;
|
|
221778
222023
|
}
|
|
221779
222024
|
}
|
|
221780
222025
|
if (!defaultId) {
|
|
221781
222026
|
const dataValidItem = resp.find(item => item.tags.every(tag => tag.tag_id !== 4));
|
|
221782
|
-
console.log('dataValidItem = ', dataValidItem);
|
|
221783
222027
|
defaultId = `${dataValidItem.index_set_id}`;
|
|
221784
|
-
console.log('默认id = ', defaultId);
|
|
221785
222028
|
}
|
|
221786
222029
|
store.commit('updateIndexItem', {
|
|
221787
222030
|
ids: [defaultId],
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@blueking/monitor-apm-log","version":"2.3.
|
|
1
|
+
{"name":"@blueking/monitor-apm-log","version":"2.3.15","description":"","main":"main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT"}
|