<?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: How can I fix my query for a malware dashboard, which is throwing me this error: &amp;quot;Error in 'TsidxStats': WHERE clause is not an exact query&amp;quot;? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297773#M18869</link>
    <description>&lt;P&gt;so are you running this query directly in search?&lt;BR /&gt;
or putting it in dashboard and then checking?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Feb 2018 15:44:45 GMT</pubDate>
    <dc:creator>493669</dc:creator>
    <dc:date>2018-02-16T15:44:45Z</dc:date>
    <item>
      <title>How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297740#M18836</link>
      <description>&lt;P&gt;I'm trying to fix my query for my malware dashboard, but it doesn't seem to work in any way possible, maybe I'm just not experienced enough to fix it. The query is the following: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| `tstats` count from datamodel=Malware.Malware_Attacks where * $action$ $bunit$ $category$ by _time,Malware_Attacks.action span=10m | timechart minspan=10m useother=true count by Malware_Attacks.action | `drop_dm_object_name("Malware_Attacks")`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The error:&lt;BR /&gt;
&lt;STRONG&gt;Error in 'TsidxStats': WHERE clause is not an exact query&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If anyone could tell me what I'm doing wrong, that would be great. Sorry for posting such a stupid question.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 09:40:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297740#M18836</guid>
      <dc:creator>kokanne</dc:creator>
      <dc:date>2018-02-16T09:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297741#M18837</link>
      <description>&lt;P&gt;Firstly  not required to use &lt;CODE&gt;*&lt;/CODE&gt;(wildcard) in where clause..and what token values are setting?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 13:36:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297741#M18837</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-16T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297742#M18838</link>
      <description>&lt;P&gt;Hi, the wildcard I should replace with % ? &lt;BR /&gt;
The tokens are shown in query, action bunit and category&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 13:40:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297742#M18838</guid>
      <dc:creator>kokanne</dc:creator>
      <dc:date>2018-02-16T13:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297743#M18839</link>
      <description>&lt;P&gt;No, you can not replace it with &lt;CODE&gt;%&lt;/CODE&gt;..Do you really need wildcard here as where clause is used to to filter search results. &lt;BR /&gt;
&lt;CODE&gt;$action$&lt;/CODE&gt; &lt;CODE&gt;$bunit$&lt;/CODE&gt; &lt;CODE&gt;$category$&lt;/CODE&gt; these tokens value is getting populating from different input/panel ..so In these token what values are setting .&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 13:48:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297743#M18839</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-16T13:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297744#M18840</link>
      <description>&lt;P&gt;Okay,I remove the wildcard completely&lt;/P&gt;

&lt;P&gt;To be honest, this query was not built by me, it's part of the enterprise security dashboards, but stopped working 2 weeks ago. I would assume that its like this:&lt;/P&gt;

&lt;P&gt;action=$action$&lt;BR /&gt;
punct=$bunit$&lt;BR /&gt;
category=$category$&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297744#M18840</guid>
      <dc:creator>kokanne</dc:creator>
      <dc:date>2018-02-16T14:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297745#M18841</link>
      <description>&lt;P&gt;wait ..retain * and try in query &lt;CODE&gt;datamodel=Malware_Attacks&lt;/CODE&gt;or &lt;CODE&gt;datamodel=Malware&lt;/CODE&gt;&lt;BR /&gt;
