I'll try to add a section on flow-control structures and state management(set and reset).
-- Regards, Janmejay PS: Please blame the typos in this mail on my phone's uncivilized soft keyboard sporting it's not-so-smart-assist technology. On Nov 18, 2014 9:53 PM, "Rainer Gerhards" <[email protected]> wrote: > 2014-11-18 17:10 GMT+01:00 David Lang <[email protected]>: > > > I believe they are part of the rainerscript documentation. > > > > That said, I think that it would be usefult ot reorganize that section > and > > the properties section to have a section that talks about variables, > > including predefined variables. The old terminology is confusing to new > > people, and it should be easy enough to hae enough references to the old > > technology to help people find it who find links to the old terms. > > > > > As I have written it, I am permitted to say that the current RainerScript > doc really, really sucks (even more so than the rest of the doc set). No > structure, no real explanations, more or less some quick reminder items for > me and the like-minded. It's also on the mile-long list to fix this up some > time in the future ;) > > That said, I think everything lives here: > > https://github.com/rsyslog/rsyslog-doc/tree/master/source/rainerscript > > ... but it wouldn't hurt to do a grep -R over the full source on > "RainerScript" just in case... ;) > > Rainer > > > > David Lang > > > > > > > > On Tue, 18 Nov 2014, singh.janmejay wrote: > > > > Sorry, I guess my question was ambiguous. I had to implement 'reset' and > >> 'foreach' which are new constructs that go inside ruleset block(similar > to > >> 'set' and 'if'), but couldn't find the right place to document them. > >> > >> I am hoping someone can point me to the right place where statements > that > >> form a ruleset in rscript grammar are documented. > >> > >> It needs to go next to the documentation for the 'set' statement, or > 'if' > >> statement in ruleset section, I guess, but I'm not sure which file in > >> rsyslog-doc codebase to work with. > >> > >> Hence the mail. > >> > >> -- > >> Regards, > >> Janmejay > >> > >> PS: Please blame the typos in this mail on my phone's uncivilized soft > >> keyboard sporting it's not-so-smart-assist technology. > >> > >> On Nov 18, 2014 4:26 PM, "Boylan, James" <[email protected]> > wrote: > >> > >> Sets are placed inside of the Ruleset block. > >>> > >>> I generally place them at the top of the ruleset block so they get > >>> immediately set before anything else is done and are nicely organized > for > >>> when you want to find them. > >>> > >>> -- James > >>> --- Sent from my mobile phone --- > >>> > >>> ----- Reply message ----- > >>> From: "singh.janmejay" <[email protected]> > >>> To: "rsyslog-users" <[email protected]> > >>> Subject: [rsyslog] What is the right place to add documentation for > core > >>> rscript constructs? > >>> Date: Mon, Nov 17, 2014 11:30 PM > >>> > >>> Where do we document statements like 'set' ? > >>> > >>> -- > >>> Regards, > >>> Janmejay > >>> http://codehunk.wordpress.com > >>> _______________________________________________ > >>> 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. > >>> _______________________________________________ > >>> 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. > >>> > >>> _______________________________________________ > >> 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. > >> > >> _______________________________________________ > > 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. > > > _______________________________________________ > 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. > _______________________________________________ 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.

