<?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 Brief explaination about valuesetter in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Brief-explaination-about-valuesetter/m-p/198095#M187413</link>
    <description>&lt;P&gt;Guys, what is valueSetter?&lt;BR /&gt;
how does it work?&lt;BR /&gt;
why we need it?&lt;/P&gt;</description>
    <pubDate>Mon, 24 Mar 2014 05:18:17 GMT</pubDate>
    <dc:creator>jasklee</dc:creator>
    <dc:date>2014-03-24T05:18:17Z</dc:date>
    <item>
      <title>Brief explaination about valuesetter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Brief-explaination-about-valuesetter/m-p/198095#M187413</link>
      <description>&lt;P&gt;Guys, what is valueSetter?&lt;BR /&gt;
how does it work?&lt;BR /&gt;
why we need it?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2014 05:18:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Brief-explaination-about-valuesetter/m-p/198095#M187413</guid>
      <dc:creator>jasklee</dc:creator>
      <dc:date>2014-03-24T05:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Brief explaination about valuesetter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Brief-explaination-about-valuesetter/m-p/198096#M187414</link>
      <description>&lt;P&gt;ValueSetter is a UI module that is a part of Sideview Utils. &lt;BR /&gt;
Go to the Sideview Utils app in your Splunk instance and go to &lt;/P&gt;

&lt;P&gt;"Module Documentation &amp;gt; The ValueSetter modules &amp;gt; The ValueSetter module"&lt;/P&gt;

&lt;P&gt;In short, ValueSetter does a lot of simple $foo$-token setting and manipulation that comes in useful in quirky cases where you would otherwise need to write a little custom Javascript. &lt;/P&gt;

&lt;P&gt;Some examples: &lt;/P&gt;

&lt;P&gt;-- if you want to have a hidden default for some $foo$ token, you would use "allowClobber", &lt;BR /&gt;
-- if you want to prepopulate a form element module like a CheckboxPulldown, that renders its options dynamically, you'd use a ValueSetter with the same value for the "name" param.&lt;BR /&gt;
-- if you need to manually do various escaping or encoding steps on your $foo$ tokens in a very advanced case, there are params for that.&lt;BR /&gt;&lt;BR /&gt;
-- if you want to set some other $foo$ token to some value but only if one or more other $foo$ tokens have non-empty values, you would use "requiredKeys"&lt;BR /&gt;
-- if you're doing very advanced stuff with multiple selection or line-break separated user input where you want to turn a key into an array and then turn that into a large boolean expression, you would use ValueSetter's "delim" param to split the key, and then ArrayValueSetter to construct your boolean expression. &lt;BR /&gt;
-- if you want to do some simple conditional logic, setting some $foo$ tokens to different values depending on the values of &lt;EM&gt;other&lt;/EM&gt; foo tokens,  you would use one or more "if.*" params.   (these are very advanced). &lt;/P&gt;

&lt;P&gt;In short,  ValueSetter is designed to come in handy in a very long list of annoying scenarios where you need something that's just a little bit smart.  You can always define a Sideview customBehavior in your javascript but if you're not comfortable writing JS, ValueSetter can often get the job done. &lt;/P&gt;

&lt;P&gt;Definitely make sure you're on the latest Sideview Utils, and check out the documentation at &lt;/P&gt;

&lt;P&gt;"Module Documentation &amp;gt; The ValueSetter modules &amp;gt; The ValueSetter module"&lt;/P&gt;

&lt;P&gt;Note that the latest version of Sideview Utils is 3.2 and that you can only get it from the Sideview site at  &lt;A href="http://www.sideviewapps.com/apps/sideview-utils/"&gt;http://www.sideviewapps.com/apps/sideview-utils/&lt;/A&gt;&lt;BR /&gt;
It is free for internal use and if you have any questions about further licensing details they're most likely answered in this licensing FAQ:  &lt;A href="http://www.sideviewapps.com/apps/sideview-utils/licensing-faq/"&gt;http://www.sideviewapps.com/apps/sideview-utils/licensing-faq/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2014 06:06:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Brief-explaination-about-valuesetter/m-p/198096#M187414</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2014-03-24T06:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Brief explaination about valuesetter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Brief-explaination-about-valuesetter/m-p/198097#M187415</link>
      <description>&lt;P&gt;Hi. I want to do something but not sure If I can do it with Sideview &amp;gt; ValueSetter.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;In some page or place set a var, let's say $my_alert_threshold = 1000.&lt;/LI&gt;
&lt;LI&gt;In the the dashboard X, use $my_alert_threshold in a graph.&lt;/LI&gt;
&lt;LI&gt;Also, use $my_alert_threshold in alert X as its trigger condition.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:14:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Brief-explaination-about-valuesetter/m-p/198097#M187415</guid>
      <dc:creator>jslealdi</dc:creator>
      <dc:date>2020-09-30T01:14:29Z</dc:date>
    </item>
  </channel>
</rss>