If you try only &lt;CODE&gt;| tstats count from datamodel=Malware.Malware_Attacks&lt;/CODE&gt; does it returning events?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:32:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297745#M18841</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-16T14:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297746#M18842</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| `tstats` count from datamodel=Malware_Attacks where $action$ $bunit$ $category$ by _time,Malware_Attacks.action span=10m 
| timechart minspan=10m useother=true count by Malware_Attacks.action 
| `drop_dm_object_name("Malware_Attacks")`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Error in 'TsidxStats': Could not find datamodel: Malware_Attacks&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| `tstats` count from datamodel=Malware where $action$ $bunit$ $category$ by _time,Malware_Attacks.action span=10m 
| timechart minspan=10m useother=true count by Malware_Attacks.action 
| `drop_dm_object_name("Malware_Attacks")`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Error in 'TsidxStats': WHERE clause is not an exact query&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:34:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297746#M18842</guid>
      <dc:creator>kokanne</dc:creator>
      <dc:date>2018-02-16T14:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297747#M18843</link>
      <description>&lt;P&gt;try running query in parts and check when you are receiving error?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | tstats count from datamodel=Malware.Malware_Attacks
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then try to run&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count from datamodel=Malware.Malware_Attacks where * $action$ $bunit$ $category$ 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:38:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297747#M18843</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-16T14:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297748#M18844</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| `tstats` count from datamodel=Malware.Malware_Attacks by _time,Malware_Attacks.action span=10m 
| timechart minspan=10m useother=true count by Malware_Attacks.action 
| `drop_dm_object_name("Malware_Attacks")`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Runs fine, returns 31 Statistics&lt;BR /&gt;
&lt;STRONG&gt;Results are not accurate, returns null values for when there should be events&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | tstats count from datamodel=Malware.Malware_Attacks where * $action$ $bunit$ $category$ by _time,Malware_Attacks.action span=10m 
| timechart minspan=10m useother=true count by Malware_Attacks.action 
| `drop_dm_object_name("Malware_Attacks")`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does not run: Error in 'TsidxStats': WHERE clause is not an exact query&lt;/P&gt;

&lt;P&gt;The problem, I think, is with the tokens, but I don't know how to fix&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:40:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297748#M18844</guid>
      <dc:creator>kokanne</dc:creator>
      <dc:date>2018-02-16T14:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297749#M18845</link>
      <description>&lt;P&gt;and if try this then?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | tstats count from datamodel=Malware.Malware_Attacks where *  by _time,Malware_Attacks.action span=10m 
 | timechart minspan=10m useother=true count by Malware_Attacks.action 
 | `drop_dm_object_name("Malware_Attacks")`
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:42:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297749#M18845</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-16T14:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297750#M18846</link>
      <description>&lt;P&gt;also I am assuming sign `  around tstats is a typo &lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:44:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297750#M18846</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-16T14:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297751#M18847</link>
      <description>&lt;P&gt;Works, returns more events, as well on the day today when there should be, but very long it is on null from timeframe 2 weeks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:45:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297751#M18847</guid>
      <dc:creator>kokanne</dc:creator>
      <dc:date>2018-02-16T14:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297752#M18848</link>
      <description>&lt;P&gt;I don't make the query, so I have no idea, it is from enterprise security dashboard&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:47:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297752#M18848</guid>
      <dc:creator>kokanne</dc:creator>
      <dc:date>2018-02-16T14:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297753#M18849</link>
      <description>&lt;P&gt;so when you are adding tokens it gives an error right?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:47:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297753#M18849</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-16T14:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297754#M18850</link>
      <description>&lt;P&gt;Yes that is correct, the tokens make error&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:48:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297754#M18850</guid>
      <dc:creator>kokanne</dc:creator>
      <dc:date>2018-02-16T14:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297755#M18851</link>
      <description>&lt;P&gt;so is their any sign around &lt;CODE&gt;|tstats&lt;/CODE&gt;command?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:49:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297755#M18851</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-16T14:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297756#M18852</link>
      <description>&lt;P&gt;so add these token in &lt;CODE&gt;&amp;lt;title&amp;gt;$action$ $bunit$ $category$&amp;lt;/title&amp;gt;&lt;/CODE&gt; your xml and check what values are being set there?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:51:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297756#M18852</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-16T14:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297757#M18853</link>
      <description>&lt;P&gt;I put it in the xml , do not see displayed,  what do ?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:53:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297757#M18853</guid>
      <dc:creator>kokanne</dc:creator>
      <dc:date>2018-02-16T14:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297758#M18854</link>
      <description>&lt;P&gt;have you put below &lt;CODE&gt;&amp;lt;table&amp;gt;&lt;/CODE&gt;  ?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:55:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297758#M18854</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-16T14:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I fix my query for a malware dashboard, which is throwing me this error: "Error in 'TsidxStats': WHERE clause is not an exact query"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297759#M18855</link>
      <description>&lt;P&gt;sorry, my bad. this is what i see: &lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://i.imgur.com/4U78Q6Z.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:57:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-fix-my-query-for-a-malware-dashboard-which-is-throwing/m-p/297759#M18855</guid>
      <dc:creator>kokanne</dc:creator>
      <dc:date>2018-02-16T14:57:37Z</dc:date>
    </item>
  </channel>
</rss>

