<?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 search string in the link for my dashboards? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169210#M48321</link>
    <description>&lt;P&gt;Maybe should you encrypt events instead of trying to protect the search string ?&lt;BR /&gt;
It seems you could use a search string with masked (under custom patterns) arguments &lt;BR /&gt;
Look at:&lt;BR /&gt;
&lt;A href="http://blogs.splunk.com/2010/01/25/encrypting-and-decrypting-fields/"&gt;http://blogs.splunk.com/2010/01/25/encrypting-and-decrypting-fields/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Note sure it's relevant for your case but maybe a way for you&lt;/P&gt;</description>
    <pubDate>Tue, 12 Aug 2014 08:00:15 GMT</pubDate>
    <dc:creator>guilmxm</dc:creator>
    <dc:date>2014-08-12T08:00:15Z</dc:date>
    <item>
      <title>How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169200#M48311</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
when I open my dashboards the search string is embedded in the link. How can I hide the string, that nobody can change the search?&lt;/P&gt;

&lt;P&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2014 13:10:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169200#M48311</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-08-04T13:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169201#M48312</link>
      <description>&lt;P&gt;Can you provide your dashboard xml?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2014 13:39:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169201#M48312</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-08-04T13:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169202#M48313</link>
      <description>&lt;P&gt;&lt;INPUT type="dropdown" token="year" /&gt;&lt;BR /&gt;
&lt;INPUT type="dropdown" token="time" /&gt;&lt;BR /&gt;
&lt;INPUT type="radio" token="new_time" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;SEARCHSTRING&gt;index = ticket sourcetype =log $new_time$ TicketStatus = "closed"|join Ticket[|inputlookup average.csv|rename tickets as Ticket]|stats count(Tickets) as count &lt;BR /&gt;
&lt;/SEARCHSTRING&gt;&lt;/P&gt;

&lt;P&gt;I found the reason why the search string is embedded in the link. It is embedded if an input like $new_time$ is part of the search string. Sorry but I had to delete the rest of the dashboard xml. But I need the inputs without having the search string in the link.&lt;BR /&gt;
Greetings&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2014 06:24:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169202#M48313</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-08-05T06:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169203#M48314</link>
      <description>&lt;P&gt;Hello is it possible to encrypt the link?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2014 11:07:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169203#M48314</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-08-06T11:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169204#M48315</link>
      <description>&lt;P&gt;In simple xml, you could do this:&lt;/P&gt;

&lt;P&gt;You can hide the tool bar using css to prevent users from accessing to the search.&lt;/P&gt;

&lt;P&gt;.dashboard-row2 .paxnel-footer {&lt;BR /&gt;
    display: none;&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;Then deactivate any drilldown in your view&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2014 12:00:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169204#M48315</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2014-08-06T12:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169205#M48316</link>
      <description>&lt;P&gt;Sorry I do not know where I can set this css code in simple xml! Do you mean advanced xml?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2014 12:42:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169205#M48316</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-08-06T12:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169206#M48317</link>
      <description>&lt;P&gt;No, in simple xml.&lt;/P&gt;

&lt;P&gt;Create a css file you put in $SPLUNK_HOME/etc/apps/&lt;YOURAPP&gt;/appserver/static&lt;/YOURAPP&gt;&lt;/P&gt;

&lt;P&gt;Put your css code, and restart at least Splunk Web (./splunk restart splunkweb)&lt;/P&gt;

&lt;P&gt;Then in your view, edit the xml code (using the integrated editor) and add the stylesheet after the form or dashboard pattern:&lt;/P&gt;

&lt;P&gt;&lt;DASHBOARD stylesheet="myfile.css,myfile2.css"&gt;&lt;/DASHBOARD&gt;&lt;/P&gt;

&lt;P&gt;Refresh the page, sometimes it's may be a good idea to clean your browser cache.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2014 12:50:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169206#M48317</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2014-08-06T12:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169207#M48318</link>
      <description>&lt;P&gt;That was a good idea guilmxm but I need a server side manipulation or encryption of the link. Are there any suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2014 11:05:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169207#M48318</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-08-11T11:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169208#M48319</link>
      <description>&lt;P&gt;Hi, You could use a macro which contains your search string, and the use it in your view.&lt;/P&gt;

&lt;P&gt;You'll have to deal with arguments, but it will do the trick.&lt;/P&gt;

&lt;P&gt;For example, the search:&lt;/P&gt;

&lt;P&gt;index=_internal | stats count by host&lt;/P&gt;

&lt;P&gt;Would be masked under the macro "foo", and you would call it with:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;foo&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2014 16:46:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169208#M48319</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2014-08-11T16:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169209#M48320</link>
      <description>&lt;P&gt;The problem is that the arguments are the security vulnerability. So if the arguments can be changed also the search macro is senseless. But thank you for the suggestion.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2014 07:09:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169209#M48320</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-08-12T07:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169210#M48321</link>
      <description>&lt;P&gt;Maybe should you encrypt events instead of trying to protect the search string ?&lt;BR /&gt;
It seems you could use a search string with masked (under custom patterns) arguments &lt;BR /&gt;
Look at:&lt;BR /&gt;
&lt;A href="http://blogs.splunk.com/2010/01/25/encrypting-and-decrypting-fields/"&gt;http://blogs.splunk.com/2010/01/25/encrypting-and-decrypting-fields/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Note sure it's relevant for your case but maybe a way for you&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2014 08:00:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169210#M48321</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2014-08-12T08:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169211#M48322</link>
      <description>&lt;P&gt;No sorry but does not help in my case.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2014 06:37:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169211#M48322</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-08-14T06:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide search string in the link for my dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169212#M48323</link>
      <description>&lt;P&gt;Sorry, out of idea &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2014 09:01:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-search-string-in-the-link-for-my-dashboards/m-p/169212#M48323</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2014-08-14T09:01:56Z</dc:date>
    </item>
  </channel>
</rss>

