<?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 hide the search string from end users on drilldown of graphs/charts? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-the-search-string-from-end-users-on-drilldown-of/m-p/282915#M85454</link>
    <description>&lt;P&gt;Could you explain more about your issue? Do you want to remove/hide the search string which is show in URL after drilldown? Providing your dashboard xml will help too.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2016 17:45:01 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-02-16T17:45:01Z</dc:date>
    <item>
      <title>How to hide the search string from end users on drilldown of graphs/charts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-the-search-string-from-end-users-on-drilldown-of/m-p/282914#M85453</link>
      <description>&lt;P&gt;I would like to hide the SPL search query when we drill down on a chart or a graph. &lt;/P&gt;

&lt;P&gt;I tried MACRO's and saved searches, but didn't work out. Can you please help?&lt;/P&gt;

&lt;P&gt;It is to not expose my query to the End users.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 17:07:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-the-search-string-from-end-users-on-drilldown-of/m-p/282914#M85453</guid>
      <dc:creator>suryaavinash</dc:creator>
      <dc:date>2016-02-16T17:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide the search string from end users on drilldown of graphs/charts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-the-search-string-from-end-users-on-drilldown-of/m-p/282915#M85454</link>
      <description>&lt;P&gt;Could you explain more about your issue? Do you want to remove/hide the search string which is show in URL after drilldown? Providing your dashboard xml will help too.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 17:45:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-the-search-string-from-end-users-on-drilldown-of/m-p/282915#M85454</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-02-16T17:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide the search string from end users on drilldown of graphs/charts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-the-search-string-from-end-users-on-drilldown-of/m-p/282916#M85455</link>
      <description>&lt;P&gt;I have created dashboards for users using splunk "dbquery" SPL command.&lt;/P&gt;

&lt;P&gt;Ex: |dbquery "dbname" "select * from table1 where col1='xyz'" |stats count by col2&lt;/P&gt;

&lt;P&gt;When User drills down  , then i do not want him to view my query "select * from table1 where col1='xyz'".&lt;BR /&gt;
Would like to understand how to hide the query from users view but allow him to drill down to see further results.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 05:32:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-the-search-string-from-end-users-on-drilldown-of/m-p/282916#M85455</guid>
      <dc:creator>suryaavinash</dc:creator>
      <dc:date>2016-02-17T05:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide the search string from end users on drilldown of graphs/charts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-the-search-string-from-end-users-on-drilldown-of/m-p/282917#M85456</link>
      <description>&lt;P&gt;It will depending upon how you want to drilldown. For example (taking the query you gave as sample), the drilldown could be just to run another query based on col2. If that's the case, try something like this (run anywhere sample). In below example, all users would be able to see is sourcetype=ClickedValue&lt;/P&gt;

&lt;P&gt;**All dashboard are created under "Search &amp;amp; Reporting" app.&lt;/P&gt;

&lt;P&gt;Dashboard Name :thefirstdashboard&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;thefirstdashboard&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal | stats count by sourcetype&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-4h@m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
        &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;&amp;lt;link&amp;gt;/app/search/seconddashboard?sourcetype=$row.sourcetype$&amp;lt;/link&amp;gt;&amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Dashboard Name:seconddashboard&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;seconddashboard&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=$sourcetype$| timechart count&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-4h@m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Feb 2016 06:07:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-the-search-string-from-end-users-on-drilldown-of/m-p/282917#M85456</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-02-17T06:07:01Z</dc:date>
    </item>
  </channel>
</rss>

