And welcome back now in today's we will be discussing about the EPA, Willagee now dialoging at the
EPA Gateway allows customers to log calls that are made to the EPA, along with their detailed information
as the EPA gateway goes through each step of processing the request.
Now we'll be discussing about this specific definition in more detail because it is more confusing.
So at a high level, or you remember that when it comes to logging, there are two types of logs that
you need to remember.
The first one is associated with the EPA, get the execution logs and that one is associated with the
EPA giedre access logs.
So let's go ahead and discuss about each one of them in detail.
So the first one is the EPA get the execution logs so the EPA get the execution logs.
It basically records the EPA data, internal information as the request is processed.
So they are fully managed by the EPA.
So the execution logs basically contains information like the request that you audit the request data
received by the EPA gateway that request data sent to the lambda function, the response received from
the lambda function, as well as the response data sent by the EPA gateway.
So these information are very important, specifically whenever you're troubleshooting a specific request,
because it actually gives you the and better data flow about how the request, if it is being sent to
the lambda function and so on.
So before we proceed, let's do one thing.
Let's actually look into a sample execution logs so that it becomes easier for us to understand.
So currently I have the logging in, but in one of their demo EP, Gateway, and let's open up one log
stream associated with one of the requests.
So I'll just maximize this so that it becomes easier for us to understand green.
So this is basically the execution logs.
So currently you see that you have a starting execution of a request and then you have the EDP method,
which is of gate, and then it also gives you the method requested headers.
So these are the headers which are generally from the claim.
So from this specific request, we can see that a coal plant has made the request to the EPA, Gateway
EPA.
And then if you see that there is also a point, a request you, which is basically the lamda function
and you also have the endpoint request headers and then you're it basically says that it is sending
the request to the lambda function.
So this is the lambda endpoint.
If you go down, it says that it has received us.
It is 200 responses.
It also gives you the all information related to the latency.
And if you see, it also shows you the endpoint response body before transformation and after transformation.
So you have a body of Hailo from Lambda.
So this is something that we have already seen earlier.
And at the end it basically says that successfully completed the execution.
So if there are any specific request for which there are some errors that you want to troubleshoot,
then this execution logs gives you a lot of information because it can tell you the requested headers.
It can show you the end points to which the request has been made in basically your case that it is
able to send the request to the lambda endpoint.
And then it has also received a two hundred response from the lambda endpoint.
So this information is very useful in troubleshooting.
So I hope at a high level where you you understood what execution logs are now, the second important
logs that you need to remember at the access logs, so these are the logs which are related to who has
access to the EPA.
So they are very similar.
If you have worked with Appadurai and they are very similar to the log that is being generated by them.
So these logs basically contains information like the caller's IP address, like who exactly has made
a request to the EPA?
Then it chooses the request and the request EDP or the request you ordered, as well as the response
SCDP status code, etc..
So let's also look into what exactly these logs contain.
So currently I have a sample access log or you.
And yet if you see the first thing that you see is basically the IP address.
So this is the IP address that has made the request to the EPA.
And it shows you the timestamp.
It shows you the EDP method.
So in this case, it is good.
It also shows you the response score, which is 200.
And along with that, it also shows you things related to the EDP as well as the Aurora, which has
been requested.
So this type of information is very useful.
So from here, you can actually create a lot of graphs related to geolocation metrics from which country
the requests are being made, what is the response code associated with them and so on.
So this kind of information is very useful.
Now, the third type of logging that you need to be of, it is associated with the cloud watch matrix
for the big data.
Now, there are certain metrics that are made available to cloud what for the EPA gateway resource.
So some of these metrics include the amount of Fikes, etc. So it can be visalo for time on some of
these includes the overall latency you have count.
Do you have the metrics related to the forex error and so on.
So let's also look into it.
So these are the sample Dysport associated with the metrics that are available.
So you have the count, you have the five six error.
So any increase in the five, six error or forex error is something which is not really good.
Then you have the latency.
You also have the integration latency average.
You also have cache, hit cache, miss and so on.
So these are the metrics that are being made available by the EPA Gateway Resource, and you will be
able to look into them and also set alarms based on that active cloud watch level.
So that's the high level overview about some of the important factors associated with the EPA gateway
logging with this will conclude this video.
I hope this video has been informative for you.
And I look forward to see you in the next video.