<?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 my timechart results getting skewed? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413010#M119057</link>
    <description>&lt;P&gt;What's the search you're using in each case (where you see different result)? Also share the selected time range for each search.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2019 19:43:38 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2019-03-01T19:43:38Z</dc:date>
    <item>
      <title>Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413009#M119056</link>
      <description>&lt;P&gt;I have come across an issue with my timecharts. &lt;/P&gt;

&lt;P&gt;When I do a search for all day on Feb 26th and check 9AM, I see 127 results. However, when I run a search for Feb 26th 8-10AM, the 9AM spot has over 2400 results. &lt;/P&gt;

&lt;P&gt;I have confirmed that the value changes depending on the timeslot selected. For example, if I search for 00-10AM, I get a different result than the previous two. I have confirmed that the jobs are completing successfully and that multiple different searches are doing the same thing. &lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 16:34:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413009#M119056</guid>
      <dc:creator>bstreber</dc:creator>
      <dc:date>2019-03-01T16:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413010#M119057</link>
      <description>&lt;P&gt;What's the search you're using in each case (where you see different result)? Also share the selected time range for each search.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 19:43:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413010#M119057</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2019-03-01T19:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413011#M119058</link>
      <description>&lt;P&gt;Search is &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="ngv"
|fields device.accountSourceId, device.ecmMacAddress, device.firmwareVersion, tuneStatus, device.deviceType assetClass device.deviceId
|search device.firmwareVersion="*" tuneStatus=FAILURE device.accountSourceId!=NULL assetClass!=DVR assetClass!=IPDVR |dedup device.accountSourceId
|search |dedup device.deviceId
|rename device.ecmMacAddress as DEVICE_MAC
| lookup xb6_accountid_mac.csv device.accountSourceId OUTPUT XB6_MAC 
| replace 00:00:00:00:00:00 with NULL 
| eval DEVICE_MAC=coalesce(XB6_MAC, BLUESKY_MAC, DEVICE_MAC)
| lookup FDB_BlueSky_Device_Details.csv DEVICE_MAC OUTPUT CITY, CMTS_DEVICE, LOCATION_ID, MANUFACTURER, MODEL, OPTICAL_RECEIVER_NAME 
| lookup CityToDACRegionMapping.csv CITY OUTPUT DAC_REGION
| search DAC_REGION=*
| timechart usenull=f useother=f span=10min count by DAC_REGION
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Time pick &lt;/P&gt;

&lt;P&gt;Feb 26th to Feb 26th (at 9 AM 30 results) and then Feb 26th 08:00:00 to Feb 26th 10:00:00 (at 9 AM 43 results)&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 19:49:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413011#M119058</guid>
      <dc:creator>bstreber</dc:creator>
      <dc:date>2019-03-01T19:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413012#M119059</link>
      <description>&lt;P&gt;The span interval matters. Are you specifying the same span for each of these searches? If not, refer to the documentation on default time spans:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.4/SearchReference/Timechart#Default_time_spans"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.4/SearchReference/Timechart#Default_time_spans&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Try putting span=15m after your timechart commands in each of your searches. For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart span=15m
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Mar 2019 19:50:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413012#M119059</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2019-03-01T19:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413013#M119060</link>
      <description>&lt;P&gt;Hey I have set the span to 10 minutes. See the search attached below &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="ngv"
