anchor.diff:  $ActionSendStreamDriverPermittedPeer *.loggly.com
   <% end %>
   
  -*.* @@<%= node['loggly']['rsyslog']['host'] %>:<%= node['loggly']['rsyslog']['port'] %>;LogglyFormat+*.* @@<%= node['loggly']['rsyslog']['host'] %>:<%= node['loggly']['rsyslog']['port'] %>;LogglyFormat
  
positive.code:   <% end %>
  
  $InputFilePollInterval <%= node['loggly']['rsyslog']['input_file_poll_interval'] %>
  <% end %>
  
  $template LogglyFormat,"<%%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msgid% [<%= @token %>@41058 <%= @tags %>] %msg%\n"
  
  <% if node['loggly']['tls']['enabled'] %>
  
negative.code: # This file was generated by Chef
  
  <% if @monitor_files -%>
  $ModLoad imfile
  
  	<% node['loggly']['log_files'].each do |logfile| %>
  