<commit_before><% if @extra_modules.empty?() or !@extra_modules.include?('imfile') -%>
$ModLoad imfile
<% end -%>


$InputFileName <%= @file_name %>
$InputFileTag <%= @file_tag %>
$InputFileStateFile state-<%= @name %>
$InputFileSeverity <%= @file_severity %>
$InputFileFacility <%= @file_facility %>
<% if @imfile_readmode -%>
$InputFileReadMode <%= @imfile_readmode %>
<% end -%>
$InputFilePollInterval <%= @polling_interval %>
$InputFilePersistStateInterval <%= @persist_state_interval %>
<% if @run_file_monitor == true -%>
$InputRunFileMonitor
<% end -%><commit_msg>os-941 Enable remote syslogging for imfile<commit_after><% if @extra_modules.empty?() or !@extra_modules.include?('imfile') -%>
$ModLoad imfile
<% end -%>


$InputFileName <%= @file_name %>
$InputFileTag <%= @file_tag %>
$InputFileStateFile state-<%= @name %>
$InputFileSeverity <%= @file_severity %>
$InputFileFacility <%= @file_facility %>
<% if @imfile_readmode -%>
$InputFileReadMode <%= @imfile_readmode %>
<% end -%>
$InputFilePollInterval <%= @polling_interval %>
$InputFilePersistStateInterval <%= @persist_state_interval %>
<% if @run_file_monitor == true -%>
$InputRunFileMonitor
<% end -%>

<% # Common footer across all templates -%>
<%= scope.function_template(['rsyslog/client/remote.conf.erb']) %>
{'fraction_non_alphanumeric': 0.18784099766173032, 'fraction_numerical': 0.002338269680436477, 'mean_word_length': 6.781818181818182, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2841645', 'n_tokens_mistral': 504, 'n_tokens_neox': 438, 'n_words': 77}