<?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 to use 2 different query in dashboard and hide few columns in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/745285#M58628</link>
    <description>&lt;P&gt;I got solution of this by following what is mentioned in&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Query-running-time/m-p/367124#M108287" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/Query-running-time/m-p/367124#M108287&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Apr 2025 20:26:47 GMT</pubDate>
    <dc:creator>Punnu</dc:creator>
    <dc:date>2025-04-30T20:26:47Z</dc:date>
    <item>
      <title>How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743567#M58522</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created one query and it is working fine in search. I am sharing part of code from dashboard. In first part of call if you see I have hardcoded&amp;nbsp; by earliest and latest time . But i want to pass those as input values by selecting input time provided on dashboard&amp;nbsp; and then remaining part of query I want to run for whole day or lets say another time range . becuse it is possible that request i have received during mentioned time might get process later at dayy.How can I achieve this . Also I want to hide few columns at end like message guid , request time and output time .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Contact -Timings&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;```query for apigateway call```
index=aws* earliest="03/28/2025:13:30:00" latest="03/28/2025:14:35:00" 
Method response body after transformations: sourcetype="aws:apigateway"
| rex field=_raw "Method response body after transformations: (?&amp;amp;lt;json&amp;amp;gt;[^$]+)" 
| spath input=json path="header.messageGUID" output=messageGUID 
| spath input=json path="payload.statusType.code" output=status 
| spath input=json path="payload.statusType.text" output=text 
| spath input=json path="header.action" output=action 
| where status=200 and action="Create" 
| rename _time as request_time 
    ```dedupe is added to remove duplicates ```
| dedup messageGUID
| append 
```query for event brigdel```
    [ search index="aws_np" 
| rex field=_raw "messageGUID\": String\(\"(?&amp;amp;lt;messageGUID&amp;amp;gt;[^\"]+)" 
| rex field=_raw "source\": String\(\"(?&amp;amp;lt;source&amp;amp;gt;[^\"]+)" 
| rex field=_raw "type\": String\(\"(?&amp;amp;lt;type&amp;amp;gt;[^\"]+)" 
| where  source="MDM"   and type="Contact"  ```and messageGUID="0461870f-ee8a-96cd-3db6-1ca1f6dbeb30"```
    | rename _time as output_time  | dedup messageGUID
    ] 
| stats values(request_time) as request_time values(output_time) as output_time    by messageGUID
|  where isnotnull(output_time) and isnotnull(request_time)   
 | eval timeTaken=(output_time-request_time)/60| convert ctime(output_time)| convert ctime(request_time)
