<?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: Change timeline resource category color in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396520#M48423</link>
    <description>&lt;P&gt;Can you paste your code here? For me its working.&lt;/P&gt;

&lt;P&gt;I used ur color coding and for me its showing nice colors, For ex: ur critical is red?  Low is green?&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2019 10:26:16 GMT</pubDate>
    <dc:creator>venkasplunk</dc:creator>
    <dc:date>2019-07-15T10:26:16Z</dc:date>
    <item>
      <title>Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396512#M48415</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;

&lt;P&gt;Is it possible to choose the color of categories in a timeline? I would like to map color to category &lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Doron&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2019 16:04:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396512#M48415</guid>
      <dc:creator>doronca</dc:creator>
      <dc:date>2019-07-14T16:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396513#M48416</link>
      <description>&lt;P&gt;Can you give some more inputs?&lt;/P&gt;

&lt;P&gt;U can also refer to &lt;A href="https://answers.splunk.com/answers/506607/using-timeline-visulations-can-i-get-the-colors-to.html"&gt;https://answers.splunk.com/answers/506607/using-timeline-visulations-can-i-get-the-colors-to.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 06:10:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396513#M48416</guid>
      <dc:creator>venkasplunk</dc:creator>
      <dc:date>2019-07-15T06:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396514#M48417</link>
      <description>&lt;P&gt;Hi, thanks for replying. &lt;BR /&gt;
I saw the post you've shared, but it's not 100% solving my problem.&lt;/P&gt;

&lt;P&gt;The search below produces a timeline divided into 5 different severity categories that are randomly mapped to color. what I am trying to do is set the categories as follows:&lt;/P&gt;

