<?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 monitor contents of the same file but the file will be replaced daily? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-contents-of-the-same-file-but-the-file-will-be/m-p/595140#M207107</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a use-case where I need to monitor the contents of a file that will be replaced on a daily basis (name will be the same) but data within the file keeps changing.&lt;BR /&gt;I developed a script to automate that replaces the contents on the file over a specific interval and had set up the forwarder accordingly.&lt;BR /&gt;The contents keep changing but the forwarder is not able to read the newly updated changes within the file, is there some way this could be achieved in Splunk where I could read the contents of the updating file whose name remains the same throughout its lifetime.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Pravin&lt;/P&gt;</description>
    <pubDate>Mon, 25 Apr 2022 15:22:14 GMT</pubDate>
    <dc:creator>_pravin</dc:creator>
    <dc:date>2022-04-25T15:22:14Z</dc:date>
    <item>
      <title>How to monitor contents of the same file but the file will be replaced daily?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-contents-of-the-same-file-but-the-file-will-be/m-p/595140#M207107</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a use-case where I need to monitor the contents of a file that will be replaced on a daily basis (name will be the same) but data within the file keeps changing.&lt;BR /&gt;I developed a script to automate that replaces the contents on the file over a specific interval and had set up the forwarder accordingly.&lt;BR /&gt;The contents keep changing but the forwarder is not able to read the newly updated changes within the file, is there some way this could be achieved in Splunk where I could read the contents of the updating file whose name remains the same throughout its lifetime.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Pravin&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 15:22:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-contents-of-the-same-file-but-the-file-will-be/m-p/595140#M207107</guid>
      <dc:creator>_pravin</dc:creator>
      <dc:date>2022-04-25T15:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor contents of the same file but the file will be replaced daily</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-contents-of-the-same-file-but-the-file-will-be/m-p/595142#M207108</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;here is one old answers from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;which cover your issue&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Deployment-Architecture/Index-File-Daily/m-p/292469" target="_blank"&gt;https://community.splunk.com/t5/Deployment-Architecture/Index-File-Daily/m-p/292469&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 09:20:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-contents-of-the-same-file-but-the-file-will-be/m-p/595142#M207108</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-04-25T09:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor contents of the same file but the file will be replaced daily</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-contents-of-the-same-file-but-the-file-will-be/m-p/595543#M207267</link>
      <description>&lt;P&gt;Thanks, &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp; for the link to the previous answer. But I tried an alternative where I developed a script to delete the existing file and then have it replaced with the file of the same name. The forwarder was now able to read the updated file and also the changes within it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 09:35:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-monitor-contents-of-the-same-file-but-the-file-will-be/m-p/595543#M207267</guid>
      <dc:creator>_pravin</dc:creator>
      <dc:date>2022-04-27T09:35:21Z</dc:date>
    </item>
  </channel>
</rss>