| eventstats avg(timeTaken) min(timeTaken) max(timeTaken) count(messageGUID)
| head 1&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Apr 2025 02:31:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743567#M58522</guid>
      <dc:creator>Punnu</dc:creator>
      <dc:date>2025-04-05T02:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743575#M58524</link>
      <description>&lt;P&gt;Don't override the earliest and latest in the first part of the search (then it will take the times from the input field. You can then override the earliest and latest in the appended search to be a different time frame.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Apr 2025 08:24:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743575#M58524</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-04-05T08:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743577#M58525</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; &amp;nbsp;how can override time of appended search&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Apr 2025 10:57:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743577#M58525</guid>
      <dc:creator>Punnu</dc:creator>
      <dc:date>2025-04-05T10:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743581#M58526</link>
      <description>&lt;P&gt;What do you want to override it with?&lt;/P&gt;</description>
      <pubDate>Sat, 05 Apr 2025 11:39:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743581#M58526</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-04-05T11:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743583#M58527</link>
      <description>&lt;P&gt;Ok. Let me offer you some additional pointers here.&lt;/P&gt;&lt;P&gt;1. Whenever I see a dedup command I raise my eyebrows questioningly - are you sure you know how dedup works and is it really what you want?&lt;/P&gt;&lt;P&gt;2. Your subsearch is highly suboptimal considering you're just looking for a single - relatively unique value of the guid. As it is now, you're plowing through all data for given time range, extracting some fields (which you will not use later) with regex and finally only catching a small subset of those initial events.&lt;/P&gt;&lt;P&gt;An example from my home lab environment. If I search&lt;/P&gt;&lt;PRE&gt;index=mail &lt;BR /&gt;| rex "R=(?&amp;lt;r&amp;gt;\S+)"&lt;BR /&gt;| where r="1u0tIb-000000005e9-07kx"&lt;/PRE&gt;&lt;P&gt;over all-time Splunk has to throw the regex at almost 11 millions of events and it takes 197 seconds.&lt;/P&gt;&lt;P&gt;If I narrow the search at the very beginning and do&lt;/P&gt;&lt;PRE&gt;index=mail 1u0tIb-000000005e9-07kx&lt;BR /&gt;| rex "R=(?&amp;lt;r&amp;gt;\S+)"&lt;BR /&gt;| where r="1u0tIb-000000005e9-07kx"&lt;/PRE&gt;&lt;P&gt;The search takes just half a second and scans only 8 events.&lt;/P&gt;&lt;P&gt;Actually, if you had your extractions configured for your events properly, you could just do the search like&lt;/P&gt;&lt;PRE&gt;index="aws_np" aws_source="MDM" type="Contact"&lt;/PRE&gt;&lt;P&gt;and it would work. You apparently don't have your data onboarded properly so you have to do it like in your search but this is ineffective.&lt;/P&gt;&lt;P&gt;The same applies to the initial search where you do a lot of heavy lifting before hitting the &lt;EM&gt;where&lt;/EM&gt; command. By moving the raw&amp;nbsp; "200" and "Create" strings to the initial search you may save yourself a lot of time.&lt;/P&gt;&lt;P&gt;3. To add insult to injury - your appended search is prone to subsearch limits so it might get silently finalized and you will get wrong/incomplete results without even knowing it.&lt;/P&gt;&lt;P&gt;4. You are doing several separate runs of the spath command which is relatively heavy. I'm not sure here but I'd hazard a guess that one&amp;nbsp;"big" spath and filtering fields immediately afterwards in order to not drag them along and limit memory usage might be better performancewise.&lt;/P&gt;&lt;P&gt;5. You're statsing only three fields - request_time, output_time and messageGUID. Why extract the &lt;EM&gt;text&lt;/EM&gt; field?&lt;/P&gt;</description>
      <pubDate>Sat, 05 Apr 2025 12:23:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743583#M58527</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-04-05T12:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743585#M58528</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp; , Thanks for pointing out issues , I will check my query and see how can I optimize it . Logging is&amp;nbsp; not perfect that why I have to take this route . I will check&amp;nbsp; and see how can I make it better . Also I am looking for one guid . That part is commented. I am looking for whole set&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Apr 2025 14:17:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743585#M58528</guid>
      <dc:creator>Punnu</dc:creator>
      <dc:date>2025-04-05T14:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743591#M58529</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; , based on date provided in main search lets say 12/mar/2025 1pm -&amp;nbsp; 12/mar/2025 1:30 PM , I wan to use 12/mar/2025 only date in second one&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Apr 2025 15:42:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743591#M58529</guid>
      <dc:creator>Punnu</dc:creator>
      <dc:date>2025-04-05T15:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743592#M58530</link>
      <description>&lt;LI-CODE lang="markup"&gt;| append 
