<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: All monitors are working except /var/log/messages. in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/511158#M2819</link>
    <description>&lt;P&gt;I found that the Splunk configurations for syslog get the hostname from the log file itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set /etc/rsyslog.conf to have&amp;nbsp;&lt;STRONG&gt;$PreserveFQDN on&lt;/STRONG&gt; and now it is working correctly.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2020 15:32:36 GMT</pubDate>
    <dc:creator>RoyceTheBiker</dc:creator>
    <dc:date>2020-07-27T15:32:36Z</dc:date>
    <item>
      <title>Why are all monitors working except /var/log/messages?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510895#M2793</link>
      <description>&lt;P&gt;I copied the default inputs.conf to local and added some monitor configurations. There are seven monitors setup but only six are reporting. /var/log/messages is not working.&lt;/P&gt;
&lt;PRE&gt;[monitor:///var/log/messages]
disabled = false
#index = linuxlog
sourcetype = syslog

[monitor:///var/log/secure]
disabled = 0
sourcetype = linux_secure&lt;/PRE&gt;
&lt;P&gt;The logs from secure do show up and the other monitors are working as expected.&lt;/P&gt;
&lt;P&gt;I have tried with ``disabled = 0``, also with and without index and sourcetype.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;All the examples I am finding indicate that this should be working.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 22:29:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510895#M2793</guid>
      <dc:creator>RoyceTheBiker</dc:creator>
      <dc:date>2020-07-24T22:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: All monitors are working except /var/log/messages.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510896#M2794</link>
      <description>&lt;P&gt;When your UF runs as non root user you must give access rights to needed log files an directories. If you are running also selinux &amp;nbsp;then you must also modify its policy.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 20:16:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510896#M2794</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-24T20:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: All monitors are working except /var/log/messages.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510901#M2795</link>
      <description>&lt;P&gt;Both messages and secure are root:root 600.&amp;nbsp; The UF (splunkd) is being run by root so is also the process-runner.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 20:47:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510901#M2795</guid>
      <dc:creator>RoyceTheBiker</dc:creator>
      <dc:date>2020-07-24T20:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: All monitors are working except /var/log/messages.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510902#M2796</link>
      <description>&lt;P&gt;Are you running selinux? Did you find any relevant error from messages or auditd files?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 20:55:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510902#M2796</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-24T20:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: All monitors are working except /var/log/messages.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510903#M2797</link>
      <description>&lt;P&gt;SE is disabled.&amp;nbsp;&lt;BR /&gt;This looks like there are no errors with the config files.&lt;/P&gt;&lt;P&gt;/var/log/messages&lt;BR /&gt;Jul 24 20:20:43 devtools splunk: All installed files intact.&lt;BR /&gt;Jul 24 20:20:43 devtools splunk: Done&lt;BR /&gt;Jul 24 20:20:43 devtools splunk: All preliminary checks passed.&lt;BR /&gt;Jul 24 20:20:43 devtools splunk: Starting splunk server daemon (splunkd)...&lt;BR /&gt;Jul 24 20:20:43 devtools splunk: Done&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 21:04:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510903#M2797</guid>
      <dc:creator>RoyceTheBiker</dc:creator>
      <dc:date>2020-07-24T21:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: All monitors are working except /var/log/messages.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510904#M2798</link>
      <description>&lt;P&gt;The only splunk lines in the audit.log is for when systemd restarts the service.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 21:08:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510904#M2798</guid>
      <dc:creator>RoyceTheBiker</dc:creator>
      <dc:date>2020-07-24T21:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: All monitors are working except /var/log/messages.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510911#M2800</link>
      <description>&lt;P&gt;I just found that the /var/log/messages are being sent to the Splunk server, but the hostname is the short name, not the FQDN that I was looking at.&lt;/P&gt;&lt;P&gt;Under the host=&amp;lt;short name&amp;gt; the only source is /var/log/message.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will look to see if there is another spot where the short name is used and forces this.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 22:14:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/510911#M2800</guid>
      <dc:creator>RoyceTheBiker</dc:creator>
      <dc:date>2020-07-24T22:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: All monitors are working except /var/log/messages.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/511158#M2819</link>
      <description>&lt;P&gt;I found that the Splunk configurations for syslog get the hostname from the log file itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set /etc/rsyslog.conf to have&amp;nbsp;&lt;STRONG&gt;$PreserveFQDN on&lt;/STRONG&gt; and now it is working correctly.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 15:32:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/511158#M2819</guid>
      <dc:creator>RoyceTheBiker</dc:creator>
      <dc:date>2020-07-27T15:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why are all monitors working except /var/log/messages?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/564383#M9780</link>
      <description>&lt;P&gt;You could also set the host here:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[monitor:///var/log/messages]
disabled = false
host = &amp;lt;FQDN&amp;gt;
sourcetype = syslog&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 23 Aug 2021 15:38:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-are-all-monitors-working-except-var-log-messages/m-p/564383#M9780</guid>
      <dc:creator>ephemeric</dc:creator>
      <dc:date>2021-08-23T15:38:55Z</dc:date>
    </item>
  </channel>
</rss>

