<?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: Why are there multiple values on the test instance in timestartpos and timeendpos fields? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-there-multiple-values-on-the-test-instance-in/m-p/324318#M60381</link>
    <description>&lt;P&gt;First I am not saying there are two lines, just that the timestartpos and timeendpos have additional values. That is these two fields have become multi value fields. Secondly, I need date_hour in the output of query for later use.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 07:48:54 GMT</pubDate>
    <dc:creator>nemaden</dc:creator>
    <dc:date>2018-04-10T07:48:54Z</dc:date>
    <item>
      <title>Why are there multiple values on the test instance in timestartpos and timeendpos fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-there-multiple-values-on-the-test-instance-in/m-p/324316#M60379</link>
      <description>&lt;P&gt;I extracted sample data from our prod instance of Splunk to be used in the test instance. The way I did it was to run a search in prod instance, export the results to CSV and then upload into test instance.  Everything seems so to correct the data except the timeendpos and timestart pos values.&lt;/P&gt;

&lt;P&gt;Some how  on the test instance the timeendpos and timestartpos seem to have two sets values for each row of data.&lt;/P&gt;

&lt;P&gt;If I run the following query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=xyz  user="john" | table user, date_hour, date_minute,  timestartpos, timeendpos
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In prod it returns&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;john  16  33 10  24
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but the same query on test returns&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;john   16 33 10  24
blank 16 33  92  102
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So loading the data in test seems to have introduced extra values for timestartpos and timeendpos, 92 and 102 respectively.&lt;BR /&gt;
Unfortunately, I can't post a properly formatted output.&lt;/P&gt;

&lt;P&gt;Does anyone know why this is happening and how to resolve the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 18:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-there-multiple-values-on-the-test-instance-in/m-p/324316#M60379</guid>
      <dc:creator>nemaden</dc:creator>
      <dc:date>2018-04-09T18:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why are there multiple values on the test instance in timestartpos and timeendpos fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-there-multiple-values-on-the-test-instance-in/m-p/324317#M60380</link>
      <description>&lt;P&gt;Hey@nemaden,&lt;/P&gt;

&lt;P&gt;Any reason to use date_hour and date_minute ? Instead use _time.&lt;BR /&gt;
date_hour field will give you values for all 24 hrs for any date that comes in the log.I assume this is your problem.&lt;BR /&gt;
Please try and report if this helps!! &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:57:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-there-multiple-values-on-the-test-instance-in/m-p/324317#M60380</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2020-09-29T18:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why are there multiple values on the test instance in timestartpos and timeendpos fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-there-multiple-values-on-the-test-instance-in/m-p/324318#M60381</link>
      <description>&lt;P&gt;First I am not saying there are two lines, just that the timestartpos and timeendpos have additional values. That is these two fields have become multi value fields. Secondly, I need date_hour in the output of query for later use.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 07:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-there-multiple-values-on-the-test-instance-in/m-p/324318#M60381</guid>
      <dc:creator>nemaden</dc:creator>
      <dc:date>2018-04-10T07:48:54Z</dc:date>
    </item>
  </channel>
</rss>

