<?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 fix the &amp;quot;Please set up  valid data source to select&amp;quot; in dashboard studio? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/how-to-fix-the-quot-Please-set-up-valid-data-source-to-select/m-p/684548#M19159</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I was trying the below token logic to get the results count from two different panels and find the variance between results. However, it gives error message as in snapshot.&lt;/P&gt;
&lt;P&gt;Note: Panel A and Panel B i have enabled the set token ( basically tic marked "&lt;SPAN&gt;Use search results or job status as tokens"&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P&gt;Also, please suggest how to draw line not just horizontally but also vertically or custom?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SPL:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| makeresults
| eval variance=$A:result.count$ - $B:result.count$
| table variance&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="selvam_sekar_2-1713376874417.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30455i04583A7D12C5E061/image-size/medium?v=v2&amp;amp;px=400" role="button" title="selvam_sekar_2-1713376874417.png" alt="selvam_sekar_2-1713376874417.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="selvam_sekar_1-1713376836799.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30454iBB7DA394818ADFC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="selvam_sekar_1-1713376836799.png" alt="selvam_sekar_1-1713376836799.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Selvam.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2024 18:12:41 GMT</pubDate>
    <dc:creator>selvam_sekar</dc:creator>
    <dc:date>2024-04-17T18:12:41Z</dc:date>
    <item>
      <title>how to fix the "Please set up  valid data source to select" in dashboard studio?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/how-to-fix-the-quot-Please-set-up-valid-data-source-to-select/m-p/684548#M19159</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I was trying the below token logic to get the results count from two different panels and find the variance between results. However, it gives error message as in snapshot.&lt;/P&gt;
&lt;P&gt;Note: Panel A and Panel B i have enabled the set token ( basically tic marked "&lt;SPAN&gt;Use search results or job status as tokens"&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P&gt;Also, please suggest how to draw line not just horizontally but also vertically or custom?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SPL:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| makeresults
| eval variance=$A:result.count$ - $B:result.count$
| table variance&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="selvam_sekar_2-1713376874417.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30455i04583A7D12C5E061/image-size/medium?v=v2&amp;amp;px=400" role="button" title="selvam_sekar_2-1713376874417.png" alt="selvam_sekar_2-1713376874417.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="selvam_sekar_1-1713376836799.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30454iBB7DA394818ADFC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="selvam_sekar_1-1713376836799.png" alt="selvam_sekar_1-1713376836799.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Selvam.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 18:12:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/how-to-fix-the-quot-Please-set-up-valid-data-source-to-select/m-p/684548#M19159</guid>
      <dc:creator>selvam_sekar</dc:creator>
      <dc:date>2024-04-17T18:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to fix the "Please set up  valid data source to select" in dashboard studio?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/how-to-fix-the-quot-Please-set-up-valid-data-source-to-select/m-p/684668#M19168</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/260960"&gt;@selvam_sekar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you trying to achieve something similar?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="renjith_nair_0-1713451938825.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30471i2F79C03DCFD36917/image-size/medium?v=v2&amp;amp;px=400" role="button" title="renjith_nair_0-1713451938825.png" alt="renjith_nair_0-1713451938825.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is a run anywhere example . Number input is only to change the value in the A box for demonstration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "visualizations": {
        "viz_mP9NTc6l": {
            "type": "splunk.singlevalue",
            "options": {
                "trendColor": "#171d21",
                "backgroundColor": "#dc4e41"
            },
            "dataSources": {
                "primary": "ds_uCpsCnrn"
            }
        },
        "viz_5qfKAE2H": {
            "type": "splunk.singlevalue",
            "options": {
                "backgroundColor": "#b6c75a"
            },
            "dataSources": {
                "primary": "ds_s5yiPOpw_ds_uCpsCnrn"
            }
        },
        "viz_lwpeyQcS": {
            "type": "splunk.singlevalue",
            "options": {
                "backgroundColor": "#62b3b2"
            },
            "dataSources": {
                "primary": "ds_6iVMrVEi_ds_s5yiPOpw_ds_uCpsCnrn"
            }
        },
        "viz_P6dRCwGc": {
            "type": "abslayout.line"
        },
        "viz_jTW6Jy5J": {
            "type": "abslayout.line"
        }
    },
    "dataSources": {
        "ds_uCpsCnrn": {
            "type": "ds.search",
            "options": {
                "enableSmartSources": true,
                "query": "| makeresults count=$number$\n| stats count"
            },
            "name": "A"
        },
        "ds_s5yiPOpw_ds_uCpsCnrn": {
            "type": "ds.search",
            "options": {
                "enableSmartSources": true,
                "query": "| makeresults count=5\n| stats count"
            },
            "name": "B"
        },
        "ds_6iVMrVEi_ds_s5yiPOpw_ds_uCpsCnrn": {
            "type": "ds.search",
            "options": {
                "enableSmartSources": true,
                "query": "| makeresults\r\n| eval variance=$A:result.count$ - $B:result.count$\r\n| table variance"
            },
            "name": "Variant"
        }
    },
    "defaults": {
        "dataSources": {
            "ds.search": {
                "options": {
                    "queryParameters": {
                        "latest": "$global_time.latest$",
                        "earliest": "$global_time.earliest$"
                    }
                }
            }
        }
    },
    "inputs": {
        "input_global_trp": {
            "type": "input.timerange",
            "options": {
                "token": "global_time",
                "defaultValue": "-24h@h,now"
            },
            "title": "Global Time Range"
        },
        "input_vWVKiJlJ": {
            "options": {
                "defaultValue": 10,
                "token": "number"
            },
            "title": "Number Input Title",
            "type": "input.number"
        }
    },
    "layout": {
        "type": "absolute",
        "options": {
            "width": 1440,
            "height": 960,
            "display": "auto"
        },
        "structure": [
            {
                "item": "viz_mP9NTc6l",
                "type": "block",
                "position": {
                    "x": 410,
                    "y": 170,
                    "w": 150,
                    "h": 100
                }
            },
            {
                "item": "viz_5qfKAE2H",
                "type": "block",
                "position": {
                    "x": 680,
                    "y": 170,
                    "w": 150,
                    "h": 100
                }
            },
            {
                "item": "viz_lwpeyQcS",
                "type": "block",
                "position": {
                    "x": 520,
                    "y": 370,
                    "w": 150,
                    "h": 100
                }
            },
            {
                "item": "viz_P6dRCwGc",
                "type": "line",
                "position": {
                    "from": {
                        "x": 483,
                        "y": 274
                    },
                    "to": {
                        "item": "viz_lwpeyQcS",
                        "port": "n"
                    }
                }
            },
            {
                "item": "viz_jTW6Jy5J",
                "type": "line",
                "position": {
                    "from": {
                        "x": 756,
                        "y": 272
                    },
                    "to": {
                        "item": "viz_lwpeyQcS",
                        "port": "n"
                    }
                }
            }
        ],
        "globalInputs": [
            "input_global_trp",
            "input_vWVKiJlJ"
        ]
    },
    "description": "",
    "title": "Variance_Test"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 10:10:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/how-to-fix-the-quot-Please-set-up-valid-data-source-to-select/m-p/684668#M19168</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2024-04-19T10:10:33Z</dc:date>
    </item>
  </channel>
</rss>

