Hi

On Sat, Apr 13, 2013 at 8:12 AM, Jerome Renard <[email protected]> wrote:
[...]
> However if I activate dynsearchtype (dynsearchtype="on") I get a
> "Called LogError, msg: error during parsing file rsyslog.conf [...]"
> without any more details. Using RSYSLOG_DEBUG="LogFuncFlow" does not
> give any interesting details either here.
>
> In omelasticsearch.c, the code which handles dynsearch* params calls
> templates in a given order.
>
> So if I follow the logic in BEGINnewActInst I should get
> dynsearchindex : 1, dynsearchtype : 2, dynbulkid : 3 but this does not
> seem to work.
>
> Is the logic for calling templates different ? Did I overlook something ?
>

In case it is helpful to someone in the future, I found the problem.

The problem comes from CONF_OMOD_NUMSTRINGS_MAXSIZE in
runtime/rsyslog.h on line 63.

The limit is defined to 3 by default whereas I need support for
(potentially) 4 templates.

Incremeting the value fixed the problem.

Have a nice day :)

-- 
Jérôme
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to