Hi all
does anyone know how i can escape %{ in hiera without it trying to convert
to variable?
i want to add the following to configure a syslog filter for logstash
match => { "message" =>
"<%{POSINT:syslog_pri}>%{SYSLOGTIMESTAMP:syslog_timestamp}
%{SYSLOGHOST:syslog_hostname}
%{DATA:syslog_program}(?:\[%{POSINT:syslog_pid}\])?:
%{GREEDYDATA:syslog_message}"}
problem is it will try and convert to variables so only shows the following
on the server
match => { "message" => "<> (?:\[\])?: "}
i have tried all the methods i can think of, any help would be appreciated.
cheers
S
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/c1d3661a-ee9c-4460-bb13-be23b210ddb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.