Goals
- Know what types of log we can visualize
- Know the common and specific search filters that we can use in logs
- Learn to analyse and interpret output logs
Logs
From this screen, we can
- Visualise different logs
- Filter the information through a series of common filters.
- We keep logs for 30 days
Common filters
Filter | Description | Options |
---|---|---|
Date range | Allows you to view logs from a certain amount of time ago to the current time. | Last 5min, 15min, 30min, 1h, 3h, 6h, 12h, 24h, 2days, 7days |
Date from | Allows you to choose from which date you want to see the logs. | Calendar where you can choose the time and day |
Date to | Allows you to choose up to which date you want to see the logs | Calendar where you can choose the time and day |
Direction | Logs are displayed in order with the newest logs first (backward) or the oldest logs first (forward). | Forward (default value), backward |
Grep | Search for text patterns within logs | Input text |
Limit | Number of lines that you want to see | Number |
Pods
Displays log information from Kubernetes pods
Filter | Description | Options |
---|---|---|
Release | Using this filter allows you to view logs specific to a particular version of the application. | Dropdown with the releases |
Component | Separate logs by individual components. E.g. author or public tomcat, databases, error page... | Dropdown with the components |
Container | Allows you to view the logs of a specific container within a pod. | Dropdown with the containers |
Output format
[date][log level][log message]
INFO info.magnolia.module.scheduler.CommandJob : Starting job [cleanTempFiles]
Domains
Displays log information from the CDN
Filter | Description | Options |
---|---|---|
Cluster | Filter by the cluster in which you want to view the information | Dropdown with the clusters |
Domain | Filter by registered domains | Dropdown with the domains |
Output format
[date][code status][protocol][method][path][ip][request time][round trip][cache status][zone]
503 HTTP/1.1 GET / 198.235.24.223 632 901 MISS ATL
WAF
Displays log information about your web application firewall
Filter | Description | Options |
---|---|---|
Cluster | Filter by the name of the Kubernetes cluster in which you want to view the information | Dropdown with the clusters |
Domain | Filter by registered domains | Dropdown with the domains |
Request Id | The specific ID for the request handled by the WAF. | Input text. E.g. "a16dce7322904a5…50bd726af6a6eb9788f6f" |
Output format
[date][blocked][datacenter][client ip][method][uri][method][code status]
2023-10-18T10:42:38Z 0 MAD 2b08:bbc3:43f0:be::13:28e GET /training
Ingresses
Displays log information from Kubernetes Ingresses
Filter | Description | Options |
---|---|---|
Service | services registered in the kubernetes cluster. | Dropdown with the services |
Output format
[date][code status][protocol][method][url][ip][response lenth][response time]
503 HTTP/1.1 GET / 198.235.24.112 164 0.002
Enterprise search
Displays log information related to the Enterprise search feature. The logs shown in enterprise search are those retrieved from Solr.
Filter | Description | Options |
---|---|---|
Cluster id | Filter by the name of the Kubernetes cluster in which you want to view the information | Dropdown with the clusters |
Release | Using this filter allows you to view logs specific to a particular version of the application | Dropdown with the releases |