<?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 issiue in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384743#M112374</link>
    <description>&lt;P&gt;Sounds like you may need to rethink your token approach a bit, because avg(field1 field2 field3) of course will not work. Not an expert on tokens, but you can perhaps do some pre-processing on that token before passing it to the search, such that you can provide a specific token for the timechart command that actually takes the avg() of each of the fields rather than avg over a string containing multiple fieldnames.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Nov 2018 12:50:33 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-11-14T12:50:33Z</dc:date>
    <item>
      <title>timechart issiue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384738#M112369</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;i have 3 fields host , swapfree, memoryfree in my index &lt;BR /&gt;
i want to display count like this :&lt;/P&gt;

&lt;P&gt;timechart span=1h  count(swapfree)  as  swapfree , count(memoryfree) as memoryfree by host &lt;/P&gt;

&lt;P&gt;problem is : i am passing swapfree and memory free as token and host also as token &lt;BR /&gt;
can anyone help me in this :&lt;/P&gt;

&lt;P&gt;in my timechart : x-axis: time , y-axis : bytes in swapfree , memoryfree for the host selected &lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 11:43:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384738#M112369</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2018-11-14T11:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: timechart issiue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384739#M112370</link>
      <description>&lt;P&gt;What exactly is and isn't working with your current approach?&lt;/P&gt;

&lt;P&gt;Also: if you want to chart the actual bytes, you shouldn't be using &lt;CODE&gt;count()&lt;/CODE&gt; as the aggregation function in the &lt;CODE&gt;timechart&lt;/CODE&gt; command. You probably want to use &lt;CODE&gt;avg()&lt;/CODE&gt;, &lt;CODE&gt;min()&lt;/CODE&gt; or &lt;CODE&gt;max()&lt;/CODE&gt; or &lt;CODE&gt;earliest()&lt;/CODE&gt; or &lt;CODE&gt;latest()&lt;/CODE&gt; depending on what exactly you want to display.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 12:25:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384739#M112370</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-11-14T12:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: timechart issiue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384740#M112371</link>
      <description>&lt;P&gt;used tokens :&lt;/P&gt;

&lt;P&gt;index=idix_infra_prod $swap$ $host$ source=Apigssor &lt;BR /&gt;
| table _time host $swap$ &lt;BR /&gt;
| fields - OR &lt;BR /&gt;
| timechart span=$span$ count by $swap$&lt;/P&gt;

&lt;P&gt;translates to :&lt;/P&gt;

&lt;P&gt;index=iod MemoryBuffers  MemoryUsedPercent  MemoryTotal (host="vgapx5vr") source=Apigor &lt;BR /&gt;
| table _time host MemoryBuffers  MemoryUsedPercent  MemoryTotal &lt;BR /&gt;
| fields - OR &lt;BR /&gt;
| timechart span=1h count by MemoryBuffers  MemoryUsedPercent  MemoryTotal&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:59:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384740#M112371</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2020-09-29T21:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: timechart issiue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384741#M112372</link>
      <description>&lt;P&gt;if i try to do an average , this is the problem, token issue &lt;/P&gt;

&lt;P&gt;index=idxrod $swap$ $host$ source=Apicessor &lt;BR /&gt;
| table _time host $swap$ &lt;BR /&gt;
| fields - OR &lt;BR /&gt;
| timechart span=$span$ avg($swap$)&lt;/P&gt;

&lt;P&gt;index=idrod MemoryBuffers  MemoryUsedPercent  MemoryTotal (host="vgapx5vr") source=Apor &lt;BR /&gt;
| table _time host MemoryBuffers  MemoryUsedPercent  MemoryTotal &lt;BR /&gt;
| fields - OR &lt;BR /&gt;
| timechart span=1h avg(MemoryBuffers  MemoryUsedPercent  MemoryTotal)&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 12:41:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384741#M112372</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2018-11-14T12:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: timechart issiue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384742#M112373</link>
      <description>&lt;P&gt;when i am using one token , its working &lt;BR /&gt;
but multiple tokens wen i am selecting using multiselct , its not working&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 12:43:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384742#M112373</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2018-11-14T12:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: timechart issiue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384743#M112374</link>
      <description>&lt;P&gt;Sounds like you may need to rethink your token approach a bit, because avg(field1 field2 field3) of course will not work. Not an expert on tokens, but you can perhaps do some pre-processing on that token before passing it to the search, such that you can provide a specific token for the timechart command that actually takes the avg() of each of the fields rather than avg over a string containing multiple fieldnames.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 12:50:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-issiue/m-p/384743#M112374</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-11-14T12:50:33Z</dc:date>
    </item>
  </channel>
</rss>

