<?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: Line Chart over _time by fieldname in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430946#M7730</link>
    <description>&lt;P&gt;thnks @DMohn but it won't help&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jan 2019 14:04:30 GMT</pubDate>
    <dc:creator>ips_mandar</dc:creator>
    <dc:date>2019-01-31T14:04:30Z</dc:date>
    <item>
      <title>Line Chart over _time by fieldname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430940#M7724</link>
      <description>&lt;P&gt;Hi I am trying below query to plot line chart-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=abc |eval Time=round(endtime-starttime)|chart values(Time) as Time over _time by Type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here there can be multiple Type values.&lt;BR /&gt;
my problem is some _time field has multivalue Time field  due to which it is not plotted on graph and I am not able to use mvexpand on Type because Type value is not fixed .&lt;BR /&gt;
my output looks like below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time                                     Build
29/01/2019 12:01                            2
                                            3
                                            4
29/01/2019 12:12                            5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;from above only 5 value is getting plotted and others are not seen due to multivalue and here I can not apply &lt;CODE&gt;mvexpand Build&lt;/CODE&gt; as this  value can change&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 06:26:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430940#M7724</guid>
      <dc:creator>ips_mandar</dc:creator>
      <dc:date>2019-01-29T06:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart over _time by fieldname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430941#M7725</link>
      <description>&lt;P&gt;hi @ips_mandar &lt;BR /&gt;
i didn't understand what do u want ,i can't see above example &lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Can u explain what u had and what do u want simply&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 07:45:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430941#M7725</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2019-01-30T07:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart over _time by fieldname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430942#M7726</link>
      <description>&lt;P&gt;So &lt;CODE&gt;Type&lt;/CODE&gt; is fieldname and it's value can be &lt;CODE&gt;Build&lt;/CODE&gt; or &lt;CODE&gt;Deploy&lt;/CODE&gt; or &lt;CODE&gt;both&lt;/CODE&gt;.&lt;BR /&gt;
After Running this query-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=abc |eval Time=round(endtime-starttime)|chart values(Time) as Time over _time by Type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I got below results-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time                                     Build
 29/01/2019 12:01                            2
                                             3
                                             4
 29/01/2019 12:12                            5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But I want to have seggregated result like &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time                                     Build
 29/01/2019 12:01                            2
 29/01/2019 12:01                            3
 29/01/2019 12:01                            4
 29/01/2019 12:12                            5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This can be achieved using &lt;CODE&gt;mvexpand Build&lt;/CODE&gt; but Build value is not fixed. so is there any other way..&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 05:43:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430942#M7726</guid>
      <dc:creator>ips_mandar</dc:creator>
      <dc:date>2019-01-31T05:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart over _time by fieldname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430943#M7727</link>
      <description>&lt;P&gt;Have you tried using &lt;CODE&gt;|filldown _time&lt;/CODE&gt; ??&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 11:28:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430943#M7727</guid>
      <dc:creator>DMohn</dc:creator>
      <dc:date>2019-01-31T11:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart over _time by fieldname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430944#M7728</link>
      <description>&lt;P&gt;Try the stats command instead&lt;/P&gt;

&lt;P&gt;index=abc |eval Time=round(endtime-starttime)|stats values(Time) as Time by _time Type&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 12:30:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430944#M7728</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-01-31T12:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart over _time by fieldname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430945#M7729</link>
      <description>&lt;P&gt;Thanks for comment @jkat54&lt;BR /&gt;
but if I try this &lt;CODE&gt;|stats values(Time) as Time by _time Type|mvexpand Time&lt;/CODE&gt;&lt;BR /&gt;
i will get below result&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; _time                                     Type                              Time
  29/01/2019 12:01                         Build                              2
  29/01/2019 12:01                         Build                              3                  
  29/01/2019 12:01                         Build                              4                  
  29/01/2019 12:12                         Build                              5              
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and If i plot line chart it will have legend as Time and Type instaead of value of Type i.e. Build&lt;BR /&gt;
I want result as-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; _time                                     Build
  29/01/2019 12:01                            2
  29/01/2019 12:01                            3
  29/01/2019 12:01                            4
  29/01/2019 12:12                            5
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Jan 2019 14:03:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430945#M7729</guid>
      <dc:creator>ips_mandar</dc:creator>
      <dc:date>2019-01-31T14:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart over _time by fieldname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430946#M7730</link>
      <description>&lt;P&gt;thnks @DMohn but it won't help&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 14:04:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430946#M7730</guid>
      <dc:creator>ips_mandar</dc:creator>
      <dc:date>2019-01-31T14:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart over _time by fieldname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430947#M7731</link>
      <description>&lt;P&gt;add a &lt;CODE&gt;|rename Time as Build | fields -Type&lt;/CODE&gt; and you will get your desired result&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 14:05:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430947#M7731</guid>
      <dc:creator>DMohn</dc:creator>
      <dc:date>2019-01-31T14:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart over _time by fieldname</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430948#M7732</link>
      <description>&lt;P&gt;here for example I shown Build but there can be Build and Deploy under Type&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 14:19:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Line-Chart-over-time-by-fieldname/m-p/430948#M7732</guid>
      <dc:creator>ips_mandar</dc:creator>
      <dc:date>2019-01-31T14:19:31Z</dc:date>
    </item>
  </channel>
</rss>

