<?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: Splunk Add Monitor Command Error: Why is &amp;quot;Parameter name: Path is not readable&amp;quot;? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-Monitor-Command-Error-Why-is-quot-Parameter-name-Path/m-p/409223#M5892</link>
    <description>&lt;P&gt;As Best Practice you should configure your systems to run the software as a non-root user &lt;BR /&gt;
Try to change the ownership of the $SPLUNK_HOME directory to the user that you want Splunk software to run as.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.1/Installation/RunSplunkasadifferentornon-rootuser"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.1/Installation/RunSplunkasadifferentornon-rootuser&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jun 2018 22:08:10 GMT</pubDate>
    <dc:creator>amiftah</dc:creator>
    <dc:date>2018-06-25T22:08:10Z</dc:date>
    <item>
      <title>Splunk Add Monitor Command Error: Why is "Parameter name: Path is not readable"?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-Monitor-Command-Error-Why-is-quot-Parameter-name-Path/m-p/409222#M5891</link>
      <description>&lt;P&gt;Hello Team Splunk,&lt;/P&gt;

&lt;P&gt;I am trying to add a monitor to a log file. When I do this as either the 'splunk' user or the 'root' user I receive the following error: "&lt;STRONG&gt;Parameter name: Path is not readable.&lt;/STRONG&gt;" I noticed that as the 'splunk' user I cannot read the file with the &lt;EM&gt;vi&lt;/EM&gt; program. However I can read the file as the root user. So why would I receive this error if the 'root' user can read the file and I am running the ./splunk program as 'root'. I also noticed that the log files I am trying to forward are on a network file system that is mounted on the operating system (OS). I am not sure if this mount makes a difference or not. &lt;/P&gt;

&lt;P&gt;Also, I noticed I can add the entire directory but not the specific file I want to forward to the indexer. Also, when I monitor the entire directory the indexer only monitors some other out of date log file and not the log file I am after. 0_o I noticed that the files in this directory are executable except for the specific log file I am trying to monitor. &lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;rogue_carrot&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 22:02:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-Monitor-Command-Error-Why-is-quot-Parameter-name-Path/m-p/409222#M5891</guid>
      <dc:creator>rogue_carrot</dc:creator>
      <dc:date>2018-06-25T22:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add Monitor Command Error: Why is "Parameter name: Path is not readable"?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-Monitor-Command-Error-Why-is-quot-Parameter-name-Path/m-p/409223#M5892</link>
      <description>&lt;P&gt;As Best Practice you should configure your systems to run the software as a non-root user &lt;BR /&gt;
Try to change the ownership of the $SPLUNK_HOME directory to the user that you want Splunk software to run as.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.1/Installation/RunSplunkasadifferentornon-rootuser"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.1/Installation/RunSplunkasadifferentornon-rootuser&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 22:08:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-Monitor-Command-Error-Why-is-quot-Parameter-name-Path/m-p/409223#M5892</guid>
      <dc:creator>amiftah</dc:creator>
      <dc:date>2018-06-25T22:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add Monitor Command Error: Why is "Parameter name: Path is not readable"?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-Monitor-Command-Error-Why-is-quot-Parameter-name-Path/m-p/409224#M5893</link>
      <description>&lt;P&gt;Thank-you for the reply. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I stopped the running splunk process that was executing as root and restarted the splunk process as the splunk user. &lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 22:29:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-Monitor-Command-Error-Why-is-quot-Parameter-name-Path/m-p/409224#M5893</guid>
      <dc:creator>rogue_carrot</dc:creator>
      <dc:date>2018-06-25T22:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add Monitor Command Error: Why is "Parameter name: Path is not readable"?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-Monitor-Command-Error-Why-is-quot-Parameter-name-Path/m-p/409225#M5894</link>
      <description>&lt;P&gt;I found out the problem. The splunk user did not have read access to the file. I gave the file read/write access with the linux &lt;STRONG&gt;setfacl&lt;/STRONG&gt; program. Then my remote indexer picked up the forwarded log file events. I followed this simple tutorial: &lt;A href="https://www.webhostinghero.com/how-to-give-file-permissions-to-a-specific-user-in-linux/"&gt;https://www.webhostinghero.com/how-to-give-file-permissions-to-a-specific-user-in-linux/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 23:38:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-Monitor-Command-Error-Why-is-quot-Parameter-name-Path/m-p/409225#M5894</guid>
      <dc:creator>rogue_carrot</dc:creator>
      <dc:date>2018-06-25T23:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add Monitor Command Error: Why is "Parameter name: Path is not readable"?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-Monitor-Command-Error-Why-is-quot-Parameter-name-Path/m-p/409226#M5895</link>
      <description>&lt;P&gt;I found out the problem. The splunk user did not have read access to the file. I gave the file read/write access with the linux &lt;STRONG&gt;setfacl&lt;/STRONG&gt; program. Then my remote indexer picked up the forwarded log file events. I followed this simple tutorial: &lt;A href="https://www.webhostinghero.com/how-to-give-file-permissions-to-a-specific-user-in-linux/"&gt;https://www.webhostinghero.com/how-to-give-file-permissions-to-a-specific-user-in-linux/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 21:09:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Add-Monitor-Command-Error-Why-is-quot-Parameter-name-Path/m-p/409226#M5895</guid>
      <dc:creator>rogue_carrot</dc:creator>
      <dc:date>2018-06-27T21:09:32Z</dc:date>
    </item>
  </channel>
</rss>

