<?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 How to create aa chart using xyseries command syntax? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-aa-chart-using-xyseries-command-syntax/m-p/237176#M188602</link>
    <description>&lt;P&gt;Dears,&lt;/P&gt;
&lt;P&gt;i would like to create chart that contain two different x axis and one y axis using xyseries command &lt;BR /&gt;but i couldn't locate the correct syntax the guide say that correct synatx as below but it's not working for me &lt;BR /&gt;xyseries x-fieldname y-name-field y-data-field &lt;BR /&gt;ex: xyseries x-host x-ipaddress y-name-sourcetype y-data-value&lt;/P&gt;
&lt;P&gt;any help please! &lt;BR /&gt;thanks in adavnce&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jul 2022 13:46:13 GMT</pubDate>
    <dc:creator>Ahmedkhalil</dc:creator>
    <dc:date>2022-07-14T13:46:13Z</dc:date>
    <item>
      <title>How to create aa chart using xyseries command syntax?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-aa-chart-using-xyseries-command-syntax/m-p/237176#M188602</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;
&lt;P&gt;i would like to create chart that contain two different x axis and one y axis using xyseries command &lt;BR /&gt;but i couldn't locate the correct syntax the guide say that correct synatx as below but it's not working for me &lt;BR /&gt;xyseries x-fieldname y-name-field y-data-field &lt;BR /&gt;ex: xyseries x-host x-ipaddress y-name-sourcetype y-data-value&lt;/P&gt;
&lt;P&gt;any help please! &lt;BR /&gt;thanks in adavnce&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 13:46:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-aa-chart-using-xyseries-command-syntax/m-p/237176#M188602</guid>
      <dc:creator>Ahmedkhalil</dc:creator>
      <dc:date>2022-07-14T13:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: xyseries command syntax</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-aa-chart-using-xyseries-command-syntax/m-p/237177#M188603</link>
      <description>&lt;P&gt;It will be a 3 step process, (xyseries will give data with 2 columns x and y). &lt;/P&gt;

&lt;P&gt;Step 1) Concatenate your x-host and x-ipaddress into 1 field, say temp&lt;BR /&gt;
Step 2) Run your xyseries with temp y-name-sourcetype y-data-value.&lt;BR /&gt;
Step 3) Use Rex/eval-split to separate temp as x=host and x-ipaddress&lt;/P&gt;

&lt;P&gt;Sample:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal | stats count by sourcetype source component | eval temp=source."#".component | xyseries temp sourcetype count
| rex field=temp "(?&amp;lt;source&amp;gt;.*)#(?&amp;lt;component&amp;gt;.*)" | fields - temp
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Sep 2015 18:50:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-aa-chart-using-xyseries-command-syntax/m-p/237177#M188603</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-09-22T18:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: xyseries command syntax</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-aa-chart-using-xyseries-command-syntax/m-p/237178#M188604</link>
      <description>&lt;P&gt;many thanks for your answer &lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 08:18:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-aa-chart-using-xyseries-command-syntax/m-p/237178#M188604</guid>
      <dc:creator>Ahmedkhalil</dc:creator>
      <dc:date>2015-09-23T08:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: xyseries command syntax</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-aa-chart-using-xyseries-command-syntax/m-p/605584#M210592</link>
      <description>&lt;P&gt;Thanks for your solution - it helped.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 13:04:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-aa-chart-using-xyseries-command-syntax/m-p/605584#M210592</guid>
      <dc:creator>tarun_l</dc:creator>
      <dc:date>2022-07-14T13:04:32Z</dc:date>
    </item>
  </channel>
</rss>

