<?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 read a fourth value from scatter plot? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-read-a-fourth-value-from-scatter-plot/m-p/669063#M54752</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I have a problem,&lt;BR /&gt;how do I get a fourth value from a table and scatterplot to use the value in a token?&lt;/P&gt;&lt;P&gt;We have a table with 4 columns and a scatterplot chart for display.&lt;/P&gt;&lt;P&gt;article, value, calculate category and PartnerId&lt;/P&gt;&lt;P&gt;Unfortunately, the PartnerId is not displayed in the scatterplot chart.&lt;BR /&gt;Can I somehow read out the fourth value to display further details on a PartnerID in a dashboard?&lt;/P&gt;</description>
    <pubDate>Sat, 18 Nov 2023 01:04:45 GMT</pubDate>
    <dc:creator>Oti47</dc:creator>
    <dc:date>2023-11-18T01:04:45Z</dc:date>
    <item>
      <title>How to read a fourth value from scatter plot?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-read-a-fourth-value-from-scatter-plot/m-p/669063#M54752</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I have a problem,&lt;BR /&gt;how do I get a fourth value from a table and scatterplot to use the value in a token?&lt;/P&gt;&lt;P&gt;We have a table with 4 columns and a scatterplot chart for display.&lt;/P&gt;&lt;P&gt;article, value, calculate category and PartnerId&lt;/P&gt;&lt;P&gt;Unfortunately, the PartnerId is not displayed in the scatterplot chart.&lt;BR /&gt;Can I somehow read out the fourth value to display further details on a PartnerID in a dashboard?&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 01:04:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-read-a-fourth-value-from-scatter-plot/m-p/669063#M54752</guid>
      <dc:creator>Oti47</dc:creator>
      <dc:date>2023-11-18T01:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a fourth value from scatter plot?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-read-a-fourth-value-from-scatter-plot/m-p/669065#M54753</link>
      <description>&lt;P&gt;Scatter plots are two-dimensional so they take 3 arguments: value, x-axis, and y-axis.&amp;nbsp; A fourth argument would call for a three-dimensional chart and that calls for an add-on like &lt;A href="https://splunkbase.splunk.com/app/3138" target="_blank"&gt;https://splunkbase.splunk.com/app/3138&lt;/A&gt;.&amp;nbsp; See &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.2/Viz/ScatterChart" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.2/Viz/ScatterChart&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 01:09:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-read-a-fourth-value-from-scatter-plot/m-p/669065#M54753</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-11-18T01:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a fourth value from scatter plot?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-read-a-fourth-value-from-scatter-plot/m-p/669082#M54755</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;two dimensions are enough.&lt;BR /&gt;I only need the PartnerID as a value at the measuring point to branch from the display to another detail dashboard.&lt;/P&gt;&lt;P&gt;Are there any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Michael&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 10:43:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-read-a-fourth-value-from-scatter-plot/m-p/669082#M54755</guid>
      <dc:creator>Oti47</dc:creator>
      <dc:date>2023-11-18T10:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a fourth value from scatter plot?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-read-a-fourth-value-from-scatter-plot/m-p/669085#M54756</link>
      <description>&lt;P&gt;For a 2-D plot, you'll have to somehow reduce the number of arguments to 3.&amp;nbsp; Perhaps you can concatenate two of the values (&lt;FONT face="courier new,courier"&gt;| eval foo=bar . baz&lt;/FONT&gt;) and graph the remaining three.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 13:01:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-read-a-fourth-value-from-scatter-plot/m-p/669085#M54756</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-11-18T13:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a fourth value from scatter plot?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-read-a-fourth-value-from-scatter-plot/m-p/669118#M54757</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/1011"&gt;@Oti47&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Edit: This answer applies to Simple XML dashboards. Dashboard Studio may be limited to a single category field, as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;noted.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Edit 2: Snap. The Dashboard Studio scatter visualization is limited to x, y, and category fields in that order.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The search fragment for the scatter chart visualization provides a hint:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| stats x_value_aggregation y_value_aggregation by name_category [comparison_category]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you're using a report, output from the inputlookup or table command, etc., make sure the fields are in name_category, comparison_category, x_value_aggregation, y_value-aggregation order by applying the stats command:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| stats values(category) as category values(value) as value by PartnerId article&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;where &lt;EM&gt;PartnerId &lt;/EM&gt;and &lt;EM&gt;article&lt;/EM&gt; are categorical values and &lt;EM&gt;category&lt;/EM&gt; and &lt;EM&gt;value&lt;/EM&gt; are numerical values. You can re-order the aggregation fields, category and value, and the split-by fields, PartnerId and article, as needed for your intended display:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| stats values(value) as value values(category ) as category by article PartnerId&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reformatting the output with the stats command adds the user interface field metadata (groupby_rank) used by the visualization to identify the name_category ("groupby_rank": 0) and comparison_category&amp;nbsp;("groupby_rank": 1) fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As a rule of thumb, the commands referenced in a visualization's search fragment will produce the desired result. Visualizations that reference chart, stats, timechart, xyseries, etc. most likely use internal metadata to format their output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can then use drilldown tokens associated with the data. See &amp;lt;&lt;A target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#Predefined_drilldown_tokens&amp;gt;&lt;/A&gt;. $click.value$ should represent the scatter chart&amp;nbsp;&lt;SPAN&gt;name_category value, and $click.value2$ should represent the scatter chart comparison_category value.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2023 17:13:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-read-a-fourth-value-from-scatter-plot/m-p/669118#M54757</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2023-11-19T17:13:48Z</dc:date>
    </item>
  </channel>
</rss>

