<?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 Alternatives to using MVExpand - running into limitations in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541523#M5051</link>
    <description>&lt;P&gt;I'm looking for another way to run the search below and expand the computer field. This search is pulling systems belonging to a specific group in AD and then cleaning up the name from the member_dn field.&amp;nbsp; It them puts it into a lookup table to use in ES.&lt;BR /&gt;Mvexpand is running into limitations with memory and I cannot adjust it high enough to extract all of the values.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;|ldapsearch domain=default search="(&amp;amp;(objectclass=group)(cn=Eng_Computers))" | table cn,distinguishedName | ldapgroup| table cn,member_dn,member_type&lt;BR /&gt;| rex field=member_dn "CN\=(?P&amp;lt;computer&amp;gt;[\w\-\_]+)(?=\,\w{2}\=)" |mvexpand computer |table computer | sort computer |outputlookup eng_systems.csv&lt;/P&gt;&lt;P&gt;Suggestions are appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2021 14:44:41 GMT</pubDate>
    <dc:creator>ch1221</dc:creator>
    <dc:date>2021-02-26T14:44:41Z</dc:date>
    <item>
      <title>Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541523#M5051</link>
      <description>&lt;P&gt;I'm looking for another way to run the search below and expand the computer field. This search is pulling systems belonging to a specific group in AD and then cleaning up the name from the member_dn field.&amp;nbsp; It them puts it into a lookup table to use in ES.&lt;BR /&gt;Mvexpand is running into limitations with memory and I cannot adjust it high enough to extract all of the values.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;|ldapsearch domain=default search="(&amp;amp;(objectclass=group)(cn=Eng_Computers))" | table cn,distinguishedName | ldapgroup| table cn,member_dn,member_type&lt;BR /&gt;| rex field=member_dn "CN\=(?P&amp;lt;computer&amp;gt;[\w\-\_]+)(?=\,\w{2}\=)" |mvexpand computer |table computer | sort computer |outputlookup eng_systems.csv&lt;/P&gt;&lt;P&gt;Suggestions are appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 14:44:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541523#M5051</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2021-02-26T14:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541531#M5053</link>
      <description>&lt;P&gt;Instead of&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=member_dn "CN\=(?P&amp;lt;computer&amp;gt;[\w\-\_]+)(?=\,\w{2}\=)" |mvexpand computer&lt;/LI-CODE&gt;&lt;P&gt;try this (a bit tortuous admittedly)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| streamstats count as row
| eval steps=mvcount(member_dn)
| streamstats sum(steps) as toprow
| eval maxrow=toprow
| makecontinuous toprow
| reverse
| filldown
| eval toprow=if(row=1,1,toprow)
| makecontinuous toprow
| filldown
| eval member_dn=mvindex(member_dn,maxrow-toprow)
| fields - maxrow toprow row steps
| rex field=member_dn "CN\=(?P&amp;lt;computer&amp;gt;[\w\-\_]+)(?=\,\w{2}\=)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 15:17:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541531#M5053</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-02-26T15:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541533#M5054</link>
      <description>&lt;P&gt;unfortunately that only returns one system out of the group.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 15:24:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541533#M5054</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2021-02-26T15:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541534#M5055</link>
      <description>&lt;P&gt;OK try it the other around&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex max_match=0 field=member_dn "CN\=(?P&amp;lt;computer&amp;gt;[\w\-\_]+)(?=\,\w{2}\=)"
| streamstats count as row
| eval steps=mvcount(computer)
| streamstats sum(steps) as toprow
| eval maxrow=toprow
| makecontinuous toprow
| reverse
| filldown
| eval toprow=if(row=1,1,toprow)
| makecontinuous toprow
| filldown
| eval computer=mvindex(computer,maxrow-toprow)
| fields - maxrow toprow row steps&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 26 Feb 2021 15:27:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541534#M5055</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-02-26T15:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541535#M5056</link>
      <description>&lt;P&gt;Still only one system being returned &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 15:32:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541535#M5056</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2021-02-26T15:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541536#M5057</link>
      <description>&lt;P&gt;Can you share some data of the events you have after&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|ldapgroup| table cn,member_dn,member_type&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 26 Feb 2021 15:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541536#M5057</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-02-26T15:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541546#M5058</link>
      <description>&lt;P&gt;I removed the additional fields so it's just member_dn.&amp;nbsp; Here's a very small sample of the 9,000+&lt;/P&gt;&lt;P&gt;member_dn&lt;BR /&gt;CN=ORW-EG-M480,OU=Win7,OU=xxx Workstations,OU=xxx,OU=Amer,DC=xxx,DC=xxx,DC=com&lt;BR /&gt;CN=FRG-W10-SCH,OU=Win7,OU=xxx,OU=EMEA,DC=xxx,DC=xxx,DC=com&lt;BR /&gt;CN=FRS-MARV-L,OU=Win7,OU=xxx,OU=EMEA,DC=mgc,DC=xxx,DC=com&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 16:22:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541546#M5058</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2021-02-26T16:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541547#M5059</link>
      <description>&lt;P&gt;Is this a multi-value field? Do you get the correct count (in steps) if you do this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval steps=mvcount(member_dn)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 26 Feb 2021 16:25:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541547#M5059</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-02-26T16:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541549#M5060</link>
      <description>&lt;P&gt;Yes, steps returns 9056&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 16:31:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541549#M5060</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2021-02-26T16:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541550#M5061</link>
      <description>&lt;P&gt;So, does this generate enough copies of the events?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| streamstats count as row
