Hi, I am attempting to chart the calculated pass and failure percentages over time along with the total passed and failed jobs. I can successfully create a table that shows the FailureRate and SuccessRate along with my passed and failed totals by using this syntax: ...BASE SEARCH... | stats count(eval(match(job_result, "FAILURE"))) AS Failed, count(eval(match(job_result, "SUCCESS"))) AS Passed, count(eval(match(job_result, "ABORTED"))) AS Aborted count as t | eval s = t-f, percF = (Failed/t)*100, percS=100-percF | rename t as Total, percF as FailureRate, percS as SuccessRate | table Total Passed Failed Aborted FailureRate SuccessRate When I attempt to make this a chart over time I am not able to overlay the FailureRate and SuccessRate over the same timechart. (Note I had to change to stats count(...) to streamstats(...) to get any output of the total passed, failed, aborted) . ...BASE SEARCH... | streamstats count(eval(match(job_result, "FAILURE"))) AS Failed, count(eval(match(job_result, "SUCCESS"))) AS Passed, count(eval(match(job_result, "ABORTED"))) AS Aborted count as t | eval s = t-f, percF = (Failed/t)*100, percS=100-percF | rename t as Total, percF as FailureRate, percS as SuccessRate | timechart count by job_result I am unsure why I am not able to overlay the FailureRate and SuccessRate calculations over time to see the changes as time goes by. Any help is appreciated as I have scoured this site for some hints on what I am doing wrong. Thanks!
... View more