<?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 do we get duplicate time values from file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616350#M106488</link>
    <description>&lt;P&gt;Yes, you should use an index other than main, but that is unrelated to your problem.&lt;/P&gt;&lt;P&gt;What search are you using to detect these duplicate times?&amp;nbsp; If there's only one date in the data then there should be only only one date in Splunk so I wonder if you may be misinterpreting something.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Oct 2022 16:50:34 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-10-07T16:50:34Z</dc:date>
    <item>
      <title>How do we get duplicate time values from file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616346#M106485</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I have a file that is created/appended via a bash script (varialbe &amp;gt;&amp;gt; file.txt)&lt;/P&gt;
&lt;P&gt;It puts the newest data at the bottom (plan to change that and use python to write file)&lt;/P&gt;
&lt;P&gt;The file is monitored by the Universal Forwarder - works fine. BUT when data gets into splunk&lt;/P&gt;
&lt;P&gt;I have duplicate date values - the events are a UP or DOWN by hostname with a time recorded for DOWN, and a time recorded for UP.&lt;/P&gt;
&lt;P&gt;The search returns duplicate date/time values for each event.. All data goes into the "main" index.&lt;/P&gt;
&lt;P&gt;The file has no duplicate time/date values.&lt;/P&gt;
&lt;P&gt;Could this be a problem with the sourcetype? should I use&amp;nbsp; a separate index for the data being monitored?&lt;/P&gt;
&lt;P&gt;the file is just a simple text file with date/time, host, and status (UP or DOWN)&lt;/P&gt;
&lt;P&gt;Any suggestions?&lt;/P&gt;
&lt;P&gt;Thanks so much,&lt;/P&gt;
&lt;P&gt;eholz1&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 16:47:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616346#M106485</guid>
      <dc:creator>eholz1</dc:creator>
      <dc:date>2022-10-07T16:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do we get duplicate time values from file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616350#M106488</link>
      <description>&lt;P&gt;Yes, you should use an index other than main, but that is unrelated to your problem.&lt;/P&gt;&lt;P&gt;What search are you using to detect these duplicate times?&amp;nbsp; If there's only one date in the data then there should be only only one date in Splunk so I wonder if you may be misinterpreting something.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 16:50:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616350#M106488</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-07T16:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do we get duplicate time values from file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616363#M106495</link>
      <description>&lt;P&gt;Hello RichGalloway,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply - I will check the sourcetype. for a "custom" index should I configure the Universal forwarder in its outputs.conf or on the indexer's inputsd.conf?&lt;/P&gt;&lt;P&gt;I am going to try to delete the source type - not sure how to do that - but I will dig around for that.&lt;/P&gt;&lt;P&gt;The file being monitored does not have duplicate dates, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Again,&lt;/P&gt;&lt;P&gt;eholz1&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 18:21:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616363#M106495</guid>
      <dc:creator>eholz1</dc:creator>
      <dc:date>2022-10-07T18:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do we get duplicate time values from file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616375#M106499</link>
      <description>&lt;P&gt;The index name should be specified in the inputs.conf file on the system where the data file is.&lt;/P&gt;&lt;P&gt;Please share the SPL and sanitized output showing the duplicate dates.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 20:18:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616375#M106499</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-07T20:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do we get duplicate time values from file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616389#M106501</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to rebuild things now. I will get things going, and post the seaerch, etc here. thanks for the tips&lt;/P&gt;&lt;P&gt;eholz1&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 21:28:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616389#M106501</guid>
      <dc:creator>eholz1</dc:creator>
      <dc:date>2022-10-07T21:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do we get duplicate time values from file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616699#M106523</link>
      <description>&lt;P&gt;500 karmas to richgallowy - thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 14:57:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-we-get-duplicate-time-values-from-file/m-p/616699#M106523</guid>
      <dc:creator>eholz1</dc:creator>
      <dc:date>2022-10-11T14:57:35Z</dc:date>
    </item>
  </channel>
</rss>

