<?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: click data point in chart when lines overlap in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/click-data-point-in-chart-when-lines-overlap/m-p/482061#M135065</link>
    <description>&lt;P&gt;That definitly helps but does not fix the issue if they exactly overlap. Which is common when using timespan for low numbers of events.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jan 2020 21:47:26 GMT</pubDate>
    <dc:creator>swazimodo</dc:creator>
    <dc:date>2020-01-10T21:47:26Z</dc:date>
    <item>
      <title>click data point in chart when lines overlap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/click-data-point-in-chart-when-lines-overlap/m-p/482059#M135063</link>
      <description>&lt;P&gt;I have a chart in a dashboard with multiple lines showing different error types over time. The lines often overlap and if you want to click on a data point you do not have a way to chose which line it is selecting. Clicking on the legend does a search for that entire date range. It would be nice if this just brought that line to the top so you could click a single spot.&lt;/P&gt;

&lt;P&gt;Is there anyway to make this work a little easier? I do not want to unstack these into separate charts as then I'll not be able to have a complete summary on one screen.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 19:57:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/click-data-point-in-chart-when-lines-overlap/m-p/482059#M135063</guid>
      <dc:creator>swazimodo</dc:creator>
      <dc:date>2020-01-10T19:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: click data point in chart when lines overlap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/click-data-point-in-chart-when-lines-overlap/m-p/482060#M135064</link>
      <description>&lt;P&gt;Click and drag on the chart to zoom in on an area, It does not generate a new search. It becomes easier to click on the exact spot on the line you need.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 20:52:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/click-data-point-in-chart-when-lines-overlap/m-p/482060#M135064</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2020-01-10T20:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: click data point in chart when lines overlap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/click-data-point-in-chart-when-lines-overlap/m-p/482061#M135065</link>
      <description>&lt;P&gt;That definitly helps but does not fix the issue if they exactly overlap. Which is common when using timespan for low numbers of events.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 21:47:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/click-data-point-in-chart-when-lines-overlap/m-p/482061#M135065</guid>
      <dc:creator>swazimodo</dc:creator>
      <dc:date>2020-01-10T21:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: click data point in chart when lines overlap</title>
      <link>https://community.splunk.com/t5/Splunk-Search/click-data-point-in-chart-when-lines-overlap/m-p/482062#M135066</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;chart test&amp;lt;/label&amp;gt;
  &amp;lt;search id="chart_base"&amp;gt;
    &amp;lt;query&amp;gt;| makeresults count=2
| streamstats count
| eval _time=if(count=2,relative_time(_time,"-2d@d"),relative_time(_time,"-1d@d"))
| makecontinuous span=10s _time
| eval error_type="error_".(random() % 9 + 1)
| streamstats count
| eval count = count % 2
| where count=1
| eventstats first(_time) as start last(_time) as end
&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
    &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;&amp;lt;/fieldset&amp;gt;
   &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html depends="$alwaysHideCSSStyle$"&amp;gt;
         &amp;lt;style&amp;gt;
           #resized_ms div[data-component="splunk-core:/splunkjs/mvc/components/MultiDropdown"],
              width: 400px !important;
              margin-right: auto !important;
           }
         &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;input type="multiselect" token="error" id="resized_ms"&amp;gt;
        &amp;lt;label&amp;gt;error_type&amp;lt;/label&amp;gt;
        &amp;lt;fieldForLabel&amp;gt;error_type&amp;lt;/fieldForLabel&amp;gt;
        &amp;lt;fieldForValue&amp;gt;error_type&amp;lt;/fieldForValue&amp;gt;
        &amp;lt;search base="chart_base"&amp;gt;
          &amp;lt;query&amp;gt;| stats count by error_type
| table error_type&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;default&amp;gt;error_1,error_2,error_3,error_4,error_6,error_5,error_8,error_7,error_9&amp;lt;/default&amp;gt;
        &amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
        &amp;lt;valuePrefix&amp;gt;error_type=&amp;lt;/valuePrefix&amp;gt;
        &amp;lt;suffix&amp;gt; _time &amp;gt;= $selection_earliest$  _time &amp;lt;= $selection_latest$&amp;lt;/suffix&amp;gt;
      &amp;lt;/input&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search base="chart_base"&amp;gt;
          &amp;lt;query&amp;gt;
            |search $error$ 
| timechart span=1h count by error_type
&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;selection&amp;gt;
          &amp;lt;set token="selection_earliest"&amp;gt;$start$&amp;lt;/set&amp;gt;
          &amp;lt;set token="selection_latest"&amp;gt;$end$&amp;lt;/set&amp;gt;
        &amp;lt;/selection&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.mode"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.placement"&amp;gt;top&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.lineWidth"&amp;gt;2&amp;lt;/option&amp;gt;
        &amp;lt;option name="height"&amp;gt;400&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried making it, but maybe you need a reset function.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 01:59:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/click-data-point-in-chart-when-lines-overlap/m-p/482062#M135066</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-01-13T01:59:28Z</dc:date>
    </item>
  </channel>
</rss>

