<?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: In Dashboard Studio using count of results in a different section in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-Dashboard-Studio-using-count-of-results-in-a-different/m-p/698319#M57238</link>
    <description>&lt;P&gt;You can make the meta-data from the data source visible, then set up another search to use the meta-data tokens, such as resultCount for the search for the single value.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        "ds_tOBtSQ7e": {
            "type": "ds.search",
            "options": {
                "query": "index=_internal\n| stats count by sourcetype",
                "enableSmartSources": true,
                "queryParameters": {
                    "earliest": "-24h@h",
                    "latest": "now"
                }
            },
            "name": "Search_1"
        },
        "ds_aRrJ4C9T": {
            "type": "ds.search",
            "options": {
                "query": "| makeresults\n| fields - _time\n| eval count=$Search_1:job.resultCount$",
                "queryParameters": {
                    "earliest": "-24h@h",
                    "latest": "now"
                }
            },
            "name": "Search_3"
        }&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 05 Sep 2024 18:43:53 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-09-05T18:43:53Z</dc:date>
    <item>
      <title>In Dashboard Studio using count of results in a different section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-Dashboard-Studio-using-count-of-results-in-a-different/m-p/698312#M57237</link>
      <description>&lt;P&gt;I'm working with Dashboard Studio for the first time and I've got a question.&lt;/P&gt;&lt;P&gt;Originally I created a table search that returns data depending on what is in the $servers_entered$ field.&amp;nbsp; That works.&amp;nbsp; I have been asked to add two single value fields.&amp;nbsp; The first is showing the number of servers in the $servers_entered$ field and that works.&amp;nbsp; The second is showing the number of servers in the table search.&amp;nbsp; There should be a way of linking that information, but I can't figure out how.&amp;nbsp; I could run the search again, but that is rather inefficient.&lt;/P&gt;&lt;P&gt;How do you tie the search result count from a table search to a single value field?&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 17:05:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-Dashboard-Studio-using-count-of-results-in-a-different/m-p/698312#M57237</guid>
      <dc:creator>jwhughes58</dc:creator>
      <dc:date>2024-09-05T17:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: In Dashboard Studio using count of results in a different section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-Dashboard-Studio-using-count-of-results-in-a-different/m-p/698319#M57238</link>
      <description>&lt;P&gt;You can make the meta-data from the data source visible, then set up another search to use the meta-data tokens, such as resultCount for the search for the single value.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        "ds_tOBtSQ7e": {
            "type": "ds.search",
            "options": {
                "query": "index=_internal\n| stats count by sourcetype",
                "enableSmartSources": true,
                "queryParameters": {
                    "earliest": "-24h@h",
                    "latest": "now"
                }
            },
            "name": "Search_1"
        },
        "ds_aRrJ4C9T": {
            "type": "ds.search",
            "options": {
                "query": "| makeresults\n| fields - _time\n| eval count=$Search_1:job.resultCount$",
                "queryParameters": {
                    "earliest": "-24h@h",
                    "latest": "now"
                }
            },
            "name": "Search_3"
        }&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 05 Sep 2024 18:43:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-Dashboard-Studio-using-count-of-results-in-a-different/m-p/698319#M57238</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-09-05T18:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: In Dashboard Studio using count of results in a different section</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-Dashboard-Studio-using-count-of-results-in-a-different/m-p/698321#M57239</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt; .&amp;nbsp; That is the solution.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 18:52:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-Dashboard-Studio-using-count-of-results-in-a-different/m-p/698321#M57239</guid>
      <dc:creator>jwhughes58</dc:creator>
      <dc:date>2024-09-05T18:52:45Z</dc:date>
    </item>
  </channel>
</rss>

