<?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: Custom icon in table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105989#M27551</link>
    <description>&lt;P&gt;Thanks! I have been playing with Sideview and like what I see. First thing in the morning I'll work withthis.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Oct 2012 21:01:13 GMT</pubDate>
    <dc:creator>kmattern</dc:creator>
    <dc:date>2012-10-29T21:01:13Z</dc:date>
    <item>
      <title>Custom icon in table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105987#M27549</link>
      <description>&lt;P&gt;I have a table that looks like this:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://splunk-base.splunk.com//storage/RegularTable.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;My customer wants the table to look like this:&lt;BR /&gt;
&lt;IMG src="http://splunk-base.splunk.com//storage/IconTable.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Any ideas? I've looked into iconify but that doesn't seem to work. I'm not sure anything will but I could really use it.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2012 18:40:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105987#M27549</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2012-10-29T18:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom icon in table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105988#M27550</link>
      <description>&lt;P&gt;It's doable with the Sideview Table module,  which is new in Sideview Utils 2.2.   Note you can get the latest Sideview utils version only &lt;A href="http://sideviewapps.com/apps/sideview-utils" target="_blank"&gt;from the sideview site&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let's say that for each of your status values, you have an icon in appserver/static somewhere,   whose filename is like "status_icon_2",  "status_icon_4", etc... &lt;/P&gt;

&lt;P&gt;Here then would be the config for the Table module: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="Table"&amp;gt;
  &amp;lt;module name="HTML" group="row.fields.Access Status"&amp;gt;
    &amp;lt;param name="html"&amp;gt;&amp;lt;![CDATA[
      &amp;lt;img src="/static/app/sideview_utils/images/status_icon_$row.fields.Access Status$.gif"&amp;gt;
    ]]&amp;gt;&amp;lt;/param&amp;gt;
  &amp;lt;/module&amp;gt;
&amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note carefully the two places that $row.fields.Access Status$ appears.&lt;/P&gt;

&lt;P&gt;Also note that I've put Sideview Utils as the name of the app and you'll almost certainly want to replace this with your app name (wherever your images are)&lt;/P&gt;

&lt;P&gt;You can also break this up and just put a className into the HTML, and then define the actual images over in the CSS.  Here I've kept it simple and just dumped out the &lt;CODE&gt;&amp;lt;img&amp;gt;&lt;/CODE&gt; tags right into the HTML. &lt;/P&gt;

&lt;P&gt;And in case you're wondering, you &lt;EM&gt;can&lt;/EM&gt; actually use any other modules in there.  The embedding feature offered by the Table can be a little mindblowing.   &lt;/P&gt;

&lt;P&gt;That said,  the Sideview engineering here is a little ahead of the Sideview docs.   Follow sideview on twitter (@sideview_apps) to get notified when new versions are released, and expect a new version in the next few weeks with some new docs and examples spelling out all the simple and powerful things you can do with the new Table module.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:42:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105988#M27550</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2020-09-28T12:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom icon in table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105989#M27551</link>
      <description>&lt;P&gt;Thanks! I have been playing with Sideview and like what I see. First thing in the morning I'll work withthis.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2012 21:01:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105989#M27551</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2012-10-29T21:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom icon in table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105990#M27552</link>
      <description>&lt;P&gt;Thanks for the example of how to do this. I found it very handy as well.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2012 16:17:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105990#M27552</guid>
      <dc:creator>dspracklen</dc:creator>
      <dc:date>2012-11-16T16:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom icon in table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105991#M27553</link>
      <description>&lt;P&gt;Where the Table  module ? Please give me a table module.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 13:09:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105991#M27553</guid>
      <dc:creator>khyoung7410</dc:creator>
      <dc:date>2013-01-08T13:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom icon in table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105992#M27554</link>
      <description>&lt;P&gt;Read the first paragraph which says what its in, the version its in and even has a link to get it... pretty detailed&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 14:02:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105992#M27554</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2013-01-08T14:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom icon in table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105993#M27555</link>
      <description>&lt;P&gt;Visited Sideviewapps.com&lt;BR /&gt;
But download file is 0 byte.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 14:53:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105993#M27555</guid>
      <dc:creator>khyoung7410</dc:creator>
      <dc:date>2013-01-08T14:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom icon in table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105994#M27556</link>
      <description>&lt;P&gt;Fill out the download form again and try again. The link only works once, so if you double click it, even accidentally, or if you click, hit escape and then click again, you'll download either an empty file or an html page telling you the link is expired.   Try again and it'll work though.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 17:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105994#M27556</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-01-08T17:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom icon in table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105995#M27557</link>
      <description>&lt;P&gt;Thank you. Download it. Table module where insert? Example please&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2013 01:47:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105995#M27557</guid>
      <dc:creator>khyoung7410</dc:creator>
      <dc:date>2013-01-09T01:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom icon in table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105996#M27558</link>
      <description>&lt;P&gt;Since my answer was written there are several pages of documentation just about the Table module, and several examples.  Make sure to first read through the first few general pages of the Sideview Utils docs so you understand how to use the Sideview modules in general .&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2013 02:03:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-icon-in-table/m-p/105996#M27558</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-01-09T02:03:43Z</dc:date>
    </item>
  </channel>
</rss>

