<?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 Multiple different font colors in one cell / string in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Multiple-different-font-colors-in-one-cell-string/m-p/566946#M197573</link>
    <description>&lt;P&gt;Hello people,&lt;/P&gt;&lt;P&gt;I'm very new to Splunk and I'm trying to create a dashboard with the "Statistics Table" Visualisation, that is more compact and takes up less space than what was there before.&lt;/P&gt;&lt;P&gt;In order to achieve this, I'm concatenating several strings from different fields, kind of like this:&lt;/P&gt;&lt;P&gt;| eval compactfield="1. ".field1."&lt;/P&gt;&lt;P&gt;2. ".field2."&lt;/P&gt;&lt;P&gt;3. ".field3&lt;/P&gt;&lt;P&gt;and while that looks fine and works, it'd be great if I could add some kind of color tag (or maybe even bold, italic and so on) so that there'd be a different color for each line, making it easier to differentiate for people looking at the dashboard. I'm imagining something like this:&lt;/P&gt;&lt;P&gt;| eval compactfield="&amp;lt;col="blue"&amp;gt;1. ".field1."&lt;/P&gt;&lt;P&gt;&amp;lt;/col&amp;gt;&amp;lt;col="red"&amp;gt;2. ".field2."&lt;/P&gt;&lt;P&gt;&amp;lt;/col&amp;gt;&amp;lt;col="purple"&amp;gt;3. ".field3."&amp;lt;/col&amp;gt;"&lt;/P&gt;&lt;P&gt;Is there a way to achieve this? I'm really sorry if this question has been asked before, but I couldn't find anything.&lt;/P&gt;&lt;P&gt;Thanks for your time,&lt;/P&gt;&lt;P&gt;Cyd&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Sep 2021 07:23:14 GMT</pubDate>
    <dc:creator>Cydraech</dc:creator>
    <dc:date>2021-09-14T07:23:14Z</dc:date>
    <item>
      <title>Multiple different font colors in one cell / string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-different-font-colors-in-one-cell-string/m-p/566946#M197573</link>
      <description>&lt;P&gt;Hello people,&lt;/P&gt;&lt;P&gt;I'm very new to Splunk and I'm trying to create a dashboard with the "Statistics Table" Visualisation, that is more compact and takes up less space than what was there before.&lt;/P&gt;&lt;P&gt;In order to achieve this, I'm concatenating several strings from different fields, kind of like this:&lt;/P&gt;&lt;P&gt;| eval compactfield="1. ".field1."&lt;/P&gt;&lt;P&gt;2. ".field2."&lt;/P&gt;&lt;P&gt;3. ".field3&lt;/P&gt;&lt;P&gt;and while that looks fine and works, it'd be great if I could add some kind of color tag (or maybe even bold, italic and so on) so that there'd be a different color for each line, making it easier to differentiate for people looking at the dashboard. I'm imagining something like this:&lt;/P&gt;&lt;P&gt;| eval compactfield="&amp;lt;col="blue"&amp;gt;1. ".field1."&lt;/P&gt;&lt;P&gt;&amp;lt;/col&amp;gt;&amp;lt;col="red"&amp;gt;2. ".field2."&lt;/P&gt;&lt;P&gt;&amp;lt;/col&amp;gt;&amp;lt;col="purple"&amp;gt;3. ".field3."&amp;lt;/col&amp;gt;"&lt;/P&gt;&lt;P&gt;Is there a way to achieve this? I'm really sorry if this question has been asked before, but I couldn't find anything.&lt;/P&gt;&lt;P&gt;Thanks for your time,&lt;/P&gt;&lt;P&gt;Cyd&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 07:23:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-different-font-colors-in-one-cell-string/m-p/566946#M197573</guid>
      <dc:creator>Cydraech</dc:creator>
      <dc:date>2021-09-14T07:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple different font colors in one cell / string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-different-font-colors-in-one-cell-string/m-p/566959#M197575</link>
      <description>&lt;P&gt;It can't be done with the standard table viz - you might be able to write some html panels but I suspect it would get overly complicated for little benefit.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 09:48:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-different-font-colors-in-one-cell-string/m-p/566959#M197575</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-14T09:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple different font colors in one cell / string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-different-font-colors-in-one-cell-string/m-p/566961#M197576</link>
      <description>&lt;P&gt;Thanks for your answer!&lt;/P&gt;&lt;P&gt;I reckon that your assessment of the output not justifying the input is right. If there's no quicker way to do it, then - especially as a beginner - I don't think I should waste any more time on it. Maybe I'll revisit this later down the line, who knows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 10:07:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-different-font-colors-in-one-cell-string/m-p/566961#M197576</guid>
      <dc:creator>Cydraech</dc:creator>
      <dc:date>2021-09-14T10:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple different font colors in one cell / string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-different-font-colors-in-one-cell-string/m-p/566970#M197578</link>
      <description>&lt;P&gt;There is potential for using CSS to style your cells, e.g. background colour based on the content of the field.&amp;nbsp; If you use multi-value fields, you could also hide (display: none;) on some of the multi-value indexes.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 12:54:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-different-font-colors-in-one-cell-string/m-p/566970#M197578</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-14T12:54:02Z</dc:date>
    </item>
  </channel>
</rss>

