Logstash consumes persistent queue size when no events stored

Hi,
We are using persistent queue in Logstash to store the events when output is blocked. Please refer to the following configuration.

- pipeline.id: syslog
  queue.type: persisted
  queue.max_bytes: 128mb
  path.config: "/opt/logstash/resource/syslog_output.conf"

We observed Logstash is consuming queue_size_in_bytes even when there are no events stored in the queue.

 "queue" : {
        "type" : "persisted",
        "capacity" : {
          "page_capacity_in_bytes" : 67108864,
          "max_queue_size_in_bytes" : 134217728,
          "max_unread_events" : 0,
          "queue_size_in_bytes" : 16113344
        },
        "data" : {
          "free_space_in_bytes" : 48755580928,
          "path" : "/opt/logstash/data/queue/syslog",
          "storage_type" : "xfs"
        },
        "events" : 0,
        "events_count" : 0,
        "queue_size_in_bytes" : 16113344,
        "max_queue_size_in_bytes" : 134217728
      },

Could you please help to understand why Logstash consuming queue_size_in_bytes when no events stored in the queue.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.