<?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 What is better, MV search time extraction or split? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386076#M112703</link>
    <description>&lt;P&gt;My data in Splunk looks like so: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;     geo {
     id: 0
     internal_name: "TEST"
     type: LIST
    zip: 1   zip: 2        zip: 3            zip:4 zip: 5 zip: 6 zip: 7 zip: 9 ... etc
     description: "TEST"
     }
     geo {
      id: 1
     internal_name: "TEST"
      type: LIST
     zip: 1   zip: 2        zip: 3            zip:4 zip: 5 zip: 6 zip: 7 zip: 9 ... etc
      description: "TEST"
     }
     geo {
     id: 2
     internal_name: "TEST"
     type: LIST
      zip: 1   zip: 2        zip: 3            zip:4 zip: 5 zip: 6 zip: 7 zip: 9 ... etc
     description: "TEST"
     }
     geo {
     id: 3
     internal_name: "TEST"
     type: LIST
     zip: 1   zip: 2        zip: 3            zip:4 zip: 5 zip: 6 zip: 7 zip: 8
     description: "TEST"
     }
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to get the zip numbers all into their own field called zip — if I do it via regex, it only takes the FIRST value not all the others per event. Reading some of the docs, it seems like I need to do something with MV_ADD in my props or transform config files, but I can't find anything that clearly states what I'm suppose to do.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Feb 2019 16:43:43 GMT</pubDate>
    <dc:creator>tb5821</dc:creator>
    <dc:date>2019-02-12T16:43:43Z</dc:date>
    <item>
      <title>What is better, MV search time extraction or split?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386076#M112703</link>
      <description>&lt;P&gt;My data in Splunk looks like so: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;     geo {
     id: 0
     internal_name: "TEST"
     type: LIST
    zip: 1   zip: 2        zip: 3            zip:4 zip: 5 zip: 6 zip: 7 zip: 9 ... etc
     description: "TEST"
     }
     geo {
      id: 1
     internal_name: "TEST"
      type: LIST
     zip: 1   zip: 2        zip: 3            zip:4 zip: 5 zip: 6 zip: 7 zip: 9 ... etc
      description: "TEST"
     }
     geo {
     id: 2
     internal_name: "TEST"
     type: LIST
      zip: 1   zip: 2        zip: 3            zip:4 zip: 5 zip: 6 zip: 7 zip: 9 ... etc
     description: "TEST"
     }
     geo {
     id: 3
     internal_name: "TEST"
     type: LIST
     zip: 1   zip: 2        zip: 3            zip:4 zip: 5 zip: 6 zip: 7 zip: 8
     description: "TEST"
     }
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to get the zip numbers all into their own field called zip — if I do it via regex, it only takes the FIRST value not all the others per event. Reading some of the docs, it seems like I need to do something with MV_ADD in my props or transform config files, but I can't find anything that clearly states what I'm suppose to do.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 16:43:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386076#M112703</guid>
      <dc:creator>tb5821</dc:creator>
      <dc:date>2019-02-12T16:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: What is better, MV search time extraction or split?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386077#M112704</link>
      <description>&lt;P&gt;looks like this might be something along the lines of what I need to do which says I might only need props.conf&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;The EXTRACT field extraction type is considered to be "inline," which means&lt;BR /&gt;
