Persistent queue not creating any file inside the configured directory


(Nikhil Jaiswal) #1

Hi All,

I have configured persistent queue in logstash.yml but after restarting logstash i am not able to see any file which logstash usually create.

please find my configuration below:

queue.type: persisted
path.queue: C:\SIEM\PQ
queue.page_capacity: 64mb
queue.max_events: 0
queue.max_bytes: 1024mb

i have verified logstash logs as well but there are no logs related to PQ.

Any help would be appreciated.


(Ry Biesemeyer) #2

Have you tried using forward slashes for the path?

In the YAML language, backslashes have special meaning (they begin an "escape" sequence, mening that the next character is to be treated differently than normal) and to be interpreted literally they need to be prefixed by another backslash. While C:\\SIEM\\PQ will likely do what you want here, I find the POSIX-style path C:/SIEM/PQ easier to read.


(system) #3

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