<?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: creating Line chart with two custom fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/creating-Line-chart-with-two-custom-fields/m-p/145201#M40442</link>
    <description>&lt;P&gt;It will return average of your load average....&lt;/P&gt;

&lt;P&gt;on second thoughts (and further reading of the documentation!), May be what you need is the xyseries. &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Xyseries" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Xyseries&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You may have to create a dummy field with the Y-axis label like so:&lt;/P&gt;

&lt;P&gt;... | eval y_field = "load_times" | xyseries date_time y_field, load_time&lt;/P&gt;

&lt;P&gt;I haven't used this but I have a feeling this will suit your case. &lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 17:44:42 GMT</pubDate>
    <dc:creator>sk314</dc:creator>
    <dc:date>2020-09-28T17:44:42Z</dc:date>
    <item>
      <title>creating Line chart with two custom fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/creating-Line-chart-with-two-custom-fields/m-p/145198#M40439</link>
      <description>&lt;P&gt;Hello, I am quite new using Splunk and I have a question, that might be already be solved before, but I just want to make sure.&lt;/P&gt;

&lt;P&gt;I have two fields (numerical) extracted from a several log files from a server: load_avg &amp;amp; date_time. These log files are printed in 3 columns and I have taken the last 2 columns as each field (both numerical).&lt;BR /&gt;
What I would like to do is to create a Line chart that has as the X axis (abscissa) the date_time and in the Y axis (ordinate) the load_avg (load average) in a way that each date_time coincides with each corresponding load_avg.&lt;/P&gt;

&lt;P&gt;Please, let me know if you need any further information.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:44:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/creating-Line-chart-with-two-custom-fields/m-p/145198#M40439</guid>
      <dc:creator>juancarlos_pola</dc:creator>
      <dc:date>2020-09-28T17:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: creating Line chart with two custom fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/creating-Line-chart-with-two-custom-fields/m-p/145199#M40440</link>
      <description>&lt;P&gt;Have you tried using the chart command? &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.3/SearchReference/chart"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.3/SearchReference/chart&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;like so: &lt;CODE&gt;... | chart avg(load_time) over date_time&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;You could look at the bucket options and use timechart command too. &lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2014 06:56:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/creating-Line-chart-with-two-custom-fields/m-p/145199#M40440</guid>
      <dc:creator>sk314</dc:creator>
      <dc:date>2014-09-30T06:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: creating Line chart with two custom fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/creating-Line-chart-with-two-custom-fields/m-p/145200#M40441</link>
      <description>&lt;P&gt;Thank you for your response sk314.&lt;BR /&gt;
And, pardon my ignorance but, when I define avg() does it return the real value? or the average comparing with all the other values? I would like to get the numerical value as it is. &lt;/P&gt;

&lt;P&gt;Please let me know if I am right or wrong.&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2014 07:09:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/creating-Line-chart-with-two-custom-fields/m-p/145200#M40441</guid>
      <dc:creator>juancarlos_pola</dc:creator>
      <dc:date>2014-09-30T07:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: creating Line chart with two custom fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/creating-Line-chart-with-two-custom-fields/m-p/145201#M40442</link>
      <description>&lt;P&gt;It will return average of your load average....&lt;/P&gt;

&lt;P&gt;on second thoughts (and further reading of the documentation!), May be what you need is the xyseries. &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Xyseries" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Xyseries&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You may have to create a dummy field with the Y-axis label like so:&lt;/P&gt;

&lt;P&gt;... | eval y_field = "load_times" | xyseries date_time y_field, load_time&lt;/P&gt;

&lt;P&gt;I haven't used this but I have a feeling this will suit your case. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:44:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/creating-Line-chart-with-two-custom-fields/m-p/145201#M40442</guid>
      <dc:creator>sk314</dc:creator>
      <dc:date>2020-09-28T17:44:42Z</dc:date>
    </item>
  </channel>
</rss>

