Hi All,
Ver: 7.11 (Painless script)
- I have datetimestamp fields in number type, to convert into date format i have used doc['actualdatetimestamp'].value with the default format in painless script it worked
Need Help in Two Questions Please:
-
Now i want to subtract two fields doc['targetdatetimestamp'].value - doc['actualdatetimestamp'].value, it is giving me errors because of some the documents are blank in doc['actualdatetimestamp'].value, how to ignore blank and proceed to calculation
-
Now a product is been developed and deployed in production,
-i need to find out if the product is deployed on or before the doc['expecteddate'] against doc['actualdate'],
Case1: if it is deployed on/before doc['expecteddate'] than it will be 100%,
Case2: If it is deployed 1 day after doc['expecteddate'] than it will be 80%
Kindly provide your valuable suggestion, your suggestions would really help me since i am beginner in KIBANA.
Stay Safe !
Regards,
PR