<?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 add icon to a panel instead of table so there are no borders? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343585#M101778</link>
    <description>&lt;P&gt;@kdimaria, which version of Splunk are you on? I am not sure if there was any difference in the HTML panel being created in your version vs current version. However, you can try one of the following approaches.&lt;/P&gt;

&lt;P&gt;1) See if taking out second row for &lt;CODE&gt;tokenDependencies&lt;/CODE&gt; helps.&lt;/P&gt;

&lt;P&gt;2) If possible create a Simple XML dashboard with HTML Panel with empty style tag and depends token and then convert the same to HTML Dashboard to see what code gets generated for HTML Element.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;row depends="$alwaysHideCSSPanel$"&amp;gt;
   &amp;lt;panel&amp;gt;
        &amp;lt;html&amp;gt;
              &amp;lt;style&amp;gt;
              &amp;lt;/style&amp;gt;
        &amp;lt;/html&amp;gt;
   &amp;lt;/panel&amp;gt;
&amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 13 Feb 2018 16:36:46 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-02-13T16:36:46Z</dc:date>
    <item>
      <title>How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343568#M101761</link>
      <description>&lt;P&gt;I want to remove the table headers completely from my dashboard so I can just display values in a table with the headers/column names completely removed. I was wondering if theres a way to do this using the tableview renderer in JS?&lt;/P&gt;

&lt;P&gt;EDIT: edited question to better fit this answer. I wanted to use a table but have header and borders removed but was not possible. I want to have an icon based on a value in a panel with no borders&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 15:59:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343568#M101761</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-02-01T15:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343569#M101762</link>
      <description>&lt;P&gt;@kdimaria, you might have to explain a bit more as to what you want to display (possibly what you have and mock screenshot of what you need).&lt;/P&gt;

&lt;P&gt;Check out whether &lt;A href="https://splunkbase.splunk.com/app/3119/"&gt;Status Indicator Custom Visualization&lt;/A&gt; will do the neeful for you or not.&lt;BR /&gt;
Also &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;Splunk Dashboard Examples App&lt;/A&gt; has &lt;CODE&gt;Custom Decorations&lt;/CODE&gt; example which you should check out.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 05:27:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343569#M101762</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-02T05:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343570#M101763</link>
      <description>&lt;P&gt;@niketnilay I have a SingleElement in the top right corner of my dashboard that is just the count of events so it is just a number and doesn't have the table headers. I know how to modify cells of tables using splunkjs mvc basecellrenderer and rendering the table and changing each cell based on values of that cell. I am wondering if you can do the same sort of thing for a singleElement because I don't want it in a tableElement because it has the headers. &lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 11:57:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343570#M101763</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-02-02T11:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343571#M101764</link>
      <description>&lt;P&gt;You should check out Custom Decorations using HTML Panel, the same would also work in HTML Dashboard. If you need Single Value specifically for some needs you hide single value and display html panel with icon instead.&lt;/P&gt;

&lt;P&gt;Please check out the example to confirm whether the same will be helpful. If it will and you are not able to figure out the HTML code then we can surely help.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 14:57:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343571#M101764</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-02T14:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343572#M101765</link>
      <description>&lt;P&gt;Is there a way to remove the table header using mvc?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 15:35:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343572#M101765</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-02-02T15:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343573#M101766</link>
      <description>&lt;P&gt;You should be able to do it directly via CSS Override&lt;/P&gt;

&lt;P&gt;If you want to hide it for specific table you can use that table's id (for example, &lt;CODE&gt;mytable&lt;/CODE&gt;), if you want it to be generic you can just apply it for &lt;CODE&gt;thead&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;style type="text/css"&amp;gt;
       #mytable thead{
         visibility: hidden !important;
       }
  &amp;lt;/style&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Feb 2018 16:03:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343573#M101766</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-02T16:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343574#M101767</link>
      <description>&lt;P&gt;Okay so this worked, thank you, but sadly there is borders still on top of and below the table element and it doesn't look nice. Is there a way to get rid of that too? hahaha&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 16:51:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343574#M101767</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-02-02T16:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343575#M101768</link>
      <description>&lt;P&gt;@kdimaria, please find below the run anywhere dashboard example with Single Value with Icon and Color using HTML and CSS. Please adjust as per your need.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4261iCDC21B87F9254FC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;meta charset="utf-8" /&amp;gt;
    &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=edge" /&amp;gt;
    &amp;lt;title&amp;gt;Custom Icon Range HTML&amp;lt;/title&amp;gt;
    &amp;lt;link rel="shortcut icon" href="/en-US/static/@C9557AB367E3A59ED9840F5616383BD13B651EF2B463EB6C7F025F5CAFE14161/img/favicon.ico" /&amp;gt;
    &amp;lt;link rel="stylesheet" type="text/css" href="{{SPLUNKWEB_URL_PREFIX}}/static/build/css/bootstrap-enterprise.css" /&amp;gt;
    &amp;lt;link rel="stylesheet" type="text/css" href="{{SPLUNKWEB_URL_PREFIX}}/static/css/build/pages/dashboard-simple-bootstrap.min.css" /&amp;gt;


        &amp;lt;meta name="referrer" content="never" /&amp;gt;
        &amp;lt;meta name="referrer" content="no-referrer" /&amp;gt;

          &amp;lt;script&amp;gt;
                window._splunk_metrics_events = {
                   push : function() {},
                   active: false,
                   }
          &amp;lt;/script&amp;gt;
    &amp;lt;/head&amp;gt;
&amp;lt;body class="simplexml preload locale-en" data-splunk-version="7.0.1" data-splunk-product="splunk"&amp;gt;
&amp;lt;!-- 
BEGIN LAYOUT
This section contains the layout for the dashboard. Splunk uses proprietary
styles in &amp;lt;div&amp;gt; tags, similar to Bootstrap's grid system. 
--&amp;gt;
&amp;lt;header&amp;gt;
    &amp;lt;a class="navSkip" href="#navSkip" tabindex="1"&amp;gt;Screen reader users, click here to skip the navigation bar&amp;lt;/a&amp;gt;
    &amp;lt;div class="header splunk-header"&amp;gt;
            &amp;lt;div id="placeholder-splunk-bar"&amp;gt;
                &amp;lt;a href="{{SPLUNKWEB_URL_PREFIX}}/app/launcher/home" class="brand" title="splunk &amp;gt; listen to your data"&amp;gt;splunk&amp;lt;strong&amp;gt;&amp;gt;&amp;lt;/strong&amp;gt;&amp;lt;/a&amp;gt;
            &amp;lt;/div&amp;gt;
                &amp;lt;div id="placeholder-app-bar"&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;a id="navSkip"&amp;gt;&amp;lt;/a&amp;gt;
&amp;lt;/header&amp;gt;
&amp;lt;div class="dashboard-body container-fluid main-section-body" data-role="main"&amp;gt;
    &amp;lt;div class="dashboard-header clearfix"&amp;gt;
        &amp;lt;h2&amp;gt;Splunk Answers 614832 - Custom Icon Range HTML&amp;lt;/h2&amp;gt;
    &amp;lt;/div&amp;gt;


    &amp;lt;div id="row1" class="dashboard-row dashboard-row1"&amp;gt;
        &amp;lt;div id="panel1" class="dashboard-cell" style="width: 100%;"&amp;gt;
            &amp;lt;div class="dashboard-panel clearfix"&amp;gt;
                &amp;lt;div class="fieldset"&amp;gt;
                    &amp;lt;div class="input input-text" id="input1"&amp;gt;
            &amp;lt;label&amp;gt;Enter Value&amp;lt;/label&amp;gt;
        &amp;lt;/div&amp;gt;
                &amp;lt;/div&amp;gt;

                &amp;lt;div class="panel-element-row"&amp;gt;
                    &amp;lt;div id="element1" class="dashboard-element html" style="width: 100%"&amp;gt;
                        &amp;lt;div class="panel-body html"&amp;gt;
                                &amp;lt;style&amp;gt;
          .custom-result-value {
              font-size: 55px;
              margin: 35px auto;
              text-align: center;
              font-weight: bold;
              color: rgb(85, 85, 85);
          }
          .custom-result-value:before {
              font-family: "Splunk Icons";
              font-style: normal;
              font-weight: normal;
              text-decoration: inherit;
              font-size: 110%;
          }
          .severe.custom-result-value:before {
              content: "\2297";
          }
          .severe.custom-result-value {
              color: rgb(217, 63, 60);
          }
          .high.custom-result-value {
              color: rgb(245, 143, 57);
          }
          .high.custom-result-value:before {
              content: "\ECD4";
          }
          .elevated.custom-result-value {
              color: rgb(247, 188, 56);
          }
          .elevated.custom-result-value:before {
              content: "\26A0";
          }
          .low.custom-result-value {
              color: rgb(101, 166, 55);
          }
          .low.custom-result-value:before {
              content: "\ECD3";
          }
          .guarded.custom-result-value {
              color: rgb(109, 183, 198);
          }
          .guarded.custom-result-value:before {
              content: "\0049";
          }
          .custom-result-value.icon-only {
              font-size: 90px;
          }          
        &amp;lt;/style&amp;gt;
                        &amp;lt;/div&amp;gt;
                    &amp;lt;/div&amp;gt;
                &amp;lt;/div&amp;gt;
                &amp;lt;div class="panel-element-row"&amp;gt;
                    &amp;lt;div id="element2" class="dashboard-element html" style="width: 100%"&amp;gt;
                        &amp;lt;div class="panel-body html"&amp;gt;
                                &amp;lt;div class="custom-result-value $range1$"&amp;gt;
            $value1$
        &amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;
              none=0-99 
            &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;
              low=100-199
            &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;
               guarded=200-299
            &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;
               elevated=300-399
            &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;
               high=400-499
            &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;
               severe=500-599
            &amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;
                        &amp;lt;/div&amp;gt;
                    &amp;lt;/div&amp;gt;
                &amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;!-- 
END LAYOUT
--&amp;gt;

&amp;lt;script src="{{SPLUNKWEB_URL_PREFIX}}/config?autoload=1" crossorigin="use-credentials"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="{{SPLUNKWEB_URL_PREFIX}}/static/js/i18n.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="{{SPLUNKWEB_URL_PREFIX}}/i18ncatalog?autoload=1"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="{{SPLUNKWEB_URL_PREFIX}}/static/build/simplexml/index.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script type="text/javascript"&amp;gt;
// &amp;lt;![CDATA[
// &amp;lt;![CDATA[
//
// LIBRARY REQUIREMENTS
//
// In the require function, we include the necessary libraries and modules for
// the HTML dashboard. Then, we pass variable names for these libraries and
// modules as function parameters, in order.
// 
// When you add libraries or modules, remember to retain this mapping order
// between the library or module and its function parameter. You can do this by
// adding to the end of these lists, as shown in the commented examples below.

require([
    "splunkjs/mvc",
    "splunkjs/mvc/utils",
    "splunkjs/mvc/tokenutils",
    "underscore",
    "jquery",
    "splunkjs/mvc/simplexml",
    "splunkjs/mvc/layoutview",
    "splunkjs/mvc/simplexml/dashboardview",
    "splunkjs/mvc/simplexml/dashboard/panelref",
    "splunkjs/mvc/simplexml/element/chart",
    "splunkjs/mvc/simplexml/element/event",
    "splunkjs/mvc/simplexml/element/html",
    "splunkjs/mvc/simplexml/element/list",
    "splunkjs/mvc/simplexml/element/map",
    "splunkjs/mvc/simplexml/element/single",
    "splunkjs/mvc/simplexml/element/table",
    "splunkjs/mvc/simplexml/element/visualization",
    "splunkjs/mvc/simpleform/formutils",
    "splunkjs/mvc/simplexml/eventhandler",
    "splunkjs/mvc/simplexml/searcheventhandler",
    "splunkjs/mvc/simpleform/input/dropdown",
    "splunkjs/mvc/simpleform/input/radiogroup",
    "splunkjs/mvc/simpleform/input/linklist",
    "splunkjs/mvc/simpleform/input/multiselect",
    "splunkjs/mvc/simpleform/input/checkboxgroup",
    "splunkjs/mvc/simpleform/input/text",
    "splunkjs/mvc/simpleform/input/timerange",
    "splunkjs/mvc/simpleform/input/submit",
    "splunkjs/mvc/searchmanager",
    "splunkjs/mvc/savedsearchmanager",
    "splunkjs/mvc/postprocessmanager",
    "splunkjs/mvc/simplexml/urltokenmodel"
    // Add comma-separated libraries and modules manually here, for example:
    // ..."splunkjs/mvc/simplexml/urltokenmodel",
    // "splunkjs/mvc/tokenforwarder"
    ],
    function(
        mvc,
        utils,
        TokenUtils,
        _,
        $,
        DashboardController,
        LayoutView,
        Dashboard,
        PanelRef,
        ChartElement,
        EventElement,
        HtmlElement,
        ListElement,
        MapElement,
        SingleElement,
        TableElement,
        VisualizationElement,
        FormUtils,
        EventHandler,
        SearchEventHandler,
        DropdownInput,
        RadioGroupInput,
        LinkListInput,
        MultiSelectInput,
        CheckboxGroupInput,
        TextInput,
        TimeRangeInput,
        SubmitButton,
        SearchManager,
        SavedSearchManager,
        PostProcessManager,
        UrlTokenModel

        // Add comma-separated parameter names here, for example: 
        // ...UrlTokenModel, 
        // TokenForwarder
        ) {

        var pageLoading = true;


        // 
        // TOKENS
        //

        // Create token namespaces
        var urlTokenModel = new UrlTokenModel();
        mvc.Components.registerInstance('url', urlTokenModel);
        var defaultTokenModel = mvc.Components.getInstance('default', {create: true});
        var submittedTokenModel = mvc.Components.getInstance('submitted', {create: true});

        urlTokenModel.on('url:navigate', function() {
            defaultTokenModel.set(urlTokenModel.toJSON());
            if (!_.isEmpty(urlTokenModel.toJSON()) &amp;amp;&amp;amp; !_.all(urlTokenModel.toJSON(), _.isUndefined)) {
                submitTokens();
            } else {
                submittedTokenModel.clear();
            }
        });

        // Initialize tokens
        defaultTokenModel.set(urlTokenModel.toJSON());

        function submitTokens() {
            // Copy the contents of the defaultTokenModel to the submittedTokenModel and urlTokenModel
            FormUtils.submitForm({ replaceState: pageLoading });
        }

        function setToken(name, value) {
            defaultTokenModel.set(name, value);
            submittedTokenModel.set(name, value);
        }

        function unsetToken(name) {
            defaultTokenModel.unset(name);
            submittedTokenModel.unset(name);
        }



        //
        // SEARCH MANAGERS
        //


var search1 = new SearchManager({
            "id": "search1",
            "status_buckets": 0,
            "earliest_time": "$earliest$",
            "cancelOnUnload": true,
            "sample_ratio": null,
            "latest_time": "$latest$",
            "search": "| makeresults      | eval value = $tokText$      | rangemap field=value none=0-99 low=100-199 guarded=200-299 elevated=300-399 high=400-499 severe=500-599 default=none",
            "app": utils.getCurrentApp(),
            "auto_cancel": 90,
            "preview": true,
            "tokenDependencies": {
            },
            "runWhenTimeIsUndefined": false
        }, {tokens: true, tokenNamespace: "submitted"});

        new SearchEventHandler({
            managerid: "search1",
            event: "progress",
            conditions: [
                {
                    attr: "any",
                    value: "*",
                    actions: [
                        {"type": "set", "token": "value1", "value": "$result.value$"},
                        {"type": "set", "token": "range1", "value": "$result.range$"}
                    ]
                }
            ]
        });


        //
        // SPLUNK LAYOUT
        //

        $('header').remove();
        new LayoutView({"hideChrome": false, "hideSplunkBar": false, "hideAppBar": false, "hideFooter": false})
            .render()
            .getContainerElement()
            .appendChild($('.dashboard-body')[0]);

        //
        // DASHBOARD EDITOR
        //

        new Dashboard({
            id: 'dashboard',
            el: $('.dashboard-body'),
            showTitle: true,
            editable: true
        }, {tokens: true}).render();


        //
        // VIEWS: VISUALIZATION ELEMENTS
        //

        var element1 = new HtmlElement({
            "id": "element1",
            "tokenDependencies": {"depends": "$alwaysHideCSSPanel$"},
            "useTokens": true,
            "el": $('#element1')
        }, {tokens: true, tokenNamespace: "submitted"}).render();

        DashboardController.addReadyDep(element1.contentLoaded());

        var element2 = new HtmlElement({
            "id": "element2",
            "useTokens": true,
            "el": $('#element2')
        }, {tokens: true, tokenNamespace: "submitted"}).render();

        DashboardController.addReadyDep(element2.contentLoaded());


        //
        // VIEWS: FORM INPUTS
        //

        var input1 = new TextInput({
            "id": "input1",
            "searchWhenChanged": true,
            "default": "0",
            "value": "$form.tokText$",
            "el": $('#input1')
        }, {tokens: true}).render();

        input1.on("change", function(newValue) {
            FormUtils.handleValueChange(input1);
        });

        DashboardController.onReady(function() {
            if (!submittedTokenModel.has('earliest') &amp;amp;&amp;amp; !submittedTokenModel.has('latest')) {
                submittedTokenModel.set({ earliest: '0', latest: '' });
            }
        });

        // Initialize time tokens to default
        if (!defaultTokenModel.has('earliest') &amp;amp;&amp;amp; !defaultTokenModel.has('latest')) {
            defaultTokenModel.set({ earliest: '0', latest: '' });
        }

        if (!_.isEmpty(urlTokenModel.toJSON())){
            submitTokens();
        }


        //
        // DASHBOARD READY
        //

        DashboardController.ready();
        pageLoading = false;

    }
);
// ]]&amp;gt;
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Feb 2018 17:03:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343575#M101768</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-02T17:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343576#M101769</link>
      <description>&lt;P&gt;@kdimaria while above CSS override for hiding table header is a work-around. I have posted an example of HTML dashboard with Single Value Color and Icon. See if it helps you in your use case. Let me know if you need any help!&lt;/P&gt;

&lt;P&gt;Happy Weekend &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 17:05:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343576#M101769</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-02T17:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343577#M101770</link>
      <description>&lt;P&gt;thank you! I'll accept the answer once i get the chance to test this out and see if im able to modify it to what im looking for &lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 17:13:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343577#M101770</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-02-02T17:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343578#M101771</link>
      <description>&lt;P&gt;I just feel like im going to run into the same issue with borders around the icon because of the panel. I just want a panel in the corner of my dashboard that is a table/splunk search that has only one value that I am able to drilldown into. I want to use the renderer to change the value to an icon(which I already can do) so that there is just an icon at the top right of my dashboard with no borders. &lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 17:16:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343578#M101771</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-02-02T17:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343579#M101772</link>
      <description>&lt;P&gt;You can do all that with CSS. Complete control of dashboard and override of Splunk's default Style is the main purpose of HTML dashboard. Also only if you can mock a screenshot of desired output, only then I would be able to give exact CSS Style override.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 17:21:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343579#M101772</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-02T17:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343580#M101773</link>
      <description>&lt;P&gt;@niketnilay OK I finally understand the icons with the single element. Is there a way to use CSS to change the icon to a custom icon?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 13:03:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343580#M101773</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-02-09T13:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343581#M101774</link>
      <description>&lt;P&gt;@niketilay &lt;A href="https://fontawesome.com/v4.7.0/icon/flag/"&gt;link text&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;That is the icon I want to have in the single element. I want to use the font awesome css and not change the background image with a url&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 13:19:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343581#M101774</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-02-09T13:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343582#M101775</link>
      <description>&lt;P&gt;@niketilay I am getting closer. I figured out how to use my icon instead of the Splunk's icons but I am wondering what is the point of HTML elements? I can't get them to work on my dashboard and I am wondering if it'll work using SingleElements instead. Thanks! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 16:22:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343582#M101775</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-02-12T16:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343583#M101776</link>
      <description>&lt;P&gt;You should try and figure out the code issue with the HTML Panel that you are trying. If Single Value visualization is working for you, so should HTML Panel.&lt;/P&gt;

&lt;P&gt;HTML panel in Splunk will let you add HTML elements to your dashboard directly in similar fashion as you will create a HTML web page. For the above example I took an example from Splunk Dashboard Examples app and converted to HTML Dashboard.&lt;/P&gt;

&lt;P&gt;The HTML element1 is to apply CSS Style to the dashboard (which is why it is always hidden via Token Dependency on &lt;CODE&gt;alwaysHideCSSPanel&lt;/CODE&gt; token which is never set:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  "tokenDependencies": {"depends": "$alwaysHideCSSPanel$"},
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you want you can move the CSS Style from HTML Panel element 1 to an actual CSS file and include the same as your dashboard's stylesheet.&lt;/P&gt;

&lt;P&gt;Following is the HTML code to display HTML &lt;CODE&gt;element2&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;div id="element2" class="dashboard-element html" style="width: 100%"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Following is html panel in Simple XML:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;html&amp;gt;
     ...
     ...
  &amp;lt;html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And following is a single value panel in Simple XML:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;single&amp;gt;
     ...
     ...
  &amp;lt;single&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I will try to see if something similar can be achieved with Single Value element, when the time permits.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 17:57:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343583#M101776</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-12T17:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343584#M101777</link>
      <description>&lt;P&gt;yeah when I try to do the line &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;var element1 = new HtmlElement({
         "id": "element1",
         "tokenDependencies": {"depends": "$alwaysHideCSSPanel$"},
         "useTokens": true,
         "el": $('#element1')
     }, {tokens: true, tokenNamespace: "submitted"}).render();
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;it says it cannot create constructor&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 18:26:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343584#M101777</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-02-12T18:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343585#M101778</link>
      <description>&lt;P&gt;@kdimaria, which version of Splunk are you on? I am not sure if there was any difference in the HTML panel being created in your version vs current version. However, you can try one of the following approaches.&lt;/P&gt;

&lt;P&gt;1) See if taking out second row for &lt;CODE&gt;tokenDependencies&lt;/CODE&gt; helps.&lt;/P&gt;

&lt;P&gt;2) If possible create a Simple XML dashboard with HTML Panel with empty style tag and depends token and then convert the same to HTML Dashboard to see what code gets generated for HTML Element.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;row depends="$alwaysHideCSSPanel$"&amp;gt;
   &amp;lt;panel&amp;gt;
        &amp;lt;html&amp;gt;
              &amp;lt;style&amp;gt;
              &amp;lt;/style&amp;gt;
        &amp;lt;/html&amp;gt;
   &amp;lt;/panel&amp;gt;
&amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Feb 2018 16:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343585#M101778</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-13T16:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343586#M101779</link>
      <description>&lt;P&gt;@niketnilay Thanks, I found that I just made a spelling mistake. Do you happen to have the simple xml code for this dashboard? I am having trouble getting it the number and icon to display and want to play around with it. It just displays $value1$. &lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 13:24:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343586#M101779</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-02-14T13:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to add icon to a panel instead of table so there are no borders?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343587#M101780</link>
      <description>&lt;P&gt;It seems like the searcheventhandler isnt working because its not changing value1 to result.value.. the splunk version i have is 6.4.7. &lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 14:34:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-icon-to-a-panel-instead-of-table-so-there-are-no/m-p/343587#M101780</guid>
      <dc:creator>kdimaria</dc:creator>
      <dc:date>2018-02-14T14:34:09Z</dc:date>
    </item>
  </channel>
</rss>

