<?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: Table Row Highlighting, using non numeric in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278294#M84000</link>
    <description>&lt;P&gt;Hi edwinmae,&lt;BR /&gt;
You should downloaf and install the "Splunk 6.x Dashboard Examples" App (&lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt;)&lt;BR /&gt;
See "Table Formats" dashboard there are two examples that answer  your need.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Sat, 05 Nov 2016 09:00:58 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2016-11-05T09:00:58Z</dc:date>
    <item>
      <title>Table Row Highlighting, using non numeric</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278293#M83999</link>
      <description>&lt;P&gt;I am using the table_row_highlighting.js and the table_decorations.css from the 'latest Splunk 6.x Dashboard examples.&lt;/P&gt;

&lt;H2&gt;I have 1 field named State and the result is either Running or Stopped.&lt;/H2&gt;

&lt;P&gt;When I do a 'table' search, everything is green and all the 'results' under State (field) is NaN &lt;/P&gt;

&lt;H2&gt;Does NaN refers to Not A Number. &lt;/H2&gt;

&lt;P&gt;Example entry I use, tried all kind of differ combinations, using =, ==, 'Running', "Running", etc.) -- Nothing seems to work, so I am likely missing something here&lt;/P&gt;

&lt;P&gt;if (cell.field === 'State') {&lt;BR /&gt;
                if (value == 'Running') {&lt;BR /&gt;
                    $td.addClass('range-cell').addClass('range-running');&lt;BR /&gt;
                }&lt;/P&gt;

&lt;H2&gt;            }&lt;/H2&gt;

&lt;P&gt;How to change this Splunk Dashboard example to use non-numeric?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:35:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278293#M83999</guid>
      <dc:creator>edwinmae</dc:creator>
      <dc:date>2020-09-29T11:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table Row Highlighting, using non numeric</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278294#M84000</link>
      <description>&lt;P&gt;Hi edwinmae,&lt;BR /&gt;
You should downloaf and install the "Splunk 6.x Dashboard Examples" App (&lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt;)&lt;BR /&gt;
See "Table Formats" dashboard there are two examples that answer  your need.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 05 Nov 2016 09:00:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278294#M84000</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-11-05T09:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table Row Highlighting, using non numeric</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278295#M84001</link>
      <description>&lt;P&gt;I did that as mentioned in the first line. Those examples contain numeric fields, &lt;STRONG&gt;not&lt;/STRONG&gt; text fields.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 13:12:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278295#M84001</guid>
      <dc:creator>edwinmae</dc:creator>
      <dc:date>2016-11-14T13:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Table Row Highlighting, using non numeric</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278296#M84002</link>
      <description>&lt;P&gt;Hi edwinmae,,&lt;BR /&gt;
I don't know if you have the latest version of Splunk 6.0 Dashboard Examples, but in the "Table format" dashboard (New example) there are two examples with non numeric fields non present in the previous version of App.&lt;/P&gt;

&lt;P&gt;In the following rows there are two examples: the first one for text fields and the second one for numeric fields&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;format type="color" field="sourcetype"&amp;gt;
&amp;lt;colorPalette type="sharedList"&amp;gt;&amp;lt;/colorPalette&amp;gt;
&amp;lt;scale type="category"&amp;gt;&amp;lt;/scale&amp;gt;
&amp;lt;/format&amp;gt;
&amp;lt;format type="color" field="count"&amp;gt;
&amp;lt;colorPalette type="minMidMax" maxColor="#31A35F" minColor="#FFFFFF"&amp;gt;&amp;lt;/colorPalette&amp;gt;
&amp;lt;scale type="minMidMax"&amp;gt;&amp;lt;/scale&amp;gt;
&amp;lt;/format&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 14:20:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278296#M84002</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-11-14T14:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table Row Highlighting, using non numeric</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278297#M84003</link>
      <description>&lt;P&gt;You were right --- Didn't notice the New Example &lt;BR /&gt;
All fine now&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 11:13:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278297#M84003</guid>
      <dc:creator>edwinmae</dc:creator>
      <dc:date>2016-11-15T11:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Table Row Highlighting, using non numeric</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278298#M84004</link>
      <description>&lt;P&gt;How did you fix this in your script, this still does not seem to address your original problem, coloring the whole row based on a text value in a cell.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 19:05:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-Row-Highlighting-using-non-numeric/m-p/278298#M84004</guid>
      <dc:creator>Cuyose</dc:creator>
      <dc:date>2018-08-28T19:05:04Z</dc:date>
    </item>
  </channel>
</rss>