&lt;P&gt;Color-mapping:&lt;BR /&gt;
{"informational":#5378AD,"low":#98BF3B,"medium":#F0BE1B,"high":#FF8800,"critical":#D25B3B}&lt;/P&gt;

&lt;P&gt;Search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;viz type="timeline_app.timeline"&amp;gt;
    &amp;lt;title&amp;gt;Timeline&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;| `all_alerts` | rename priority as severity | stats count by _time, alert, severity | table _time alert severity&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$global_time.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$global_time.latest$&amp;lt;/latest&amp;gt;
      &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
      &amp;lt;refresh&amp;gt;10m&amp;lt;/refresh&amp;gt;
      &amp;lt;refreshType&amp;gt;delay&amp;lt;/refreshType&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.axisTimeFormat"&amp;gt;DAYS&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.colorMode"&amp;gt;categorical&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.numOfBins"&amp;gt;5&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.tooltipTimeFormat"&amp;gt;DAYS&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.useColors"&amp;gt;1&amp;lt;/option&amp;gt;
  &amp;lt;/viz&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Jul 2019 06:21:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396514#M48417</guid>
      <dc:creator>doronca</dc:creator>
      <dc:date>2019-07-15T06:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396515#M48418</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Got u.&lt;/P&gt;

&lt;P&gt;Try this. If ok pls accept my answer.&lt;/P&gt;

&lt;P&gt;option name="charting.fieldColors"&lt;BR /&gt;
{"informational":#5378AD,"low":#98BF3B,"medium":#F0BE1B,"high":#FF8800,"critical":#D25B3B}&lt;BR /&gt;
/option&lt;/P&gt;

&lt;P&gt;Ignoring the &amp;lt;&amp;gt;  before option, because its not working, please check.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 09:32:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396515#M48418</guid>
      <dc:creator>venkasplunk</dc:creator>
      <dc:date>2019-07-15T09:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396516#M48419</link>
      <description>&lt;P&gt;{"informational":#5378AD,"low":#98BF3B,"medium":#F0BE1B,"high":#FF8800,"critical":#D25B3B}&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 09:35:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396516#M48419</guid>
      <dc:creator>venkasplunk</dc:creator>
      <dc:date>2019-07-15T09:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396517#M48420</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
Where and how exactly should I use this color mapping?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 09:37:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396517#M48420</guid>
      <dc:creator>doronca</dc:creator>
      <dc:date>2019-07-15T09:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396518#M48421</link>
      <description>&lt;P&gt;Just posted the answer again, some how if i use &amp;lt;&amp;gt; the option is getting removed.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 09:50:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396518#M48421</guid>
      <dc:creator>venkasplunk</dc:creator>
      <dc:date>2019-07-15T09:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396519#M48422</link>
      <description>&lt;P&gt;Thanks, seems like the issue still exists. The colors stays the same as before.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 10:05:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396519#M48422</guid>
      <dc:creator>doronca</dc:creator>
      <dc:date>2019-07-15T10:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396520#M48423</link>
      <description>&lt;P&gt;Can you paste your code here? For me its working.&lt;/P&gt;

&lt;P&gt;I used ur color coding and for me its showing nice colors, For ex: ur critical is red?  Low is green?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 10:26:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396520#M48423</guid>
      <dc:creator>venkasplunk</dc:creator>
      <dc:date>2019-07-15T10:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396521#M48424</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;viz type="timeline_app.timeline"&amp;gt;
    &amp;lt;title&amp;gt;Timeline&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;| `all_alerts` | rename priority as severity | stats count by _time, alert, severity | bin span=1m _time | search severity="$tok_severity$" | table _time alert severity&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$global_time.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$global_time.latest$&amp;lt;/latest&amp;gt;
      &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
      &amp;lt;refresh&amp;gt;10m&amp;lt;/refresh&amp;gt;
      &amp;lt;refreshType&amp;gt;delay&amp;lt;/refreshType&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.axisTimeFormat"&amp;gt;DAYS&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.colorMode"&amp;gt;categorical&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.fieldColors"&amp;gt;{"informational":#5378AD,"low":#98BF3B,"medium":#F0BE1B,"high":#FF8800,"critical":#D25B3B}&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.maxColor"&amp;gt;#DA5C5C&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.minColor"&amp;gt;#FFE8E8&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.numOfBins"&amp;gt;5&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.tooltipTimeFormat"&amp;gt;SECONDS&amp;lt;/option&amp;gt;
    &amp;lt;option name="timeline_app.timeline.useColors"&amp;gt;1&amp;lt;/option&amp;gt;
  &amp;lt;/viz&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried both with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="timeline_app.timeline.fieldColors"&amp;gt;{"informational":#5378AD,"low":#98BF3B,"medium":#F0BE1B,"high":#FF8800,"critical":#D25B3B}&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.fieldColors"&amp;gt;{"informational":#5378AD,"low":#98BF3B,"medium":#F0BE1B,"high":#FF8800,"critical":#D25B3B}&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Jul 2019 10:29:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396521#M48424</guid>
      <dc:creator>doronca</dc:creator>
      <dc:date>2019-07-15T10:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396522#M48425</link>
      <description>&lt;P&gt;Do take a note that its case sensitive, if your severity is High use High and dont use high&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 10:29:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396522#M48425</guid>
      <dc:creator>venkasplunk</dc:creator>
      <dc:date>2019-07-15T10:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396523#M48426</link>
      <description>&lt;P&gt;Can you try moving that line before /viz&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 10:32:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396523#M48426</guid>
      <dc:creator>venkasplunk</dc:creator>
      <dc:date>2019-07-15T10:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396524#M48427</link>
      <description>&lt;P&gt;you mean something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;panel&amp;gt;
     &amp;lt;option name="charting.fieldColors"&amp;gt;{"informational":#5378AD,"low":#98BF3B,"medium":#F0BE1B,"high":#FF8800,"critical":#D25B3B}&amp;lt;/option&amp;gt;
      &amp;lt;viz type="timeline_app.timeline"&amp;gt;
        &amp;lt;title&amp;gt;Timeline&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| `all_alerts` | rename priority as severity | stats count by _time, alert, severity | bin span=1m _time | search severity="$tok_severity$" | table _time alert severity&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$global_time.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$global_time.latest$&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
          &amp;lt;refresh&amp;gt;10m&amp;lt;/refresh&amp;gt;
          &amp;lt;refreshType&amp;gt;delay&amp;lt;/refreshType&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.axisTimeFormat"&amp;gt;DAYS&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.colorMode"&amp;gt;categorical&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.maxColor"&amp;gt;#DA5C5C&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.minColor"&amp;gt;#FFE8E8&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.numOfBins"&amp;gt;5&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.tooltipTimeFormat"&amp;gt;SECONDS&amp;lt;/option&amp;gt;
        &amp;lt;option name="timeline_app.timeline.useColors"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/viz&amp;gt;
    &amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;still doesnt work.. can you copy in the version that worked for you?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 10:37:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396524#M48427</guid>
      <dc:creator>doronca</dc:creator>
      <dc:date>2019-07-15T10:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396525#M48428</link>
      <description>&lt;P&gt;No , i meant the last /viz.   Below the timeline_app.timeline.useColors.&lt;/P&gt;

&lt;P&gt;What version are you referring to?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 11:07:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396525#M48428</guid>
      <dc:creator>venkasplunk</dc:creator>
      <dc:date>2019-07-15T11:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396526#M48429</link>
      <description>&lt;P&gt;@doronca for timeline custom visualization series color change, you will have to CSS override.&lt;BR /&gt;
Refer to my older answer on similar use case: &lt;A href="https://answers.splunk.com/answers/552658/pick-colours-for-certain-value.html"&gt;https://answers.splunk.com/answers/552658/pick-colours-for-certain-value.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 11:15:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396526#M48429</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-07-15T11:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Change timeline resource category color</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396527#M48430</link>
      <description>&lt;P&gt;Thanks for the answer. &lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 08:13:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Change-timeline-resource-category-color/m-p/396527#M48430</guid>
      <dc:creator>doronca</dc:creator>
      <dc:date>2019-07-16T08:13:36Z</dc:date>
    </item>
  </channel>
</rss>

