<?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 How to set the path for specific log? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-the-path-for-specific-log/m-p/610265#M105751</link>
    <description>&lt;P&gt;I have a group of 6 hosts logging into splunk but I am having trouble getting the specific log files in.&amp;nbsp; An example of the path and file is:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;/opt/TalendRemoteEngine/TalendJobServersFiles/jobexecutions/logs/20220817205900_iC1V4/resuming_20220817205900_iC1V4.log&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Both the last directory name and the log filename are always going to be different each time a log is generated so I'm trying to use wildcards such as /opt/TalendRemoteEngine/TalendJobServersFiles/jobexecutions/logs/*/*.log but this is not working.&amp;nbsp; My $SPLUNK_HOME/etc/deployment-apps/Splunk_TA_nix/local/inputs.conf file in the looks like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[monitor:///opt/TalendRemoteEngine/TalendJobServersFiles/jobexecutions/logs/.../*.log]&lt;BR /&gt;disabled = 0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any suggestions as to why this does not work and what I should use or try?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Many thanks&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2022 12:08:39 GMT</pubDate>
    <dc:creator>balcv</dc:creator>
    <dc:date>2022-08-22T12:08:39Z</dc:date>
    <item>
      <title>How to set the path for specific log?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-the-path-for-specific-log/m-p/610265#M105751</link>
      <description>&lt;P&gt;I have a group of 6 hosts logging into splunk but I am having trouble getting the specific log files in.&amp;nbsp; An example of the path and file is:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;/opt/TalendRemoteEngine/TalendJobServersFiles/jobexecutions/logs/20220817205900_iC1V4/resuming_20220817205900_iC1V4.log&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Both the last directory name and the log filename are always going to be different each time a log is generated so I'm trying to use wildcards such as /opt/TalendRemoteEngine/TalendJobServersFiles/jobexecutions/logs/*/*.log but this is not working.&amp;nbsp; My $SPLUNK_HOME/etc/deployment-apps/Splunk_TA_nix/local/inputs.conf file in the looks like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[monitor:///opt/TalendRemoteEngine/TalendJobServersFiles/jobexecutions/logs/.../*.log]&lt;BR /&gt;disabled = 0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any suggestions as to why this does not work and what I should use or try?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 12:08:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-the-path-for-specific-log/m-p/610265#M105751</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2022-08-22T12:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setting path for specific log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-the-path-for-specific-log/m-p/610282#M105754</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/180486"&gt;@balcv&lt;/a&gt;&amp;nbsp;- I do not see any reason why it should not collect the logs but I can give you a few pointers for troubleshooting.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Make sure you are deploying this on &lt;STRONG&gt;a forwarder&lt;/STRONG&gt; where the log files exist (as I can see inputs.conf file is under deployment-apps.)&lt;/LI&gt;&lt;LI&gt;Make sure you have UF splunkd restart enabled for Splunk_TA_nix App on Forwarder management.&lt;/LI&gt;&lt;LI&gt;On that forwarder make sure you got the latest deployed inputs.conf file under&amp;nbsp;$SPLUNK_HOME/etc/apps/Splunk_TA_nix/local/inputs.conf.&lt;/LI&gt;&lt;LI&gt;Look at any errors in splunkd.log file for the forwarder machine.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!! Upvote would be appreciated!!!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 05:30:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-the-path-for-specific-log/m-p/610282#M105754</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-08-22T05:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setting path for specific log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-the-path-for-specific-log/m-p/610293#M105759</link>
      <description>&lt;P&gt;And of course verify that your forwarder is able to read those files and directories!&lt;/P&gt;&lt;P&gt;There are so many hours lost on debugging ingestion problems which at the end turn out to be just forwarder user not having rights to read the file &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 07:08:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-the-path-for-specific-log/m-p/610293#M105759</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-08-22T07:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Setting path for specific log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-set-the-path-for-specific-log/m-p/610313#M105765</link>
      <description>&lt;P&gt;Just&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sudo -u &amp;lt;your splunk UF user&amp;gt; bash
ls -Fla /path/to/the/dir/where/files/are
tail &amp;lt;one file on that dir&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 10:12:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-set-the-path-for-specific-log/m-p/610313#M105765</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-08-22T10:12:22Z</dc:date>
    </item>
  </channel>
</rss>

