<?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 Why the error PARAMETER NAME: PATH MUST BE A FILE OR DIRECTORY ERROR&amp;quot; when trying to monitor logs on a server? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614342#M26173</link>
    <description>&lt;P&gt;HI&lt;/P&gt;
&lt;P&gt;I am trying to monitor logs on a server. I have a UF in it and am trying to ./splunk add monitor.&lt;/P&gt;
&lt;P&gt;When I put the path, index and so on. I keep getting this error "&amp;nbsp;PARAMETER NAME: PATH MUST BE A FILE OR DIRECTORY" I have gone thru tons of questions on here but no one answer this particular question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2022 15:45:45 GMT</pubDate>
    <dc:creator>woodlandrelic</dc:creator>
    <dc:date>2022-09-23T15:45:45Z</dc:date>
    <item>
      <title>Why the error PARAMETER NAME: PATH MUST BE A FILE OR DIRECTORY ERROR" when trying to monitor logs on a server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614342#M26173</link>
      <description>&lt;P&gt;HI&lt;/P&gt;
&lt;P&gt;I am trying to monitor logs on a server. I have a UF in it and am trying to ./splunk add monitor.&lt;/P&gt;
&lt;P&gt;When I put the path, index and so on. I keep getting this error "&amp;nbsp;PARAMETER NAME: PATH MUST BE A FILE OR DIRECTORY" I have gone thru tons of questions on here but no one answer this particular question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 15:45:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614342#M26173</guid>
      <dc:creator>woodlandrelic</dc:creator>
      <dc:date>2022-09-23T15:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why the error PARAMETER NAME: PATH MUST BE A FILE OR DIRECTORY ERROR" when trying to monitor logs on a server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614364#M26174</link>
      <description>&lt;P&gt;Please tell us the exact CLI command you are using to add the monitor.&amp;nbsp; What platform is the UF on?&amp;nbsp; It may be necessary to put the file path in quotes.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 18:08:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614364#M26174</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-09-23T18:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why the error PARAMETER NAME: PATH MUST BE A FILE OR DIRECTORY ERROR" when trying to monitor logs on a server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614365#M26175</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The application is Linux. The app is StoneBranch&amp;nbsp;&lt;/P&gt;&lt;P&gt;The commands from&amp;nbsp; opt/splunkforwarder/bin&lt;/P&gt;&lt;P&gt;./splunk add monitor&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 19:35:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614365#M26175</guid>
      <dc:creator>woodlandrelic</dc:creator>
      <dc:date>2022-09-23T19:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why the error PARAMETER NAME: PATH MUST BE A FILE OR DIRECTORY ERROR" when trying to monitor logs on a server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614386#M26176</link>
      <description>&lt;P&gt;When you are adding a monitor you must add also path to file or to directory as a parameter to the splunk add monitor command. You should do like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./splunk add monitor /opt/foo/bar/var/log/file.log&lt;/LI-CODE&gt;&lt;P&gt;See more from &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/MonitorfilesanddirectoriesusingtheCLI" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/MonitorfilesanddirectoriesusingtheCLI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 20:33:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614386#M26176</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-09-23T20:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why the error PARAMETER NAME: PATH MUST BE A FILE OR DIRECTORY ERROR" when trying to monitor logs on a server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614387#M26177</link>
      <description>&lt;P&gt;The add monitor command takes at least one argument so specifying just "splunk add monitor" is going to fail.&amp;nbsp; See &lt;FONT face="courier new,courier"&gt;splunk help add monitor&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk add monitor -source /var/log -index os -sourcetype foo&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 20:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614387#M26177</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-09-23T20:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why the error PARAMETER NAME: PATH MUST BE A FILE OR DIRECTORY ERROR" when trying to monitor logs on a server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614392#M26178</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, what I did was as I went into&lt;/P&gt;&lt;P&gt;/opt/splunkforwarder/etc/apps/search/Splunk_TA/local&lt;/P&gt;&lt;P&gt;Then vi inputs.conf&amp;nbsp;&lt;/P&gt;&lt;P&gt;Created the monitor stanza saved and restart.&lt;/P&gt;&lt;P&gt;Voila and&amp;nbsp; my data is popping .&lt;/P&gt;&lt;P&gt;Thank you guys. Am finding way around splunk.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 21:15:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/614392#M26178</guid>
      <dc:creator>woodlandrelic</dc:creator>
      <dc:date>2022-09-23T21:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why the error PARAMETER NAME: PATH MUST BE A FILE OR DIRECTORY ERROR" when trying to monitor logs on a server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/621282#M26373</link>
      <description>&lt;P&gt;That is understood, but the Splunk Universal Forwarder 'splunk' utility is buggy and sometimes will not accept even a fully-qualified filename path.&amp;nbsp; Today we deployed identical rules for identical files across 100 servers, and about 20 of them failed with this error for no apparent reason.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 17:05:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-the-error-PARAMETER-NAME-PATH-MUST-BE-A-FILE-OR-DIRECTORY/m-p/621282#M26373</guid>
      <dc:creator>proft</dc:creator>
      <dc:date>2022-11-17T17:05:36Z</dc:date>
    </item>
  </channel>
</rss>