|fields device.accountSourceId, device.ecmMacAddress, device.firmwareVersion, tuneStatus, device.deviceType assetClass device.deviceId
|search device.firmwareVersion="*" tuneStatus=FAILURE device.accountSourceId!=NULL assetClass!=DVR assetClass!=IPDVR |dedup device.accountSourceId
|search |dedup device.deviceId
|rename device.ecmMacAddress as DEVICE_MAC
| lookup xb6_accountid_mac.csv device.accountSourceId OUTPUT XB6_MAC 
| replace 00:00:00:00:00:00 with NULL 
| eval DEVICE_MAC=coalesce(XB6_MAC, BLUESKY_MAC, DEVICE_MAC)
| lookup FDB_BlueSky_Device_Details.csv DEVICE_MAC OUTPUT CITY, CMTS_DEVICE, LOCATION_ID, MANUFACTURER, MODEL, OPTICAL_RECEIVER_NAME 
| lookup CityToDACRegionMapping.csv CITY OUTPUT DAC_REGION
| search DAC_REGION=*
| timechart usenull=f useother=f span=10min count by DAC_REGION
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Mar 2019 20:29:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413013#M119060</guid>
      <dc:creator>bstreber</dc:creator>
      <dc:date>2019-03-01T20:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413014#M119061</link>
      <description>&lt;P&gt;To confirm, the same search is being used both times, you have accounted for the span in the search, and all you are doing is changing the time in the GUI time picker? If so, then let's rule out the time picker.&lt;/P&gt;

&lt;P&gt;Calculate time ranges that mean something to you. The documentation for that is here:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.4/SearchReference/SearchTimeModifiers"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.4/SearchReference/SearchTimeModifiers&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Example to isolate all of Feb 26:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="ngv" earliest="02/26/2019:00:00:00" latest="02/27/2019:00:00:00"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Mar 2019 22:09:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413014#M119061</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2019-03-01T22:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413015#M119062</link>
      <description>&lt;P&gt;So for 8-10AM on the 26th I get 43 results at 9AM&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="ngv" earliest="02/26/2019:08:00:00" latest="02/26/2019:10:00:00"
|fields device.accountSourceId, device.ecmMacAddress, device.firmwareVersion, tuneStatus, device.deviceType assetClass device.deviceId
|search device.firmwareVersion="*" tuneStatus=FAILURE device.accountSourceId!=NULL assetClass!=DVR assetClass!=IPDVR |dedup device.accountSourceId
|search |dedup device.deviceId
|rename device.ecmMacAddress as DEVICE_MAC
| lookup xb6_accountid_mac.csv device.accountSourceId OUTPUT XB6_MAC 
| replace 00:00:00:00:00:00 with NULL 
| eval DEVICE_MAC=coalesce(XB6_MAC, BLUESKY_MAC, DEVICE_MAC)
| lookup FDB_BlueSky_Device_Details.csv DEVICE_MAC OUTPUT CITY, CMTS_DEVICE, LOCATION_ID, MANUFACTURER, MODEL, OPTICAL_RECEIVER_NAME 
| lookup CityToDACRegionMapping.csv CITY OUTPUT DAC_REGION
| search DAC_REGION=*
| timechart usenull=f useother=f span=10min count by DAC_REGION
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And with all day I get 30 at 9AM &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="ngv" earliest="02/26/2019:00:00:00" latest="02/27/2019:00:00:00"
|fields device.accountSourceId, device.ecmMacAddress, device.firmwareVersion, tuneStatus, device.deviceType assetClass device.deviceId
|search device.firmwareVersion="*" tuneStatus=FAILURE device.accountSourceId!=NULL assetClass!=DVR assetClass!=IPDVR |dedup device.accountSourceId
|search |dedup device.deviceId
|rename device.ecmMacAddress as DEVICE_MAC
| lookup xb6_accountid_mac.csv device.accountSourceId OUTPUT XB6_MAC 
| replace 00:00:00:00:00:00 with NULL 
| eval DEVICE_MAC=coalesce(XB6_MAC, BLUESKY_MAC, DEVICE_MAC)
| lookup FDB_BlueSky_Device_Details.csv DEVICE_MAC OUTPUT CITY, CMTS_DEVICE, LOCATION_ID, MANUFACTURER, MODEL, OPTICAL_RECEIVER_NAME 
| lookup CityToDACRegionMapping.csv CITY OUTPUT DAC_REGION
| search DAC_REGION=*
| timechart usenull=f useother=f span=10min count by DAC_REGION
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Mar 2019 22:23:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413015#M119062</guid>
      <dc:creator>bstreber</dc:creator>
      <dc:date>2019-03-01T22:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413016#M119063</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="ngv" device.firmwareVersion="*" tuneStatus=FAILURE device.accountSourceId!=NULL assetClass!=DVR assetClass!=IPDVR
