Hello All "Good Day" index="aedc" | rex field=source "-_(?<source>\S+)" | rex "(?<ModuleID>MY\d+)" | rex "(?<Path>/F.\s\S+\s\S+\s\S+\s\S+\s\S{5})" |search"source"="*" MY22 "CRS_ASIL"="*" * |rename "TC_D2_Test Result" as Result, TC_D2_Execution_date as verified_Date,"CRS__TestType" as TestType | rename CRS__implementation_phase as CRS_IP, "TC_Test Result" as result | eval verified_Date=if((verified_Date == "Attr not found : D2_Execution_date"),null(),verified_Date) |eval Date=strptime(verified_Date, "%a %d %B %Y %H:%M:%S")|eval date=if(Date>1604600000.000000 OR Date>1602000000.000000,Date,0) | eval First_Date=verified_Date, sortstring="~" |eval date=if(Date>1604600000.000000 OR Date>1602000000.000000 ,Date,0) | append [|inputlookup DoorsMappingwithDatenopartial.csv |append[| inputlookup DoorsMappingNoDate.csv |where bPartialResultsEnabled="FALSE"]] | stats count(eval(Path="/F. System Testing/System Functional Test Cases")) as "Functional Total",count(eval(Result=case(Path="/F. System Testing/System Functional Test Cases" AND date=Date ,Result))) as "Functional Test Conducted",count(eval(Result=case(Path="/F. System Testing/System Functional Test Cases" AND Result="Pass" OR Result="PASS" AND date=Date,Result))) as "Functional Pass",count(eval(Result=case(Path="/F. System Testing/System Functional Test Cases"AND Result="Fail" OR Result="FAIL" AND date=Date,Result))) as "Functional Fail" by "CRS_Customer Requirement Identifier" |eventstats sum("Functional Total") as Functional_Total,sum("Functional Test Conducted") as "Functional Test Conducted",sum("Functional Pass") as "Functional Pass",sum("Functional Fail") as "Functional Fail"|table Functional_Total,"Functional Test Conducted","Functional Pass","Functional Fail" Above is my query in the query i am trying to add condition using lookup files Condition is if bPartialResultsEnabled is False we should consider date in functional count if it is true we should not consider date I tried all possible ways ,I know Please help me out.. Thank you in advance
... View more