Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-28959

Logged User Search Queries on Confluence

    XMLWordPrintable

Details

    • 6
    • 13
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Request Background

      Currently, Confluence does not provide the ability to logged search queries run by users. Having this information will allow administrator to compile data such as the necessary content that is not in Confluence yet.

      This will also help to arrange the information architecture to their behavior and to feed the Synonym plugin.

      Potential workarounds

      This information can be captured as part of access logging through Tomcat Valve (instructions). The below is an example of what Tomcat's access logging looks like when someone searches for "Example Search Query":

      [17/Mar/2017:16:37:57 -0500] admin Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36 0:0:0:0:0:0:0:1 GET GET /confluence/dosearchsite.action?queryString=Example+Search+Query HTTP/1.1 6651 200 http-nio-55912-exec-3
      

      If you have this type of logging enabled, either in Tomcat itself or in a reverse proxy, look for "dosearchsite.action" and parse out the data after "queryString=".

      Attachments

        Issue Links

          Activity

            People

              smansour Sherif Mansour
              scahyadiputra Septa Cahyadiputra (Inactive)
              Votes:
              102 Vote for this issue
              Watchers:
              75 Start watching this issue

              Dates

                Created:
                Updated: