<?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 Converting regular query to tstats? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Converting-regular-query-to-tstats/m-p/625140#M217309</link>
    <description>&lt;P&gt;I want to convert this query to tstats for faster searching&amp;nbsp;&lt;BR /&gt;can you help me convert it&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;index=win-security host=srv001 user IN ("*adminuser")&lt;BR /&gt;[ search index=paloalto sourcetype=pan:threat]&lt;/P&gt;</description>
    <pubDate>Thu, 29 Dec 2022 03:23:10 GMT</pubDate>
    <dc:creator>leagawa</dc:creator>
    <dc:date>2022-12-29T03:23:10Z</dc:date>
    <item>
      <title>Converting regular query to tstats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Converting-regular-query-to-tstats/m-p/625140#M217309</link>
      <description>&lt;P&gt;I want to convert this query to tstats for faster searching&amp;nbsp;&lt;BR /&gt;can you help me convert it&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;index=win-security host=srv001 user IN ("*adminuser")&lt;BR /&gt;[ search index=paloalto sourcetype=pan:threat]&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 03:23:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Converting-regular-query-to-tstats/m-p/625140#M217309</guid>
      <dc:creator>leagawa</dc:creator>
      <dc:date>2022-12-29T03:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Convert regular query to tstats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Converting-regular-query-to-tstats/m-p/625146#M217311</link>
      <description>&lt;P&gt;You can only use tstats on indexed fields, so unless the 'user' field is indexed, you cannot use tstats in the first parts of the search.&lt;/P&gt;&lt;P&gt;It's not entirely clear what you're trying to do with your subsearch. What are you trying to do there?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 23:45:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Converting-regular-query-to-tstats/m-p/625146#M217311</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-12-22T23:45:41Z</dc:date>
    </item>
  </channel>
</rss>