|dedup device.accountSourceId device.deviceId
|rename device.ecmMacAddress as DEVICE_MAC
| lookup xb6_accountid_mac.csv device.accountSourceId OUTPUT XB6_MAC 
| replace 00:00:00:00:00:00 with NULL 
| eval DEVICE_MAC=coalesce(XB6_MAC, BLUESKY_MAC, DEVICE_MAC)
| lookup FDB_BlueSky_Device_Details.csv DEVICE_MAC OUTPUT CITY, CMTS_DEVICE, LOCATION_ID, MANUFACTURER, MODEL, OPTICAL_RECEIVER_NAME 
| lookup CityToDACRegionMapping.csv CITY OUTPUT DAC_REGION
| search DAC_REGION=*
| timechart usenull=f useother=f span=10min count by DAC_REGION
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But really, the problem is surely that you are getting a red exclamation-point triangle icon that warns you that your results are truncated because you have too many elements to plot.  That means you need ti increase your &lt;CODE&gt;span=10min&lt;/CODE&gt; to something higher/longer.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2019 07:54:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413016#M119063</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-03-03T07:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413017#M119064</link>
      <description>&lt;P&gt;Thanks for the reply,&lt;BR /&gt;
I have confirmed that my searches are not getting truncated due to a high number of results. The only notifications I receive is about the implied implicit lookup of the tables I am using. &lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2019 19:37:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413017#M119064</guid>
      <dc:creator>bstreber</dc:creator>
      <dc:date>2019-03-03T19:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413018#M119065</link>
      <description>&lt;P&gt;OK, so what do those messages say?&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2019 22:06:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413018#M119065</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-03-03T22:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413019#M119066</link>
      <description>&lt;P&gt;Assuming implicit lookup table with filename 'CityToDACRegionMapping.csv'.&lt;/P&gt;

&lt;P&gt;Assuming implicit lookup table with filename 'FDB_BlueSky_Device_Details.csv'.&lt;/P&gt;

&lt;P&gt;Assuming implicit lookup table with filename 'xb6_accountid_mac.csv'.&lt;/P&gt;

&lt;P&gt;Nothing out of the ordinary. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:29:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413019#M119066</guid>
      <dc:creator>bstreber</dc:creator>
      <dc:date>2020-09-29T23:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413020#M119067</link>
      <description>&lt;P&gt;Yes, those are warnings for violations of best-practices but the configurations do work.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 07:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413020#M119067</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-03-06T07:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413021#M119068</link>
      <description>&lt;P&gt;I have solved the issue as it was caused by the dedups in my search. Since Splunk does not take time into consideration when removing duplicate results. Once I removed the dedups in my search it was working correctly. &lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 18:36:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413021#M119068</guid>
      <dc:creator>bstreber</dc:creator>
      <dc:date>2019-03-14T18:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413022#M119069</link>
      <description>&lt;P&gt;The &lt;CODE&gt;dedup&lt;/CODE&gt; command will work with time if you add &lt;CODE&gt;_time&lt;/CODE&gt; to the list of fields in your &lt;CODE&gt;dedup&lt;/CODE&gt; arguments.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 13:58:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413022#M119069</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-03-15T13:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413023#M119070</link>
      <description>&lt;P&gt;This is amazing, thank you!!!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 16:52:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413023#M119070</guid>
      <dc:creator>bstreber</dc:creator>
      <dc:date>2019-03-15T16:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my timechart results getting skewed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413024#M119071</link>
      <description>&lt;P&gt;Don't forget to &lt;CODE&gt;UpVote&lt;/CODE&gt;!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 18:15:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-timechart-results-getting-skewed/m-p/413024#M119071</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-03-15T18:15:37Z</dc:date>
    </item>
  </channel>
</rss>

