<?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: Problem with time selectors and datamodel in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197708#M57148</link>
    <description>&lt;P&gt;Thanks martin.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2016 22:32:17 GMT</pubDate>
    <dc:creator>Kukkadapu</dc:creator>
    <dc:date>2016-06-29T22:32:17Z</dc:date>
    <item>
      <title>Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197695#M57135</link>
      <description>&lt;P&gt;I'm migrating from index = .. notation to a datamodel definition. &lt;/P&gt;

&lt;P&gt;I'm stuck with the use of the "earliest" and "latest" parameters in a search. Í have a drop list with time options and my search looks like:&lt;/P&gt;

&lt;P&gt;index="index1" earliest=@$TimePeriod1$ latest=+1$TimePeriod1$@$TimePeriod1$| timechart count(...&lt;/P&gt;

&lt;P&gt;where TimePeriod1 is a result of a drop down (d,w,mon,q)&lt;/P&gt;

&lt;P&gt;Now with datamodels, I don't know where to select the time values.&lt;/P&gt;

&lt;P&gt;| datamodel TEST SUCCESS search | search earliest=@$TimePeriod1$ latest=+1$TimePeriod1$@$TimePeriod1$| timechart count(...&lt;BR /&gt;
doesn't work.&lt;/P&gt;

&lt;P&gt;Any suggestion?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2014 00:16:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197695#M57135</guid>
      <dc:creator>snemiro_514</dc:creator>
      <dc:date>2014-11-08T00:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197696#M57136</link>
      <description>&lt;P&gt;Why are you stuck with setting the time range in the search rather than using the regular time range?&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2014 00:33:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197696#M57136</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-08T00:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197697#M57137</link>
      <description>&lt;P&gt;The dashboard allows users to choose the time to compare between different periods of data. They can choose days, weeks, months, quarters, years, so I show a graphic of "this period" and "previous period".&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2014 00:48:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197697#M57137</guid>
      <dc:creator>snemiro_514</dc:creator>
      <dc:date>2014-11-08T00:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197698#M57138</link>
      <description>&lt;P&gt;Why not set the time range in the earliest and latest time tags?&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2014 00:57:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197698#M57138</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-08T00:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197699#M57139</link>
      <description>&lt;P&gt;That might work. We are ending the day here. I will try it on Monday. Thank you, Martin!&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2014 01:02:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197699#M57139</guid>
      <dc:creator>snemiro_514</dc:creator>
      <dc:date>2014-11-08T01:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197700#M57140</link>
      <description>&lt;P&gt;Works like a charm. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2014 17:00:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197700#M57140</guid>
      <dc:creator>snemiro_514</dc:creator>
      <dc:date>2014-11-10T17:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197701#M57141</link>
      <description>&lt;P&gt;Using the tags instead of the search parameters solved the problem. Thanks Martin!&lt;/P&gt;

&lt;P&gt;"martin_mueller ♦ · &lt;/P&gt;

&lt;P&gt;Why not set the time range in the earliest and latest time tags?&lt;BR /&gt;
"&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2014 18:36:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197701#M57141</guid>
      <dc:creator>snemiro_514</dc:creator>
      <dc:date>2014-11-10T18:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197702#M57142</link>
      <description>&lt;P&gt;Hi Snemiro, Can you elaborate the fix? I mean how to use tags in search parameters with datamodel. &lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 22:00:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197702#M57142</guid>
      <dc:creator>Kukkadapu</dc:creator>
      <dc:date>2016-06-27T22:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197703#M57143</link>
      <description>&lt;P&gt;Hi Martin,&lt;BR /&gt;
Can you tell me how to set the time range in the earliest and latest time tags?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 23:53:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197703#M57143</guid>
      <dc:creator>Kukkadapu</dc:creator>
      <dc:date>2016-06-27T23:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197704#M57144</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Viz/PanelreferenceforSimplifiedXML#search_element"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Viz/PanelreferenceforSimplifiedXML#search_element&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 00:53:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197704#M57144</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-06-28T00:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197705#M57145</link>
      <description>&lt;P&gt;Thanks Martin. I'll check the document and try it. Appreciate your time&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 16:25:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197705#M57145</guid>
      <dc:creator>Kukkadapu</dc:creator>
      <dc:date>2016-06-28T16:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197706#M57146</link>
      <description>&lt;P&gt;Hi Matin, I've set the time range in the earliest and latest time tags and it worked fine.&lt;/P&gt;

&lt;P&gt;But my use case is to join two datamodels and each datamodel has different time stamps. I can pass one time range for a datamodel but not sure how to do it for multiple datamodels? Any ideas?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 22:03:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197706#M57146</guid>
      <dc:creator>Kukkadapu</dc:creator>
      <dc:date>2016-06-29T22:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197707#M57147</link>
      <description>&lt;P&gt;I see - tstats can search accelerated datamodels, and supports inline filtering by earliest and latest: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/SearchReference/Tstats#Filtering_with_where"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/SearchReference/Tstats#Filtering_with_where&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 22:25:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197707#M57147</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-06-29T22:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time selectors and datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197708#M57148</link>
      <description>&lt;P&gt;Thanks martin.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 22:32:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-time-selectors-and-datamodel/m-p/197708#M57148</guid>
      <dc:creator>Kukkadapu</dc:creator>
      <dc:date>2016-06-29T22:32:17Z</dc:date>
    </item>
  </channel>
</rss>

