Hi All,
I have 2 searches of a log file to be merged as one. When I execute them separately, it is working. Please find below:
For File_Transfer:
source="F:\\Splunk_Log Files\\*" status="Allow" | eval bytes=round(((recv_bytes)/1024),2) | stats sum(bytes) as File_Transfer by src_ip | eval File_Transfer=File_Transfer." MB"
For Infrastructure:
source="F:\\Splunk_Log Files\\*" status="Allow" | eval bytes=round(((recv_bytes)/1024),2) | eval Start=substr(dst_ip, 1, 3)| eval End=substr(dst_ip, 1, 3 )|where Start>=1 and End<=85| stats sum(bytes) as Infrastructure by src_ip| eval Infrastructure =Infrastructure ." MB"
Can you please suggest a solution for this.
Thanks in Advance.
Regards,
Mahesh.
... View more