We send logs from PCF to log analytics and we have alerts setup here. So we have two types of logs, router logs and diego cell logs.
We are alerting based on the status code in router and it will not contain much information apart from what api is called and the status code and other router related information. Now we have a requirement, when the router returns 500, we also need to check in diego cell for what the error is and ignore(Dont count it as 500) if it is related to one particular error.
We have a trace id to match the log between router and diego cell. Is there a way to join and ignore that error? Is it too complex and take more resources to run?