Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2343

Pick up rotated memached log file name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.3.0
    • None
    • logging
    • None
    • 2

    Description

      https://github.com/couchbase/couchbase-fluent-bit/blob/main/conf/couchbase/in-memcached-log.conf

        

      # Make sure we only grab the latest version, not any rotated ones
      # No multiline support here
      [INPUT]
          Name tail
          Alias memcached_tail
          Path ${COUCHBASE_LOGS}/memcached.log.000000.txt
          Parser couchbase_simple_log_space_separated
          Refresh_Interval 10
          Skip_Long_Lines On
          Skip_Empty_Lines On
          Path_Key filename
          Tag couchbase.log.memcached
      

      This should be the following to catch all memached files  

      # Make sure we only grab the latest version, not any rotated ones
      # No multiline support here
      [INPUT]
          Name tail
          Alias memcached_tail
          Path ${COUCHBASE_LOGS}/memcached.log.*.txt
          Parser couchbase_simple_log_space_separated
          Refresh_Interval 10
          Skip_Long_Lines On
          Skip_Empty_Lines On
          Path_Key filename
          Tag couchbase.log.memcached
      

      Attachments

        Issue Links

          Activity

            People

              roo.thorp Roo Thorp
              aaron.benton Aaron Benton (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty