<?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: Single Value Visualization in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Single-Value-Visualization/m-p/673390#M230577</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263639"&gt;@AC1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Index="xx" label="xx" id=* 
| stats dc(id) AS id_count&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jan 2024 17:26:57 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-01-05T17:26:57Z</dc:date>
    <item>
      <title>Single Value Visualization</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-Value-Visualization/m-p/673382#M230572</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to use the Single Value Visualization in a dashboard to keep an all time running count of my field "id".&lt;/P&gt;&lt;P&gt;The issue I'm running into is I have duplicate logs for "id" that are giving me an incorrect number. When I am running a search with the SPL below and dedup I get the correct number of events. But when I try to convert that into the Visualization I am having issues. Any help is appreciated, thanks!&lt;/P&gt;&lt;P&gt;Index="xx" label="xx" id=* | dedup id&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 16:23:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-Value-Visualization/m-p/673382#M230572</guid>
      <dc:creator>AC1</dc:creator>
      <dc:date>2024-01-05T16:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Single Value Visualization</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-Value-Visualization/m-p/673386#M230575</link>
      <description>&lt;P&gt;Visualization only shows the value you give it so you need to search for the proper value.&lt;/P&gt;&lt;P&gt;As you have multiple values of the id field, it's no wonder that you'll get bad results if you expect just one value. So it's up to you to redefine the problem. If you want to somehow decide to return just one of those ids, you have to make that choice.&lt;/P&gt;&lt;P&gt;BTW "dedup id" will still return multiple values if you have multiple ids. So please define your desired result more precisely.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 17:12:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-Value-Visualization/m-p/673386#M230575</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-01-05T17:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Single Value Visualization</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-Value-Visualization/m-p/673390#M230577</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263639"&gt;@AC1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Index="xx" label="xx" id=* 
| stats dc(id) AS id_count&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 17:26:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-Value-Visualization/m-p/673390#M230577</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-01-05T17:26:57Z</dc:date>
    </item>
  </channel>
</rss>