that it does not reference a field transform. It contains the regular&lt;BR /&gt;
expression that Splunk software uses to extract fields at search time. You &lt;BR /&gt;
can use EXTRACT to define a field extraction entirely within props.conf, no&lt;BR /&gt;
transforms.conf component is required.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 12 Feb 2019 16:47:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386077#M112704</guid>
      <dc:creator>tb5821</dc:creator>
      <dc:date>2019-02-12T16:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: What is better, MV search time extraction or split?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386078#M112705</link>
      <description>&lt;P&gt;Just add &lt;CODE&gt;MV_ADD = true&lt;/CODE&gt; to the same stanza where you have your &lt;CODE&gt;REGEX =&lt;/CODE&gt; line.  If it is attached to a &lt;CODE&gt;TRANSFORMS-&lt;/CODE&gt;based line in props.conf on your Indexers, then you are too late, because that happens at index time.  Bit if it is attached to a &lt;CODE&gt;REPORT-&lt;/CODE&gt;based line on your Search Head, then just give it some time to refresh and it will work.  Make sure that your &lt;CODE&gt;RegEx&lt;/CODE&gt; is properly un-anchored (test in RegEx101 to see if it captures all values).&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 16:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386078#M112705</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-02-12T16:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: What is better, MV search time extraction or split?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386079#M112706</link>
      <description>&lt;P&gt;further reading now it sounds like report in props is ideal which requires something in transform conf &lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 16:49:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386079#M112706</guid>
      <dc:creator>tb5821</dc:creator>
      <dc:date>2019-02-12T16:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: What is better, MV search time extraction or split?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386080#M112707</link>
      <description>&lt;P&gt;lol thats all too complicated - I need specifics man!&lt;BR /&gt;
this is my current props conf - &lt;BR /&gt;
    [test]&lt;BR /&gt;
    DATETIME_CONFIG = CURRENT&lt;BR /&gt;
    MAX_TIMESTAMP_LOOKAHEAD = &lt;BR /&gt;
    NO_BINARY_CHECK = true&lt;BR /&gt;
    SHOULD_LINEMERGE = false&lt;BR /&gt;
    TIME_FORMAT = &lt;BR /&gt;
    TIME_PREFIX = &lt;BR /&gt;
    TRUNCATE = 200000&lt;BR /&gt;
    category = Custom&lt;BR /&gt;
    pulldown_type = true&lt;BR /&gt;
    BREAK_ONLY_BEFORE_DATE = &lt;BR /&gt;
    LINE_BREAKER = ([\r\n]+)\s*geo\s{&lt;BR /&gt;
    disabled = false&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:15:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386080#M112707</guid>
      <dc:creator>tb5821</dc:creator>
      <dc:date>2020-09-29T23:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: What is better, MV search time extraction or split?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386081#M112708</link>
      <description>&lt;P&gt;First of all, if you can get your developers to output proper JSON, then you can just add &lt;CODE&gt;KV_MODE = json&lt;/CODE&gt; and you are done.  Short of that, you need a &lt;CODE&gt;REPORT-test_extractions = test_mv_zip&lt;/CODE&gt; in there, too and then in transforms.conf, something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[test_mv_zip]
REGEX = [\r\n\s]+zip:\s+(?&amp;lt;zip&amp;gt;\d+)
MV_ADD = true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Feb 2019 16:59:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386081#M112708</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-02-12T16:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: What is better, MV search time extraction or split?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386082#M112709</link>
      <description>&lt;P&gt;Thanks looks like that works but some of the MV fields are huge and its really slowing down the search - thus is it better to do this at indexing time? and if so whats that proper setup?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 17:15:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386082#M112709</guid>
      <dc:creator>tb5821</dc:creator>
      <dc:date>2019-02-12T17:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: What is better, MV search time extraction or split?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386083#M112710</link>
      <description>&lt;P&gt;Do everything at Search Time that you can because Indexer horsepower is almost always your most limited resource and anything done at index time takes up more disk space (another limited resource).&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 17:37:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386083#M112710</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-02-12T17:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: What is better, MV search time extraction or split?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386084#M112711</link>
      <description>&lt;P&gt;Like I said earlier.  Make your developer output valid &lt;CODE&gt;JSON&lt;/CODE&gt; or &lt;CODE&gt;XML&lt;/CODE&gt; and then you can use &lt;CODE&gt;KV_MODE&lt;/CODE&gt; and/or &lt;CODE&gt;spath&lt;/CODE&gt; / &lt;CODE&gt;xpath&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 17:38:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-better-MV-search-time-extraction-or-split/m-p/386084#M112711</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-02-12T17:38:23Z</dc:date>
    </item>
  </channel>
</rss>