| eval steps=mvcount(member_dn)
| streamstats sum(steps) as toprow
| eval maxrow=toprow
| makecontinuous toprow
| reverse
| filldown
| eval toprow=if(row=1,1,toprow)
| makecontinuous toprow
| filldown&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 26 Feb 2021 16:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541550#M5061</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-02-26T16:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541551#M5062</link>
      <description>&lt;P&gt;This still only provides the results as a list in 1 event instead of breaking them out.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 16:44:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541551#M5062</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2021-02-26T16:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541559#M5063</link>
      <description>&lt;P&gt;Do you only have 1 event? If so, that is probably the issue. The expansion works for multiple rows. Try this instead&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| streamstats count as row
| eval steps=mvcount(member_dn)
| streamstats sum(steps) as toprow
| eval maxrow=toprow
| reverse
| append [| makeresults | eval toprow=1 | fields - _time]
| reverse
| makecontinuous toprow
| reverse
| filldown
| sort toprow
| eval member_dn=mvindex(member_dn,maxrow-toprow)
| fields - maxrow toprow row steps
| rex field=member_dn "CN\=(?P&amp;lt;computer&amp;gt;[\w\-\_]+)(?=\,\w{2}\=)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 17:21:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541559#M5063</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-02-26T17:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541560#M5064</link>
      <description>&lt;P&gt;Yes, that works!!!! Thank you so much for your help!!!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 17:26:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/541560#M5064</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2021-02-26T17:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/561179#M6534</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And when you run into the limitation of 50000 on makecontinuous.!&lt;BR /&gt;Any alternatives to this issue?&lt;BR /&gt;I've the need of handling quite more than 50000 with a simulare function as&amp;nbsp;makecontinuous.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;//T&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 12:02:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/561179#M6534</guid>
      <dc:creator>drejoe</dc:creator>
      <dc:date>2021-07-28T12:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/561180#M6535</link>
      <description>&lt;P&gt;Try increasing the limit in limits.conf&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 12:06:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/561180#M6535</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-28T12:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/561183#M6536</link>
      <description>&lt;PRE&gt;max_mem_usage_mb under the default stanza or?&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Jul 2021 12:22:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/561183#M6536</guid>
      <dc:creator>drejoe</dc:creator>
      <dc:date>2021-07-28T12:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alternatives to using MVExpand - running into limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/561187#M6538</link>
      <description>&lt;P&gt;To be honest, I don't know. It could be any one or more of these (or something else).&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mw-headline"&gt;[searchresults]&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;* This stanza controls search results for a variety of Splunk search commands.

maxresultrows = &amp;lt;integer&amp;gt;
* Configures the maximum number of events are generated by search commands
  which grow the size of your result set (such as multikv) or that create
  events. Other search commands are explicitly controlled in specific stanzas
  below.
* This limit should not exceed 50000.
* Default: 50000&lt;/PRE&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mw-headline"&gt;Distributed search&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;# This section contains settings for distributed search connection
# information.

max_combiner_memevents = &amp;lt;integer&amp;gt;
* Maximum size of the in-memory buffer for the search results combiner.
  The &amp;lt;integer&amp;gt; is the number of events.
* Default: 50000&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;or this&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mw-headline"&gt;Results storage&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;# This section contains settings for storing final search results.

max_count = &amp;lt;integer&amp;gt;
* The number of events that can be accessible in any given status bucket
  (when status_buckets = 0).
* The last accessible event in a call that takes a base and count.
* NOTE: This value does not reflect the number of events displayed in the
  UI after the search is evaluated or computed.
* Default: 500000&lt;/PRE&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mw-headline"&gt;[anomalousvalue]&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;maxresultrows = &amp;lt;integer&amp;gt;
* Configures the maximum number of events that can be present in memory at one
  time.
* Default: The value set for 'maxresultrows' in the [searchresults] stanza,
  which is 50000 by default.
&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 12:43:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Alternatives-to-using-MVExpand-running-into-limitations/m-p/561187#M6538</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-28T12:43:44Z</dc:date>
    </item>
  </channel>
</rss>

