Skip to content

Commit 92720bc

Browse files
author
yaojiping
committed
fix: adjust filters of fetching data in TopN
1 parent 3523da0 commit 92720bc

File tree

1 file changed

+1
-1
lines changed
  • web/src/pages/Platform/Overview/components/TopN

1 file changed

+1
-1
lines changed

web/src/pages/Platform/Overview/components/TopN/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export default (props) => {
242242
"must": [{
243243
"term": {
244244
"metadata.name": {
245-
"value": `${type}_stats`
245+
"value": isAgent && type === 'index' ? `shard_stats` : `${type}_stats`
246246
}
247247
}
248248
}, {

0 commit comments

Comments
 (0)