Special Offer Zabbix Monitoring Course Discount $11.99 https://www.udemy.com/course/zabbix-monitoring/?couponCode=607976806882D016D221 Offer expires in hours. Be quick and share with your friends and colleagues. Special Offer Grafana Course Discount $13.99 https://www.udemy.com/course/grafana-tutorial/?couponCode=D04B41D2EF297CC83032 Offer expires in hours. Be quick and share with your friends and colleagues. Special Offer Prometheus Course Discount $9.99 https://www.udemy.com/course/prometheus/?couponCode=EB3123B9535131F1237F Offer expires in hours. Be quick and share with your friends and colleagues. Special Offer Threejs Course Discount $9.99 https://www.udemy.com/course/threejs-tutorials/?couponCode=416F66CD4614B1E0FD02 Offer expires in hours. Be quick and share with your friends and colleagues. Item Preprocessing with JavaScript Video Lecture Description This is the script used in the item preprocessor 1 2 3 4 5 6 7 8 9var lines = value.split("\n"); var lineZero = lines[0]; var accountName = ""; lines.forEach(function(line) { if (line.trim().substring(0, 13) === "Account Name:") { accountName = line.substring(14).trim(); } }); return accountName + " : " + lineZero; Useful Links Item value preprocessing