<?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 get data from two or more data models in Splunk through a search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260701#M78225</link>
    <description>&lt;P&gt;datamodel does not take advantage of datamodel accelerations&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2019 02:24:17 GMT</pubDate>
    <dc:creator>landen99</dc:creator>
    <dc:date>2019-12-05T02:24:17Z</dc:date>
    <item>
      <title>How to get data from two or more data models in Splunk through a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260693#M78217</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Can anyone tell how I can get data from two or more data models in Splunk through a Splunk search?&lt;BR /&gt;
Like I want to merge Vulnerabilities.signature, Malware.signature, and Intrusion_Detection.signature all in one column i.e. getting data from 3 different data models.&lt;/P&gt;

&lt;P&gt;I tried using multisearch, pivots, and join, but nothing seems to work. I am trying to get a D3 partition layout on my dashboard and for that I need to have all sorts of signature values from different data models (Vulnerabilities, Malware, Intrusion_Detection) in just one column to plot that chart. &lt;/P&gt;

&lt;P&gt;Please tell me how I can get that.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 11:19:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260693#M78217</guid>
      <dc:creator>gitanjali</dc:creator>
      <dc:date>2016-02-02T11:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get data from two or more data models in Splunk through a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260694#M78218</link>
      <description>&lt;P&gt;You can fetch data from multiple data models like this (below will append the resultset of one data model with other, like append)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| multisearch [| datamodel internal_audit_logs Audit search  ] [| datamodel internal_server scheduler search ] | rest of the search
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Feb 2016 23:44:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260694#M78218</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-02-02T23:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get data from two or more data models in Splunk through a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260695#M78219</link>
      <description>&lt;P&gt;Thanks, the query worked well.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 08:24:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260695#M78219</guid>
      <dc:creator>gitanjali</dc:creator>
      <dc:date>2016-02-10T08:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get data from two or more data models in Splunk through a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260696#M78220</link>
      <description>&lt;P&gt;So to get the combined results from various datamodels, I used   search command. But for this command to work, you need to keep the names of the resulting fields for all the  subsearches to be same.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Syntax&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;serach&amp;gt; | append [&amp;lt;subsearch&amp;gt;]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;eg :-&lt;/STRONG&gt;  Here I appended data from 3 datamodels and have renamed the resulting field  for all subsearches as &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats summariesonly=true count from datamodel=Vulnerabilities by Vulnerabilities.dest|rename Vulnerabilities.dest as dest | append [| tstats summariesonly=true count from datamodel=Malware by Malware_Attacks.dest|rename Malware_Attacks.dest as dest] | append [| tstats summariesonly=true count from datamodel=Intrusion_Detection by IDS_Attacks.dest|rename IDS_Attacks.dest as dest]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Feb 2016 08:37:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260696#M78220</guid>
      <dc:creator>gitanjali</dc:creator>
      <dc:date>2016-02-10T08:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get data from two or more data models in Splunk through a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260697#M78221</link>
      <description>&lt;P&gt;You can just do this as well&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats summariesonly=true count from datamodel=Vulnerabilities by Vulnerabilities.dest | append [| tstats summariesonly=true count from datamodel=Malware by Malware_Attacks.dest] | append [| tstats summariesonly=true count from datamodel=Intrusion_Detection by IDS_Attacks.dest ] | eval desk=coalesce('Vulnerabilities.dest', 'Malware_Attacks.dest','IDS_Attacks.dest') | fields - *.dest
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Feb 2016 16:02:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260697#M78221</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-02-10T16:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get data from two or more data models in Splunk through a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260698#M78222</link>
      <description>&lt;P&gt;yeah, it did the job as well. &lt;BR /&gt;
Thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 17:40:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260698#M78222</guid>
      <dc:creator>gitanjali</dc:creator>
      <dc:date>2016-02-10T17:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get data from two or more data models in Splunk through a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260699#M78223</link>
      <description>&lt;P&gt;does multisearch have limit on the number of records it can combine? i.e 50k like append/subsearch&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 00:59:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260699#M78223</guid>
      <dc:creator>cabauah</dc:creator>
      <dc:date>2019-03-28T00:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get data from two or more data models in Splunk through a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260700#M78224</link>
      <description>&lt;P&gt;subsearch limitations&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 02:23:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260700#M78224</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2019-12-05T02:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get data from two or more data models in Splunk through a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260701#M78225</link>
      <description>&lt;P&gt;datamodel does not take advantage of datamodel accelerations&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 02:24:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260701#M78225</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2019-12-05T02:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get data from two or more data models in Splunk through a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260702#M78226</link>
      <description>&lt;P&gt;no limit.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 02:24:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-data-from-two-or-more-data-models-in-Splunk-through-a/m-p/260702#M78226</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2019-12-05T02:24:50Z</dc:date>
    </item>
  </channel>
</rss>

