<commit_before><%
  require 'digest'
  networks = spec.networks.marshal_dump.values
  network = networks.find do |network_spec|
    network_spec.default
  end

  network ||= networks.first
  job_ip = network.ip
  job_ip_md5sum = Digest::MD5.hexdigest(job_ip)
%>

module(load="imfile")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/rabbit@<%= job_ip_md5sum %>.log"
      Tag="rabbitmq")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/rabbit@<%= job_ip_md5sum %>-sasl.log"
      Tag="rabbitmq_sasl")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/startup_stderr.log"
      Tag="rabbitmq_startup_stderr")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/startup_stdout.log"
      Tag="rabbitmq_startup_stdout")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/shutdown_stdout.log"
      Tag="rabbitmq_shutdown_stdout")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/shutdown_stderr.log"
      Tag="rabbitmq_shutdown_stderr")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/access.log*"
      Tag="rabbitmq_http_api_access")

input(type="imfile"<commit_msg>Updated syslog forward for access logs to new path<commit_after><%
  require 'digest'
  networks = spec.networks.marshal_dump.values
  network = networks.find do |network_spec|
    network_spec.default
  end

  network ||= networks.first
  job_ip = network.ip
  job_ip_md5sum = Digest::MD5.hexdigest(job_ip)
%>

module(load="imfile")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/rabbit@<%= job_ip_md5sum %>.log"
      Tag="rabbitmq")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/rabbit@<%= job_ip_md5sum %>-sasl.log"
      Tag="rabbitmq_sasl")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/startup_stderr.log"
      Tag="rabbitmq_startup_stderr")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/startup_stdout.log"
      Tag="rabbitmq_startup_stdout")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/shutdown_stdout.log"
      Tag="rabbitmq_shutdown_stdout")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/shutdown_stderr.log"
      Tag="rabbitmq_shutdown_stderr")

input(type="imfile"
      File="/var/vcap/sys/log/rabbitmq-server/management-ui/access.log*"
      Tag="rabbitmq_http_api_access")

input(type="imfile"
{'fraction_non_alphanumeric': 0.15397282832441334, 'fraction_numerical': 0.0032935364347468094, 'mean_word_length': 4.248380129589632, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1213559', 'n_tokens_mistral': 954, 'n_tokens_neox': 909, 'n_words': 95}