<?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: How to display two result count in value visualization in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-two-result-count-in-value-visualization/m-p/641658#M222270</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253374"&gt;@Roberto-P&lt;/a&gt;, I think changing the range from 2 days ago to now, combined with "by _time span=1d" would be enough to get your results in a single search. The addition of the grouped _time field would ensure the visualization can compare it's value to the previous value:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats dc(host) as hosts, where index=*01* by _time span=1d&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under format visualization (the brush), you should set the following settings to remove the sparkline and display the percentage:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rut_0-1682621662256.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25127i0A27A7658843CEBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rut_0-1682621662256.png" alt="rut_0-1682621662256.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2023 19:06:21 GMT</pubDate>
    <dc:creator>rut</dc:creator>
    <dc:date>2023-04-27T19:06:21Z</dc:date>
    <item>
      <title>How to display two result count in value visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-two-result-count-in-value-visualization/m-p/641640#M222264</link>
      <description>&lt;P&gt;Hi community,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the follow search that return two number for today and yesterday device count per index xyz but i'm not able to visualize both them as show below the "today" is missing&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertoP_0-1682616520338.png" style="width: 575px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25124iC9039982324F50B6/image-dimensions/575x209?v=v2" width="575" height="209" role="button" title="RobertoP_0-1682616520338.png" alt="RobertoP_0-1682616520338.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is the search:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| tstats dc(host) where index=*01* earliest=-1d@d latest=-0d@d | multikv | eval TimeWindow="yesterday"
| append 
    [tstats dc(host) where index=*01* earliest=-0d@d latest=now | multikv | eval TimeWindow="today"]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please help me to understand how to have a result like this indication today vs yesterday?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertoP_1-1682616712423.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25125i62EF392DED61C37C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobertoP_1-1682616712423.png" alt="RobertoP_1-1682616712423.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Roby&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 13:07:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-two-result-count-in-value-visualization/m-p/641640#M222264</guid>
      <dc:creator>Roberto-P</dc:creator>
      <dc:date>2023-04-28T13:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to display two result count in value visualization</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-two-result-count-in-value-visualization/m-p/641658#M222270</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253374"&gt;@Roberto-P&lt;/a&gt;, I think changing the range from 2 days ago to now, combined with "by _time span=1d" would be enough to get your results in a single search. The addition of the grouped _time field would ensure the visualization can compare it's value to the previous value:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats dc(host) as hosts, where index=*01* by _time span=1d&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under format visualization (the brush), you should set the following settings to remove the sparkline and display the percentage:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rut_0-1682621662256.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25127i0A27A7658843CEBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rut_0-1682621662256.png" alt="rut_0-1682621662256.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 19:06:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-two-result-count-in-value-visualization/m-p/641658#M222270</guid>
      <dc:creator>rut</dc:creator>
      <dc:date>2023-04-27T19:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to display two result count in value visualization</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-two-result-count-in-value-visualization/m-p/641666#M222276</link>
      <description>&lt;P&gt;The SingleValue visualization displays one value.&amp;nbsp; If the results are from the &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt; command then the SV also can show a sparkline of previous values and the difference between the current value and the previous one.&amp;nbsp; There is no provision for displaying 2 values.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 19:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-two-result-count-in-value-visualization/m-p/641666#M222276</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-04-27T19:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to display two result count in value visualization</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-two-result-count-in-value-visualization/m-p/641747#M222304</link>
      <description>&lt;P&gt;Thanks a lot Rut for the new search that solved my problem. it works great !&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 11:34:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-two-result-count-in-value-visualization/m-p/641747#M222304</guid>
      <dc:creator>Roberto-P</dc:creator>
      <dc:date>2023-04-28T11:34:37Z</dc:date>
    </item>
  </channel>
</rss>

