Re: [rsyslog] Rule sets and version 8.2112

2022-08-29 Thread Ben Hart via rsyslog
Thanks David, I was unaware of the -N1 switch. So that did lead me to find a missing ‘s’ on one of the rulesets for queue.workerThreadMinimumMessages Along with a couple other, smaller issues. Thanks! From: David Lang Date: Saturday, August 27, 2022 at 7:24 PM To: Ben Hart via rsyslog Cc: Ben

[rsyslog] Error with omfile and queue.filename syntax?

2022-08-29 Thread Ben Hart via rsyslog
I’m getting the following error trying to test using Disk-Assisted in memory queues. So the error is: root@splunk:/var/spool/rsyslog# rsyslogd -N1 rsyslogd: version 8.2112.0, config validation run (level 1), master config /etc/rsyslog.conf rsyslogd: error during parsing file /etc/rsyslog.d/10-re

Re: [rsyslog] Error with omfile and queue.filename syntax?

2022-08-29 Thread Radoslav Bodó via rsyslog
``` : 7479 7065 3d22 6f6d 6669 6c65 2220 4669 type="omfile" Fi 0010: 6c65 4372 6561 7465 4d6f 6465 3de2 809c leCreateMode=... 0020: 3036 3434 e280 9d0a 0644 ``` seem to me like unicode quotes are used instead of ascii ones bodik On 8/29/22 9:25 PM, Ben

Re: [rsyslog] Error with omfile and queue.filename syntax?

2022-08-29 Thread David Lang via rsyslog
that sort of error typically means that somewhere prior to this line there are mismatched quotes, sometimes far before. David Lang ___ rsyslog mailing list https://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/

Re: [rsyslog] Error with omfile and queue.filename syntax?

2022-08-29 Thread Ben Hart via rsyslog
Yup, encountered that problem before which is why I included what I hoped would be enough char/lines before the indicated one. I’ve stared at this in Nano so long I’m going cross-eyed. I don’t have anyone else who knows the format to even ask for their eyes.. From: David Lang Date: Monday, Augu

Re: [rsyslog] Error with omfile and queue.filename syntax?

2022-08-29 Thread David Lang via rsyslog
when I have this problem, I just start at the beginning, search for double quotes and step through the entire file (don't forget included files) and then I do it again for single quotes. I've had the actual error be 20+ lines earlier than the first reported issue. David Lang On Mon, 29 Aug 20

Re: [rsyslog] Error with omfile and queue.filename syntax?

2022-08-29 Thread John Chivian via rsyslog
Generally we don’t use disk queues for omfile destinations. Then, make sure you didn’t get “Microsofted” by curly quotes as opposed to straight quotes. Can’t tell you how many times an M$ text editor has effed-up a copied configuration by “prettying” up the quotes and dashes. Regards, > On Au

Re: [rsyslog] Error with omfile and queue.filename syntax?

2022-08-29 Thread Ben Hart via rsyslog
I’ve never had one (that I’ve found) quite that far ahead but good to know. So why is it like this? Is there no way to programmatically lint these files? *I think my issue earlier, and from yesterday were related to copy/paste from outside applications. *sigh* I knew better than that.. I swear!

Re: [rsyslog] Error with omfile and queue.filename syntax?

2022-08-29 Thread Ben Hart via rsyslog
MacOS’s “Notes” app, but yeah, I did. ☹ From: John Chivian Date: Monday, August 29, 2022 at 3:48 PM To: rsyslog-users Cc: David Lang , Ben Hart Subject: Re: [rsyslog] Error with omfile and queue.filename syntax? Generally we don’t use disk queues for omfile destinations. Then, make sure you di

Re: [rsyslog] Error with omfile and queue.filename syntax?

2022-08-29 Thread David Lang via rsyslog
by the way, async writes on omfile are almost never a good idea, it adds an extra queue between the omfile module and the write, and the locking on that queue adds more overhead than the write would. The place it has some use is where your output has a significant amount of processing (compresse

Re: [rsyslog] Error with omfile and queue.filename syntax?

2022-08-29 Thread David Lang via rsyslog
I've seen cases where run-on quotes or braces have fooled the parser quite badly. also, you should be aware that if you start rsyslog with rsyslogd -o /path/to/file then file will contain the result of all the includes (i.e. the way that rsyslog sees the configs) which can be very helpful in t

Re: [rsyslog] Error with omfile and queue.filename syntax?

2022-08-29 Thread Ben Hart via rsyslog
(Was reading through your article from 2014 on Syslog Perf) No thank you for the advice.. that’s one reason I’m in the list! These rsyslog servers are going to receive lots of messages from up two a couple dozen sources each so I’m really wanting the best initial config I can scope. I know twe