I have below 2 log files with 4 identical columns and in that, status is different:
Status1.log
host1,PROD,1666680,mobile1,Staging_Successful
host1,PROD,1666680,mobile2,Staging_Successful
host1,PROD,1666680,mobile3,Staging_Successful
Status2.log
host1,PROD,1666680,mobile1,Deployment_Successful
host1,PROD,1666680,mobile2,Deployment_Successful
host1,PROD,1666680,mobile3,Deployment_Successful
Currently, I am able to extract both files individually by using rex command. But my desire is to compare both the files and output as follows. I want to merge the status like below in table format...Please suggest how to do this.
host1,PROD,1666680,mobile1,Staging_Successful,Deployment_Successful
host1,PROD,1666680,mobile2,Staging_Successful,Deployment_Successful
host1,PROD,1666680,mobile3,Staging_Successful,Deployment_Successful
↧