diff --git a/core/modules/dblog/dblog.routing.yml b/core/modules/dblog/dblog.routing.yml
index 4322f67..6e84cae 100644
--- a/core/modules/dblog/dblog.routing.yml
+++ b/core/modules/dblog/dblog.routing.yml
@@ -26,7 +26,7 @@ dblog.page_not_found:
   path: '/admin/reports/page-not-found'
   defaults:
     _title: "Top 'page not found' errors"
-    _controller: '\Drupal\dblog\Controller\DbLogController::topLogMessages'
+    _controller: '\Drupal\dblog\Controller\DbLogController::topLogMessagesUrl'
     type: 'page not found'
   requirements:
     _permission: 'access site reports'
@@ -35,7 +35,7 @@ dblog.access_denied:
   path: '/admin/reports/access-denied'
   defaults:
     _title: "Top 'access denied' errors"
-    _controller: '\Drupal\dblog\Controller\DbLogController::topLogMessages'
+    _controller: '\Drupal\dblog\Controller\DbLogController::topLogMessagesUrl'
     type: 'access denied'
   requirements:
     _permission: 'access site reports'
@@ -43,7 +43,7 @@ dblog.access_denied:
 dblog.search:
   path: '/admin/reports/search'
   defaults:
-    _controller: '\Drupal\dblog\Controller\DbLogController::topLogMessages'
+    _controller: '\Drupal\dblog\Controller\DbLogController::topLogMessagesSearch'
     _title: 'Top search phrases'
     type: 'search'
   requirements:
diff --git a/core/modules/dblog/src/Controller/DbLogController.php b/core/modules/dblog/src/Controller/DbLogController.php
index 44828e4..d830859 100644
--- a/core/modules/dblog/src/Controller/DbLogController.php
+++ b/core/modules/dblog/src/Controller/DbLogController.php
@@ -133,20 +133,24 @@ public function overview() {
       array(
         'data' => $this->t('Type'),
         'field' => 'w.type',
-        'class' => array(RESPONSIVE_PRIORITY_MEDIUM)),
+        'class' => array(RESPONSIVE_PRIORITY_MEDIUM)
+      ),
       array(
         'data' => $this->t('Date'),
         'field' => 'w.wid',
         'sort' => 'desc',
-        'class' => array(RESPONSIVE_PRIORITY_LOW)),
+        'class' => array(RESPONSIVE_PRIORITY_LOW)
+      ),
       $this->t('Message'),
       array(
         'data' => $this->t('User'),
         'field' => 'ufd.name',
-        'class' => array(RESPONSIVE_PRIORITY_MEDIUM)),
+        'class' => array(RESPONSIVE_PRIORITY_MEDIUM)
+      ),
       array(
         'data' => $this->t('Operations'),
-        'class' => array(RESPONSIVE_PRIORITY_LOW)),
+        'class' => array(RESPONSIVE_PRIORITY_LOW)
+      ),
     );
 
     $query = $this->database->select('watchdog', 'w')
@@ -233,7 +237,9 @@ public function overview() {
    */
   public function eventDetails($event_id) {
     $build = array();
-    if ($dblog = $this->database->query('SELECT w.*, u.name, u.uid FROM {watchdog} w INNER JOIN {users_field_data} u ON w.uid = u.uid WHERE w.wid = :id AND u.default_langcode = 1', array(':id' => $event_id))->fetchObject()) {
+    if ($dblog = $this->database->query('SELECT w.*, u.name, u.uid FROM {watchdog} w INNER JOIN {users_field_data} u ON w.uid = u.uid WHERE w.wid = :id AND u.default_langcode = 1', array(':id' => $event_id))
+      ->fetchObject()
+    ) {
       $severity = RfcLogLevel::getLevels();
       $message = $this->formatMessage($dblog);
       $username = array(
@@ -356,6 +362,34 @@ public function formatMessage($row) {
   }
 
   /**
+   * Shows the most frequent log messages of Page not found or Access denied
+   * pages.
+   *
+   * @param string $type
+   *   Type of database log events to display (e.g., 'page not found').
+   *
+   * @return array
+   *   A build array in the format expected by drupal_render().
+   */
+
+  public function topLogMessagesUrl($type) {
+    return $this->topLogMessages($type, $this->t('URL'));
+  }
+
+  /**
+   * Shows the most frequent log messages of search.
+   *
+   * @param string $type
+   *   Type of database log events to display (e.g., 'search').
+   *
+   * @return array
+   *   A build array in the format expected by drupal_render().
+   */
+  public function topLogMessagesSearch($type) {
+    return $this->topLogMessages($type, $this->t('Phrase'));
+  }
+
+  /**
    * Shows the most frequent log messages of a given event type.
    *
    * Messages are not truncated on this page because events detailed herein do
@@ -366,13 +400,16 @@ public function formatMessage($row) {
    * @param string $type
    *   Type of database log events to display (e.g., 'search').
    *
+   * @param string $title
+   *   title of table header.
+   *
    * @return array
    *   A build array in the format expected by drupal_render().
    */
-  public function topLogMessages($type) {
+  public function topLogMessages($type, $title) {
     $header = array(
       array('data' => $this->t('Count'), 'field' => 'count', 'sort' => 'desc'),
-      array('data' => $this->t('Message'), 'field' => 'message'),
+      array('data' => $title, 'field' => 'message'),
     );
 
     $count_query = $this->database->select('watchdog');
@@ -400,7 +437,7 @@ public function topLogMessages($type) {
       }
     }
 
-    $build['dblog_top_table']  = array(
+    $build['dblog_top_table'] = array(
       '#type' => 'table',
       '#header' => $header,
       '#rows' => $rows,