```query for event brigdel```
    [ search index="aws_np"  [| makeresults
    | eval earliest=strptime("12/03/2025","%d/%m/%Y")
    | eval latest=relative_time(earliest,"+1d")
    | table earliest latest]&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 05 Apr 2025 15:54:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743592#M58530</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-04-05T15:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743604#M58531</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; | eval latest_time=strptime("03/12/2025:12:30:00", "%m/%d/%Y:%H:%M:%S")
        | eval new_latest_time=(latest_time + 18000)  ``` 18000 seconds = 5  hrs ```
        | eval new_latest_time_str=strftime(new_latest_time, "%m/%d/%Y:%H:%M:%S")
| append 
```query for event brigdel```
    [ search index="aws_np" earliest="03/12/2025:12:30:00" latest=$new_latest_time_str$ host="EventConsumer-mdm&lt;/LI-CODE&gt;&lt;P&gt;I tried writing it as above ( query is not complete ). Just wanted to share I tried evaluating values&amp;nbsp; and then trying using within sub search but it is giving following error :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Invalid value "$new_latest_time_str$" for time term 'latest'&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Apr 2025 01:18:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743604#M58531</guid>
      <dc:creator>Punnu</dc:creator>
      <dc:date>2025-04-06T01:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743605#M58532</link>
      <description>&lt;P&gt;Also I tried it like&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; [ search index="aws_np"  [| makeresults
    | eval earliest=strptime("12/03/2025","%d/%m/%Y")
    | eval latest=relative_time(earliest,"+1d")
    | table earliest latest] host="test" app_environment=qa 
| rex field=_raw "messageGUID\": String\(\"(?&amp;lt;messageGUID&amp;gt;[^\"]+)"&lt;/LI-CODE&gt;&lt;P&gt;but getting below error :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error in 'search' command: Unable to parse the search: 'AND' operator is missing a clause on the left hand side.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Apr 2025 02:17:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743605#M58532</guid>
      <dc:creator>Punnu</dc:creator>
      <dc:date>2025-04-06T02:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743608#M58533</link>
      <description>&lt;P&gt;Subsearches are executed before the main search so when the appended search is executed the field is not available. Without the full search, I cannot determine where the error might be coming from. The basic concept of using make results to provide new values for earliest and latest can be demonstrated to work with the following complete search&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval line="First"
| append 
    [search index=_internal
        [| makeresults
        | eval earliest=strptime("12/03/2025 13:00","%d/%m/%Y %H:%M")
        | eval latest=relative_time(earliest,"+1d")
        | table earliest latest] sourcetype=splunkd
    | head 1
    | eval line="second"]&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 06 Apr 2025 08:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743608#M58533</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-04-06T08:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743618#M58538</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;, First of all thanks for spending time on it .I am trying running simple query ( not subsearch ) as follows still it is not running . Basically I am trying to understand how do we calculate any parameter value while query runs .&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="aws_np" earliest="12/03/2025:13:00" latest=[| makeresults
        | eval earliest=strptime("12/03/2025 13:00","%d/%m/%Y %H:%M")
        | eval latest=relative_time(earliest,"+1d")
        | table  latest]
| rex field=_raw "messageGUID\": String\(\"(?&amp;lt;messageGUID&amp;gt;[^\"]+)" 
| rex field=_raw "source\": String\(\"(?&amp;lt;source&amp;gt;[^\"]+)" 
| where  type="Contact"
|  stats count by source&lt;/LI-CODE&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;Error in 'search' command: Unable to parse the search: Comparator '=' has an invalid term on the right hand side: (latest = "1741885200.000000").&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;how can I solve this&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Apr 2025 12:13:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743618#M58538</guid>
      <dc:creator>Punnu</dc:creator>
      <dc:date>2025-04-06T12:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743619#M58539</link>
      <description>&lt;LI-CODE lang="markup"&gt;index="aws_np" [| makeresults
        | eval earliest=strptime("12/03/2025 13:00","%d/%m/%Y %H:%M")
        | eval latest=relative_time(earliest,"+1d")
        | table earliest latest]
| rex field=_raw "messageGUID\": String\(\"(?&amp;lt;messageGUID&amp;gt;[^\"]+)" 
| rex field=_raw "source\": String\(\"(?&amp;lt;source&amp;gt;[^\"]+)" 
| where  type="Contact"
|  stats count by source&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 06 Apr 2025 12:15:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743619#M58539</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-04-06T12:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743621#M58540</link>
      <description>&lt;P&gt;But when I am running this I am getting&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error in 'search' command: Unable to parse the search: 'AND' operator is missing a clause on the left hand side.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Apr 2025 12:39:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743621#M58540</guid>
      <dc:creator>Punnu</dc:creator>
      <dc:date>2025-04-06T12:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743623#M58541</link>
      <description>&lt;P&gt;That's because you are not doing it exactly as I suggested - you don't need latest=[ - try it the way I suggested!&lt;/P&gt;</description>
      <pubDate>Sun, 06 Apr 2025 13:49:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743623#M58541</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-04-06T13:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743624#M58542</link>
      <description>&lt;LI-CODE lang="markup"&gt;index="aws_np"  [| makeresults
        | eval earliest=strptime("12/03/2025 13:00","%d/%m/%Y %H:%M")
        | eval latest=relative_time(earliest,"+1d")
        | table earliest latest] 
| rex field=_raw "messageGUID\": String\(\"(?&amp;lt;messageGUID&amp;gt;[^\"]+)" 
| rex field=_raw "source\": String\(\"(?&amp;lt;source&amp;gt;[^\"]+)" 
| rex field=_raw "type\": String\(\"(?&amp;lt;type&amp;gt;[^\"]+)" 
| rex field=_raw "addBy\": String\(\"(?&amp;lt;addBy&amp;gt;[^\"]+)" 
| where  type="Contact"
|  stats count by source&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried exactly same way ,&amp;nbsp;&lt;SPAN&gt;Error in 'search' command: Unable to parse the search: 'AND' operator is missing a clause on the left hand side.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Apr 2025 14:00:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743624#M58542</guid>
      <dc:creator>Punnu</dc:creator>
      <dc:date>2025-04-06T14:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743626#M58543</link>
      <description>&lt;P&gt;This does not produce a parsing error for me&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ITWhisperer_0-1743951490853.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38464i49462E86B7CEF239/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ITWhisperer_0-1743951490853.png" alt="ITWhisperer_0-1743951490853.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which version of Splunk are you using?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Apr 2025 14:58:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743626#M58543</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-04-06T14:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743628#M58544</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Punnu_0-1743954857350.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38465i0246A8F5C6295325/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Punnu_0-1743954857350.png" alt="Punnu_0-1743954857350.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Apr 2025 15:54:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743628#M58544</guid>
      <dc:creator>Punnu</dc:creator>
      <dc:date>2025-04-06T15:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743629#M58545</link>
      <description>&lt;P&gt;I don't think Splunk parsing has changed that much since 9.1 (I'm using 9.4). Please share your full search (obfuscated as little as possible) so we can figure out where that error might be coming from.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Apr 2025 16:09:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743629#M58545</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-04-06T16:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 2 different query in dashboard and hide few columns</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743632#M58546</link>
      <description>&lt;LI-CODE lang="markup"&gt;index="aws_np"  [| makeresults
        | eval earliest=strptime("12/03/2025 13:00","%d/%m/%Y %H:%M")
        | eval latest=relative_time(earliest,"+1d")
        | table earliest latest]&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Punnu_0-1743955942179.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38466iCDC873BA990BC4A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Punnu_0-1743955942179.png" alt="Punnu_0-1743955942179.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Punnu_1-1743955989132.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38467i3F82E09DE1859FA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Punnu_1-1743955989132.png" alt="Punnu_1-1743955989132.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Even bare minimum when I am running I am getting this issue . Am I really making some trivial mistake .&lt;/P&gt;&lt;P&gt;Could there a possibility&amp;nbsp; that last 24 hours which got selected playing any role for error&lt;/P&gt;</description>
      <pubDate>Sun, 06 Apr 2025 16:25:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-2-different-query-in-dashboard-and-hide-few-columns/m-p/743632#M58546</guid>
      <dc:creator>Punnu</dc:creator>
      <dc:date>2025-04-06T16:25:47Z</dc:date>
    </item>
  </channel>
</rss>

