标签: elasticsearch kibana
当文档的建议为自动时,我想使用文档总和的比例(doc ['driverSuggestion']。value =='AUTO')将其除以 建议为自动加手动时的文档总和。 sum(doc ['driverSuggestion']。value =='AUTO')/(sum(doc ['driverSuggestion']。value =='AUTO')+ sum(doc ['driverSuggestion']。value =='MANUAL' ))