<?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: Extracting data from the search result model in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Extracting-data-from-the-search-result-model/m-p/672193#M55032</link>
    <description>&lt;P&gt;I have the same issue.. Is there a way? I tried writing into submitted token model inside "on" call but cannot "get" the token on the higher level. On the console I can see that it was indeed writen into the token though.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Dec 2023 14:50:04 GMT</pubDate>
    <dc:creator>duesser</dc:creator>
    <dc:date>2023-12-18T14:50:04Z</dc:date>
    <item>
      <title>Extracting data from the search result model</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Extracting-data-from-the-search-result-model/m-p/481198#M31548</link>
      <description>&lt;P&gt;Is it possible to extract data from the search result model in some fashion? &lt;BR /&gt;
Referencing this question :&lt;A href="https://answers.splunk.com/answers/293431/how-to-get-data-from-search-manager.html"&gt;https://answers.splunk.com/answers/293431/how-to-get-data-from-search-manager.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If i have a search manager and extract data from it using the search results model:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;     var myResults = search.data("results"); // get the data from that search
     myResults.on("data", function() {
         resultArray = myResults.data().rows;
         // do stuff with the results
     });
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;is there away to extract out resultArray so i can perform operations on it outside of myResults.on(...)?&lt;BR /&gt;
Or, is there another method to approaching the matter of getting data in an array format where i don't have to jump through Backbone? &lt;/P&gt;

&lt;P&gt;Thanks in advance. &lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 06:24:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Extracting-data-from-the-search-result-model/m-p/481198#M31548</guid>
      <dc:creator>mikdman</dc:creator>
      <dc:date>2019-09-16T06:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting data from the search result model</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Extracting-data-from-the-search-result-model/m-p/672193#M55032</link>
      <description>&lt;P&gt;I have the same issue.. Is there a way? I tried writing into submitted token model inside "on" call but cannot "get" the token on the higher level. On the console I can see that it was indeed writen into the token though.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 14:50:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Extracting-data-from-the-search-result-model/m-p/672193#M55032</guid>
      <dc:creator>duesser</dc:creator>
      <dc:date>2023-12-18T14:50:04Z</dc:date>
    </item>
  </channel>
</rss>

