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

FilterDescriptionOptions
Date rangeAllows 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 toAllows you to choose up to which date you want to see the logsCalendar 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
GrepSearch for text patterns within logsInput text
LimitNumber of lines that you want to seeNumber

Pods

Displays log information from Kubernetes pods

FilterDescriptionOptions
ReleaseUsing this filter allows you to view logs specific to a particular version of the application.Dropdown with the releases
ComponentSeparate logs by individual components. E.g. author or public tomcat, databases, error page...Dropdown with the components
ContainerAllows you to view the logs of a specific container within a pod.Dropdown with the containers

Output format

[date][log level][log message]

2023-10-18 10:00:00,193 INFO info.magnolia.module.scheduler.CommandJob : Starting job [cleanTempFiles]


Domains

Displays log information from the CDN

FilterDescriptionOptions
ClusterFilter by the cluster in which you want to view the informationDropdown with the clusters
DomainFilter by registered domainsDropdown with the domains

Output format

[date][code status][protocol][method][path][ip][request time][round trip][cache status][zone]

2023-10-18 10:11:39,617 503 HTTP/1.1 GET / 198.235.24.223 632 901 MISS ATL


WAF

Displays log information about your web application firewall

FilterDescriptionOptions
ClusterFilter by the name of the Kubernetes cluster in which you want to view the informationDropdown with the clusters
DomainFilter by registered domainsDropdown with the domains
Request IdThe 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 

FilterDescriptionOptions
Serviceservices registered in the kubernetes cluster.Dropdown with the services

Output format

[date][code status][protocol][method][url][ip][response lenth][response time

2023-10-12 03:33:52,610 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

FilterDescriptionOptions
Cluster idFilter by the name of the Kubernetes cluster in which you want to view the informationDropdown with the clusters
ReleaseUsing this filter allows you to view logs specific to a particular version of the applicationDropdown with the releases




  • No labels