Here is the updated Query which actual use of REX/EVAL/CASE/STATS in it: (index="myindex" "*upload succeeded" OR "*streaming succeeded" NOT "source" | rex ".*SIZE=(?<sizeKB>\d+\.\d+)" | stats sum(eval(sizeKB/1024/1024)) AS Size count | eval App="Upload-Manual") OR (index="myindex" "*upload succeeded" OR "*streaming succeeded" | rex "source=(?<App>[^,]+)." | rex "system=(?<App>[^,]+)." | eval App = case(App="FB","App1",App="TWTR","App2",App="Salesforce","App3",App="SAP","App3",App="Oracle","App3") | rex ".*SIZE=(?<sizeKB>\d+\.\d+)" | stats sum(eval(sizeKB/1024/1024)) AS Size Count by App) | table App Size Count | addcoltotals I am getting following error - Error in 'search' command: Unable to parse the search: unbalanced parentheses. Thanks!
... View more