<?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 Challenge with splunk forwarder and csv file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Challenge-with-splunk-forwarder-and-csv-file/m-p/672338#M112629</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need some help. Icreate a csv file on remote server from a mysql quert.&lt;/P&gt;&lt;P&gt;I forward the csv file from the remote server to splunk.&lt;/P&gt;&lt;P&gt;I can read the data. The csv file is over written each day, it have have only 1 line of&lt;/P&gt;&lt;P&gt;data, or multiple lines of data - it is a list of device that have gon down. If no devices&lt;/P&gt;&lt;P&gt;are down, the the file only has the hearder, and data that says: :No Devices Down:" I&amp;nbsp; only want to see data from the file on the day the file is writtern. The challenge I have is to read only the data in the file for that day. The issue is that splunk indexes the data, so splunk retains the data over time, like I want only 1 day info from the file, but splunk has all the data indexed&lt;/P&gt;&lt;P&gt;How can I return only the data for the day, not for all data in splunk indes?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;EWHolz&lt;/P&gt;</description>
    <pubDate>Tue, 19 Dec 2023 19:37:09 GMT</pubDate>
    <dc:creator>eholz1</dc:creator>
    <dc:date>2023-12-19T19:37:09Z</dc:date>
    <item>
      <title>Challenge with splunk forwarder and csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Challenge-with-splunk-forwarder-and-csv-file/m-p/672338#M112629</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need some help. Icreate a csv file on remote server from a mysql quert.&lt;/P&gt;&lt;P&gt;I forward the csv file from the remote server to splunk.&lt;/P&gt;&lt;P&gt;I can read the data. The csv file is over written each day, it have have only 1 line of&lt;/P&gt;&lt;P&gt;data, or multiple lines of data - it is a list of device that have gon down. If no devices&lt;/P&gt;&lt;P&gt;are down, the the file only has the hearder, and data that says: :No Devices Down:" I&amp;nbsp; only want to see data from the file on the day the file is writtern. The challenge I have is to read only the data in the file for that day. The issue is that splunk indexes the data, so splunk retains the data over time, like I want only 1 day info from the file, but splunk has all the data indexed&lt;/P&gt;&lt;P&gt;How can I return only the data for the day, not for all data in splunk indes?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;EWHolz&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 19:37:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Challenge-with-splunk-forwarder-and-csv-file/m-p/672338#M112629</guid>
      <dc:creator>eholz1</dc:creator>
      <dc:date>2023-12-19T19:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge with splunk forwarder and csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Challenge-with-splunk-forwarder-and-csv-file/m-p/672402#M112636</link>
      <description>&lt;P&gt;There are two things you can do.&lt;/P&gt;&lt;P&gt;1) Change the retention period of the indexed data to one day.&amp;nbsp; If necessary, create a new index dedicated to the CSV data.&lt;/P&gt;&lt;P&gt;2) When searching the CSV data, fetch only the most recent day.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo earliest=-24h&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 20 Dec 2023 13:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Challenge-with-splunk-forwarder-and-csv-file/m-p/672402#M112636</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-12-20T13:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge with splunk forwarder and csv file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Challenge-with-splunk-forwarder-and-csv-file/m-p/672419#M112638</link>
      <description>&lt;P&gt;Hello Members and richgallowy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the tip. It has been a while since I have needed to apply my&lt;/P&gt;&lt;P&gt;limited "Splunk" skills, I appreciate this suggestion, and will try it out;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;EWHolz&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 15:41:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Challenge-with-splunk-forwarder-and-csv-file/m-p/672419#M112638</guid>
      <dc:creator>eholz1</dc:creator>
      <dc:date>2023-12-20T15:41:23Z</dc:date>
    </item>
  </channel>
</rss>

