<?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: How can I add new text file everyday? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-new-text-file-everyday/m-p/585797#M103040</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243108"&gt;@maha110192&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;here you can find the full documentation about Gettin Data in&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Getstartedwithgettingdatain" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Getstartedwithgettingdatain&lt;/A&gt;&amp;nbsp;, here you can find the documentation about your Use Case&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.5/Data/Monitorfilesanddirectories" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.5/Data/Monitorfilesanddirectories&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In few words, you have to configure the inputs.conf file and you have two ways to do this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;by GUI if the file is in the same Splunk Server,&lt;/LI&gt;&lt;LI&gt;manually modifying the inputs.conf file if the file is in a different server wher you have a Universal Forwarder.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;in both cases, you'll have a new stanza in inputs.conf stanza:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://logfiles/syslog/training-nix*]
disabled = 0
index = Training
sourcetype = tp:tr&lt;/LI-CODE&gt;&lt;P&gt;if you manually modify the inputs.conf file, you have to restart Splunk on the system where the file is located.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 19 Feb 2022 06:35:23 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-02-19T06:35:23Z</dc:date>
    <item>
      <title>How can I add new text file everyday?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-new-text-file-everyday/m-p/585795#M103039</link>
      <description>&lt;P&gt;Hello splunkies!&lt;/P&gt;&lt;P&gt;I'm trying to be and admin and I'm doing an exercise but I cannot find the way to configure my inputs.conf&lt;/P&gt;&lt;P&gt;here the exercise:&lt;/P&gt;&lt;P&gt;path:&amp;nbsp; /logfiles/syslog/training-nix01.txt&lt;/P&gt;&lt;P class=""&gt;This file will be updated continuously and will roll daily to training-nix01.1, training-nix01.1 etc&lt;/P&gt;&lt;P class=""&gt;Data from these files should be written to&lt;/P&gt;&lt;P class=""&gt;Index: Training&lt;/P&gt;&lt;P class=""&gt;Sourcetype: tp:tr&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;any ideas?&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 05:37:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-new-text-file-everyday/m-p/585795#M103039</guid>
      <dc:creator>maha110192</dc:creator>
      <dc:date>2022-02-19T05:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add new text file everyday?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-new-text-file-everyday/m-p/585797#M103040</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243108"&gt;@maha110192&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;here you can find the full documentation about Gettin Data in&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Getstartedwithgettingdatain" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Getstartedwithgettingdatain&lt;/A&gt;&amp;nbsp;, here you can find the documentation about your Use Case&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.5/Data/Monitorfilesanddirectories" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.5/Data/Monitorfilesanddirectories&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In few words, you have to configure the inputs.conf file and you have two ways to do this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;by GUI if the file is in the same Splunk Server,&lt;/LI&gt;&lt;LI&gt;manually modifying the inputs.conf file if the file is in a different server wher you have a Universal Forwarder.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;in both cases, you'll have a new stanza in inputs.conf stanza:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://logfiles/syslog/training-nix*]
disabled = 0
index = Training
sourcetype = tp:tr&lt;/LI-CODE&gt;&lt;P&gt;if you manually modify the inputs.conf file, you have to restart Splunk on the system where the file is located.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 06:35:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-new-text-file-everyday/m-p/585797#M103040</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-19T06:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add new text file everyday?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-new-text-file-everyday/m-p/585798#M103041</link>
      <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;I was doing everthing right except the way to get a new text file daily.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 06:46:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-add-new-text-file-everyday/m-p/585798#M103041</guid>
      <dc:creator>maha110192</dc:creator>
      <dc:date>2022-02-19T06:46:20Z</dc:date>
    </item>
  </channel>
</rss>

