Thanks for the help, I'm getting closer but still not quite there. I took your advice and created a lookup csv to add the versions based on time and I'm not looking them up to grab the latest 2 versions. In my search, I'm getting a warning saying the query couldn't be run and I don't know how to go about debugging what is wrong. Strangely enough, if I copy/paste the exact query in a new search it runs just fine. |inputlookup gk_versions.csv | head 2 | transpose
| rename "row 1" AS versionB "row 2" AS versionA
| where column="version" | map search="source=\"regress_rpt\" pipeline=\"soc-fshbd-a0\" version IN(\"$versionA$\",\"$versionB$\") dut=\"*\" testlist=\"*\" testName=\"*\" status=\"*\" earliest=-1mon latest=now()
| eval lastTestPathElement=replace(testPath, \".*/\" ,\"\")
| search lastTestPathElement=\"**\"
| chart max(cyclesPerCpuSec) AS max:cyclesPerCpuSec
BY version lastTestPathElement
| transpose header_field=version column_name=test_run
| eval cycles_version_delta=('$versionB$' - '$versionA$')
,diff_percentage=round('cycles_version_delta'/'$versionB$' * 100, 1)
,status=if(diff_percentage < 10, \"PASS\", \"FAIL\")
" Any idea what could be my problem? Thanks, Phil
... View more