<?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 Customizing (Rather configuring)  dashboard logic in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Customizing-Rather-configuring-dashboard-logic/m-p/144639#M8752</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Setup&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;An app that shows how certain function of business is doing during an event. I've Splunk 6.2 dashboard to show about 4~6 panels showing different metrics including what we call as time between states ...&lt;/P&gt;

&lt;P&gt;These are calculated as time between different states of an order. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Need&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Assume there are five states create, queue , submit, assign, confirm. &lt;/P&gt;

&lt;P&gt;One client might require to combine create + queue as one state , while other may require create and queue to be different states of an order..&lt;/P&gt;

&lt;P&gt;Meaning, client 1 may consider queue time as assign_timestamp - min(create_timestamp, queue_timestamp) ...client 2 might consider queue time as (quue_timestamp - create_timestamp)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;What is the best way to achieve such functionality such that I can configure these calculations as opposed to putting in queries or macros ...for example, can I create an external source of these states and calculations, and refer it in Splunk? &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;If so How ?&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;how to achieve the functionality such that when a third client comes with some different need, I can manipulate this external source with sequence of states and/or calculations &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thanks, ronak&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 18:57:44 GMT</pubDate>
    <dc:creator>ronak</dc:creator>
    <dc:date>2020-09-28T18:57:44Z</dc:date>
    <item>
      <title>Customizing (Rather configuring)  dashboard logic</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Customizing-Rather-configuring-dashboard-logic/m-p/144639#M8752</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Setup&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;An app that shows how certain function of business is doing during an event. I've Splunk 6.2 dashboard to show about 4~6 panels showing different metrics including what we call as time between states ...&lt;/P&gt;

&lt;P&gt;These are calculated as time between different states of an order. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Need&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Assume there are five states create, queue , submit, assign, confirm. &lt;/P&gt;

&lt;P&gt;One client might require to combine create + queue as one state , while other may require create and queue to be different states of an order..&lt;/P&gt;

&lt;P&gt;Meaning, client 1 may consider queue time as assign_timestamp - min(create_timestamp, queue_timestamp) ...client 2 might consider queue time as (quue_timestamp - create_timestamp)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;What is the best way to achieve such functionality such that I can configure these calculations as opposed to putting in queries or macros ...for example, can I create an external source of these states and calculations, and refer it in Splunk? &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;If so How ?&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;how to achieve the functionality such that when a third client comes with some different need, I can manipulate this external source with sequence of states and/or calculations &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thanks, ronak&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:57:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Customizing-Rather-configuring-dashboard-logic/m-p/144639#M8752</guid>
      <dc:creator>ronak</dc:creator>
      <dc:date>2020-09-28T18:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing (Rather configuring)  dashboard logic</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Customizing-Rather-configuring-dashboard-logic/m-p/144640#M8753</link>
      <description>&lt;P&gt;I've monkeyed around with having a lookup that maps groups to specific alert to thresholds - something like&lt;/P&gt;

&lt;P&gt;alert1,group1,5&lt;BR /&gt;
alert1,group2,4&lt;BR /&gt;
alert1,group3,10&lt;/P&gt;

&lt;P&gt;What you are proposing potentially could be done in a lookup but my mind slides more toward a complex case statement like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| eval queue_time = case(group=client1, assign_timestamp - min(create_timestamp, queue_timestamp), group=client2, quue_timestamp - create_timestamp, 1=1, "fix me") | ..
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Of course that doesn't really fit what you are looking for; conditions not being in the query or a macro. Of course if you have it in a macro it makes it much easier to update and keep track of /shrug.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Feb 2015 23:35:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Customizing-Rather-configuring-dashboard-logic/m-p/144640#M8753</guid>
      <dc:creator>Runals</dc:creator>
      <dc:date>2015-02-15T23:35:27Z</dc:date>
    </item>
  </channel>
</rss>

