<?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 How to leverage the data from tstats query from a datamodel to stats command? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-leverage-the-data-from-tstats-query-from-a-datamodel-to/m-p/414010#M7172</link>
    <description>&lt;P&gt;I am using C#SDK to search for &lt;CODE&gt;| tstats count FROM datamodel=IIS_Data WHERE nodename=IIS_events IIS_events.cs_method='GET'....&lt;/CODE&gt; but it is failing with "Error in 'tstats' command: This command is not supported in a real-time search".&lt;/P&gt;
&lt;P&gt;If we replace tstats with stats and what else we need to make change?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jun 2020 23:12:10 GMT</pubDate>
    <dc:creator>kaur_aman18</dc:creator>
    <dc:date>2020-06-17T23:12:10Z</dc:date>
    <item>
      <title>How to leverage the data from tstats query from a datamodel to stats command?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-leverage-the-data-from-tstats-query-from-a-datamodel-to/m-p/414010#M7172</link>
      <description>&lt;P&gt;I am using C#SDK to search for &lt;CODE&gt;| tstats count FROM datamodel=IIS_Data WHERE nodename=IIS_events IIS_events.cs_method='GET'....&lt;/CODE&gt; but it is failing with "Error in 'tstats' command: This command is not supported in a real-time search".&lt;/P&gt;
&lt;P&gt;If we replace tstats with stats and what else we need to make change?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 23:12:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-leverage-the-data-from-tstats-query-from-a-datamodel-to/m-p/414010#M7172</guid>
      <dc:creator>kaur_aman18</dc:creator>
      <dc:date>2020-06-17T23:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage the data from tstats query from a datamodel to stats command?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-leverage-the-data-from-tstats-query-from-a-datamodel-to/m-p/414011#M7173</link>
      <description>&lt;P&gt;Not familiar with the C# SDK and not sure what exactly you want to achieve, but can you not just run it as a normal search instead of a realtime search? Doing realtime searches on an accelerated data model anyway doesn't make much sense.&lt;BR /&gt;
See &lt;A href="https://dev.splunk.com/view/csharp-sdk-pcl/SP-CAAAEYY"&gt;https://dev.splunk.com/view/csharp-sdk-pcl/SP-CAAAEYY&lt;/A&gt; for the differences and how to run them.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 13:57:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-leverage-the-data-from-tstats-query-from-a-datamodel-to/m-p/414011#M7173</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2019-06-12T13:57:29Z</dc:date>
    </item>
  </channel>
</rss>

