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.

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.

Reply via email to