<?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: timechart with dynamic data series? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/timechart-with-dynamic-data-series/m-p/358571#M5804</link>
    <description>&lt;P&gt;@yww325, I have converted @somesoni2 's comment to answer. Please accept to mark this as answered.&lt;BR /&gt;
Also make sure you post your comments using &lt;CODE&gt;Add comment&lt;/CODE&gt; for specific thread instead of posting a new answer.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Dec 2017 02:37:08 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-12-29T02:37:08Z</dc:date>
    <item>
      <title>timechart with dynamic data series?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/timechart-with-dynamic-data-series/m-p/358568#M5801</link>
      <description>&lt;P&gt;I found a document saying you can create multiple data series here:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Search/Chartmultipledataseries"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Search/Chartmultipledataseries&lt;/A&gt;&lt;BR /&gt;
But the number of data series is a fixed value, you have to specify these names and conditions for each of them.&lt;BR /&gt;
In my case, let's assume we have a ReturnCode field and an AppName field in the search return, the return number could be any number. &lt;BR /&gt;
I want to see a timely distribution, so  I used time chart, and I also want data series group by AppName and ReturnCode, so now I use like | timechart count(eval(ReturnCode=1)) as 1, count(eval(ReturnCode=2)) as 2 by AppName &lt;BR /&gt;
But I realize the ReturnCode can be totally different according to the application(AppName), for AppA, return code can be 1,2,3,4; for AppB, return code can be 2,3,5. I want one colored data series for each combination of AppName+ReturnCode in the timechart&lt;BR /&gt;
How can I achieve that?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 18:56:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/timechart-with-dynamic-data-series/m-p/358568#M5801</guid>
      <dc:creator>yww325</dc:creator>
      <dc:date>2017-12-28T18:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: timechart with dynamic data series?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/timechart-with-dynamic-data-series/m-p/358569#M5802</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search 
| eval App_RC=AppName.":".ReturnCode
| timechart count by App_RC
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Dec 2017 20:17:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/timechart-with-dynamic-data-series/m-p/358569#M5802</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-12-28T20:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: timechart with dynamic data series?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/timechart-with-dynamic-data-series/m-p/358570#M5803</link>
      <description>&lt;P&gt;Yes, that will work,  thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 22:27:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/timechart-with-dynamic-data-series/m-p/358570#M5803</guid>
      <dc:creator>yww325</dc:creator>
      <dc:date>2017-12-28T22:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: timechart with dynamic data series?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/timechart-with-dynamic-data-series/m-p/358571#M5804</link>
      <description>&lt;P&gt;@yww325, I have converted @somesoni2 's comment to answer. Please accept to mark this as answered.&lt;BR /&gt;
Also make sure you post your comments using &lt;CODE&gt;Add comment&lt;/CODE&gt; for specific thread instead of posting a new answer.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2017 02:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/timechart-with-dynamic-data-series/m-p/358571#M5804</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-12-29T02:37:08Z</dc:date>
    </item>
  </channel>
</rss>

