<?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 Why is my timechart search producing some events with no _time values and other field values are displaced in the resulting table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-timechart-search-producing-some-events-with-no-time/m-p/194165#M55934</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I have this search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="myhost.com" NOT source=*access_log* AND "SearchA" | timechart span=1d dc(App) as NotAssigned 
| eval NotAssigned=NotAssigned+0 | appendcols [search SearchB 
| timechart span=1d sum(Count) as Assigned ] 
| eval Time=strftime(_time, "%d-%m") |table  Time, Assigned, NotAssigned
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This seems to work ok, but sometimes one of those variables is shown with no time for some events, and I don't know why. &lt;/P&gt;

&lt;P&gt;This is the case:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/604i3A5D60E650E21864/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;When I made the searches individually, this was displayed correctly. But in some moments, it looks like there are some _time values missing.&lt;BR /&gt;
Like in the attached image, today is 26-08, but the table is showing until 25-08, and one of the variables was displaced a couple of days. &lt;/P&gt;

&lt;P&gt;Do you know how to fix it? ... &lt;/P&gt;</description>
    <pubDate>Wed, 26 Aug 2015 16:00:24 GMT</pubDate>
    <dc:creator>msalaverry</dc:creator>
    <dc:date>2015-08-26T16:00:24Z</dc:date>
    <item>
      <title>Why is my timechart search producing some events with no _time values and other field values are displaced in the resulting table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-timechart-search-producing-some-events-with-no-time/m-p/194165#M55934</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I have this search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="myhost.com" NOT source=*access_log* AND "SearchA" | timechart span=1d dc(App) as NotAssigned 
| eval NotAssigned=NotAssigned+0 | appendcols [search SearchB 
| timechart span=1d sum(Count) as Assigned ] 
| eval Time=strftime(_time, "%d-%m") |table  Time, Assigned, NotAssigned
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This seems to work ok, but sometimes one of those variables is shown with no time for some events, and I don't know why. &lt;/P&gt;

&lt;P&gt;This is the case:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/604i3A5D60E650E21864/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;When I made the searches individually, this was displayed correctly. But in some moments, it looks like there are some _time values missing.&lt;BR /&gt;
Like in the attached image, today is 26-08, but the table is showing until 25-08, and one of the variables was displaced a couple of days. &lt;/P&gt;

&lt;P&gt;Do you know how to fix it? ... &lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2015 16:00:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-timechart-search-producing-some-events-with-no-time/m-p/194165#M55934</guid>
      <dc:creator>msalaverry</dc:creator>
      <dc:date>2015-08-26T16:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my timechart search producing some events with no _time values and other field values are displaced in the resulting table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-timechart-search-producing-some-events-with-no-time/m-p/194166#M55935</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; host="myhost.com" NOT source=*access_log* AND "SearchA" | timechart span=1d dc(App) as NotAssigned 
 | eval NotAssigned=NotAssigned+0 | append [search SearchB 
 | timechart span=1d sum(Count) as Assigned ] | stats values(*) as * by _time
 | eval Time=strftime(_time, "%d-%m") |table  Time, Assigned, NotAssigned
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Aug 2015 17:17:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-timechart-search-producing-some-events-with-no-time/m-p/194166#M55935</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-26T17:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my timechart search producing some events with no _time values and other field values are displaced in the resulting table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-timechart-search-producing-some-events-with-no-time/m-p/194167#M55936</link>
      <description>&lt;P&gt;Tried, but didn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; .. Why is this happening?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 14:49:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-timechart-search-producing-some-events-with-no-time/m-p/194167#M55936</guid>
      <dc:creator>msalaverry</dc:creator>
      <dc:date>2015-08-27T14:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my timechart search producing some events with no _time values and other field values are displaced in the resulting table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-timechart-search-producing-some-events-with-no-time/m-p/194168#M55937</link>
      <description>&lt;P&gt;It is due to appendcols as there could be different dates available for both the queries. Could you please tell what went wrong with the query I suggested?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 16:52:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-timechart-search-producing-some-events-with-no-time/m-p/194168#M55937</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-27T16:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my timechart search producing some events with no _time values and other field values are displaced in the resulting table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-timechart-search-producing-some-events-with-no-time/m-p/194169#M55938</link>
      <description>&lt;P&gt;Hey somesoni2... You were right, I updated the query and I missed to change appendcols to appen ... &lt;/P&gt;

&lt;P&gt;Seems to be ok now... Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 18:41:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-timechart-search-producing-some-events-with-no-time/m-p/194169#M55938</guid>
      <dc:creator>msalaverry</dc:creator>
      <dc:date>2015-08-27T18:41:37Z</dc:date>
    </item>
  </channel>
</rss>

