<?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: multikv and timechart | changing the default label of line in multiline chart with another dynamic value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/multikv-and-timechart-changing-the-default-label-of-line-in/m-p/58659#M14383</link>
    <description>&lt;P&gt;As suggested, this worked and gave me the result I wanted: index="os" host="myhost" source="ps" | multikv | eval pidAndCommand=PID." ".COMMAND | timechart avg(pctCPU) by pidAndCommand&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2013 03:15:05 GMT</pubDate>
    <dc:creator>anuragkapur</dc:creator>
    <dc:date>2013-03-15T03:15:05Z</dc:date>
    <item>
      <title>multikv and timechart | changing the default label of line in multiline chart with another dynamic value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multikv-and-timechart-changing-the-default-label-of-line-in/m-p/58657#M14381</link>
      <description>&lt;P&gt;I am trying to plot the CPU utilisation of all processes on a Solaris server using the following search query:&lt;BR /&gt;
index="os" host="myhost" source="ps" | multikv fields PID pctCPU COMMAND forceheader=1 | timechart avg(pctCPU) by PID&lt;/P&gt;

&lt;P&gt;This works, but I would like the lines in my chart to be labelled with the COMMAND field rather than PID. I can't change the "by" clause to COMMAND as more than one process has the same value for the COMMAND field.&lt;/P&gt;

&lt;P&gt;Could someone please suggest a way of achieving this?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2013 14:47:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multikv-and-timechart-changing-the-default-label-of-line-in/m-p/58657#M14381</guid>
      <dc:creator>anuragkapur</dc:creator>
      <dc:date>2013-03-12T14:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: multikv and timechart | changing the default label of line in multiline chart with another dynamic value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multikv-and-timechart-changing-the-default-label-of-line-in/m-p/58658#M14382</link>
      <description>&lt;P&gt;You could append the command to the pid and use that as your grouping field.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2013 16:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multikv-and-timechart-changing-the-default-label-of-line-in/m-p/58658#M14382</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-03-12T16:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: multikv and timechart | changing the default label of line in multiline chart with another dynamic value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multikv-and-timechart-changing-the-default-label-of-line-in/m-p/58659#M14383</link>
      <description>&lt;P&gt;As suggested, this worked and gave me the result I wanted: index="os" host="myhost" source="ps" | multikv | eval pidAndCommand=PID." ".COMMAND | timechart avg(pctCPU) by pidAndCommand&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 03:15:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multikv-and-timechart-changing-the-default-label-of-line-in/m-p/58659#M14383</guid>
      <dc:creator>anuragkapur</dc:creator>
      <dc:date>2013-03-15T03:15:05Z</dc:date>
    </item>
  </channel>
</rss>

