<?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 Whaat is the tstats dynamic way to set the value on index to prevent wildcard? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Whaat-is-the-tstats-dynamic-way-to-set-the-value-on-index-to/m-p/600388#M209000</link>
    <description>&lt;P&gt;Hi Splunkers,&lt;BR /&gt;&lt;BR /&gt;I was wondering if this is possible on tstats command. Get the dynamic value from savedsearch result or lookup? savedsearch or lookup is updating every hour.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| tstats max(_time) as last_updated WHERE index=* BY index, host&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;To avoid wildcard.. I was thinking it will be efficient if that is possible.&lt;BR /&gt;&lt;BR /&gt;Appreciate any response.. Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jun 2022 21:06:43 GMT</pubDate>
    <dc:creator>kelz</dc:creator>
    <dc:date>2022-06-06T21:06:43Z</dc:date>
    <item>
      <title>Whaat is the tstats dynamic way to set the value on index to prevent wildcard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Whaat-is-the-tstats-dynamic-way-to-set-the-value-on-index-to/m-p/600388#M209000</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;BR /&gt;&lt;BR /&gt;I was wondering if this is possible on tstats command. Get the dynamic value from savedsearch result or lookup? savedsearch or lookup is updating every hour.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| tstats max(_time) as last_updated WHERE index=* BY index, host&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;To avoid wildcard.. I was thinking it will be efficient if that is possible.&lt;BR /&gt;&lt;BR /&gt;Appreciate any response.. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 21:06:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Whaat-is-the-tstats-dynamic-way-to-set-the-value-on-index-to/m-p/600388#M209000</guid>
      <dc:creator>kelz</dc:creator>
      <dc:date>2022-06-06T21:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: tstats dynamic way to set the value on index to prevent wildcard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Whaat-is-the-tstats-dynamic-way-to-set-the-value-on-index-to/m-p/600395#M209005</link>
      <description>&lt;P&gt;Hi, maybe something like&lt;/P&gt;&lt;PRE&gt;|tstats count where [|makeresults | eval index="_internal"|fields index] by index, host&lt;/PRE&gt;&lt;P&gt;That subsearch can return a field named index which then gets used for tstats.&amp;nbsp; Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 07:07:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Whaat-is-the-tstats-dynamic-way-to-set-the-value-on-index-to/m-p/600395#M209005</guid>
      <dc:creator>rymundo_splunk</dc:creator>
      <dc:date>2022-06-03T07:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: tstats dynamic way to set the value on index to prevent wildcard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Whaat-is-the-tstats-dynamic-way-to-set-the-value-on-index-to/m-p/600473#M209033</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/42836"&gt;@rymundo_splunk&lt;/a&gt;&amp;nbsp;it works!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 13:05:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Whaat-is-the-tstats-dynamic-way-to-set-the-value-on-index-to/m-p/600473#M209033</guid>
      <dc:creator>kelz</dc:creator>
      <dc:date>2022-06-03T13:05:21Z</dc:date>
    </item>
  </channel>
</rss>

