I was going over the Elastic cloud logs today and found these two warnings reoccurring. I did some googling but couldn't find a root case.
Deprecated field [inline] used, expected [source] instead
Deprecated field [all_fields] used, replaced by [Set [fields] to*
The later appears to be caused by scripted fields? The only scripted field I have is
doc['in_bytes'].value + doc['out_bytes'].value. Is there anything wrong with the script on 6.x? I don't believe I had any issues with it on 5.x.
PS. These errors don't show up in Kibana and data appears to be loading fine. I started looking into it because one dashboard occasionally gives the error below. When reloading the page the error doesn't appear.