Grep command to find specific errors

Does anyone have a Debian grep command to filter the logs so that I can see if I have any errors that are not context canceled or untrusted satellite?

I tied docker logs storagenode 2>&1 | grep using ^ and ! and ^(!) type of syntax and Debian terminal says not known.

Essentially, I want to say grep error !context canceled and !untrusted peer

docker logs storagenode 2>&1 | grep GET_AUDIT | grep failed | grep open -c

count of unrecoverable failed audits

You can use the script here to get lots of info.

Look at the code for the commands

So is -v the flag to not include?

Indeed, also known as exclude