<?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 Data models: Does multikv require a root search object? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Data-models-Does-multikv-require-a-root-search-object/m-p/117794#M7439</link>
    <description>&lt;P&gt;Many of my sourcetypes are in CSV format: the first line has the column names, the other lines have the actual data, e.g.:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Name,ID
Peter,1
Paul,2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;One Splunk event is equivalent to a CSV file with many lines.&lt;/P&gt;

&lt;P&gt;I use the &lt;CODE&gt;multikv&lt;/CODE&gt; command to split the each multi-line event into individual events. With data models that apparently is only possible when using root searches - I cannot use pipes with constraints. &lt;STRONG&gt;Is that correct?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I am asking because the documentation stresses to use root events wherever possible.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Oct 2013 15:06:46 GMT</pubDate>
    <dc:creator>helge</dc:creator>
    <dc:date>2013-10-28T15:06:46Z</dc:date>
    <item>
      <title>Data models: Does multikv require a root search object?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Data-models-Does-multikv-require-a-root-search-object/m-p/117794#M7439</link>
      <description>&lt;P&gt;Many of my sourcetypes are in CSV format: the first line has the column names, the other lines have the actual data, e.g.:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Name,ID
Peter,1
Paul,2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;One Splunk event is equivalent to a CSV file with many lines.&lt;/P&gt;

&lt;P&gt;I use the &lt;CODE&gt;multikv&lt;/CODE&gt; command to split the each multi-line event into individual events. With data models that apparently is only possible when using root searches - I cannot use pipes with constraints. &lt;STRONG&gt;Is that correct?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I am asking because the documentation stresses to use root events wherever possible.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 15:06:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Data-models-Does-multikv-require-a-root-search-object/m-p/117794#M7439</guid>
      <dc:creator>helge</dc:creator>
      <dc:date>2013-10-28T15:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data models: Does multikv require a root search object?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Data-models-Does-multikv-require-a-root-search-object/m-p/117795#M7440</link>
      <description>&lt;P&gt;Correct - you cannot use pipes inside object constraints. If you &lt;EM&gt;need&lt;/EM&gt; the multikv command, then you need to use a search-based object. If you're not planning to accelerate your data model, you're probably fine just using the search-based object.  &lt;/P&gt;

&lt;P&gt;If not, you can use multikv.conf to set up your extractions to happen automatically.  If you do this, the fields will appear in search in the format you need, and you'll be able to build a data model on top of them using event-based objects.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 19:04:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Data-models-Does-multikv-require-a-root-search-object/m-p/117795#M7440</guid>
      <dc:creator>aneels_splunk</dc:creator>
      <dc:date>2013-10-28T19:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data models: Does multikv require a root search object?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Data-models-Does-multikv-require-a-root-search-object/m-p/117796#M7441</link>
      <description>&lt;P&gt;Hi, I've set up my multikv.conf file and i'm able to actually call it using &lt;/P&gt;

&lt;P&gt;base search | multikv conf=mymultikvconf&lt;/P&gt;

&lt;P&gt;Using the multikv command, I can see all the fields listed in my field picker.&lt;/P&gt;

&lt;P&gt;However, the fields don't seem to appear automatically if I just do the base search.  &lt;/P&gt;

&lt;P&gt;My multikv.conf file lives within the local folder of my app.  &lt;/P&gt;

&lt;P&gt;I used the documentation listed here : -&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.5/Admin/Multikvconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.5/Admin/Multikvconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Is there something I've missed?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 23:01:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Data-models-Does-multikv-require-a-root-search-object/m-p/117796#M7441</guid>
      <dc:creator>stephenho</dc:creator>
      <dc:date>2014-09-04T23:01:36Z</dc:date>
    </item>
  </channel>
</rss>

