<?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 Rex has exceeded configured match_limit, consider raising the value in limits.conf. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Rex-has-exceeded-configured-match-limit-consider-raising-the/m-p/704678#M238724</link>
    <description>&lt;P&gt;Hi Splunkers, any help with&amp;nbsp;Rex has exceeded configured match_limit, consider raising the value in limits.conf.&lt;/P&gt;&lt;P&gt;My search looks like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| index=abc index=def process=jkl 
| rex field=_raw ";(?&amp;lt;h_db_host&amp;gt;\w+);(?&amp;lt;h_instance_name&amp;gt;\w+);\d+;\d+;(?&amp;lt;h_db_name&amp;gt;\w+);(?&amp;lt;user_computer_ip&amp;gt;\d{1,3}(?:\.\d{1,3}){3})?;(?&amp;lt;user_computer_name&amp;gt;[^;]*)?;[-\d]+;[-\d]+;(?&amp;lt;audit_policy_name&amp;gt;[^;]+);(?&amp;lt;audit_policy_severity&amp;gt;\w+);(?&amp;lt;user_activity&amp;gt;[^;]+);(SUCCESSFUL|UNSUCCESSFUL);(?&amp;lt;activity_details&amp;gt;[^;]+);(?&amp;lt;application_username&amp;gt;[^;]*)?;{5}(?&amp;lt;db_user_id&amp;gt;\w+)?;(?&amp;lt;user_application&amp;gt;[^;]+)?;(?&amp;lt;db_schema&amp;gt;\w+)?;" 
| rex field=user_activity "(?&amp;lt;user_activity_event&amp;gt;.+?)\;"
| fillnull value="null"
| search h_db_name IN("srp1", "brp1") audit_policy_severity="CRITICAL" db_user_id=SYSTEM
| table _time, env, host, h_db_host, h_instance_name, h_db_name, user_computer_ip user_computer_name audit_policy_name audit_policy_severity user_activity_event &lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;Any help will be appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 20:59:29 GMT</pubDate>
    <dc:creator>majilan1</dc:creator>
    <dc:date>2024-11-18T20:59:29Z</dc:date>
    <item>
      <title>Rex has exceeded configured match_limit, consider raising the value in limits.conf.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-has-exceeded-configured-match-limit-consider-raising-the/m-p/704678#M238724</link>
      <description>&lt;P&gt;Hi Splunkers, any help with&amp;nbsp;Rex has exceeded configured match_limit, consider raising the value in limits.conf.&lt;/P&gt;&lt;P&gt;My search looks like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| index=abc index=def process=jkl 
| rex field=_raw ";(?&amp;lt;h_db_host&amp;gt;\w+);(?&amp;lt;h_instance_name&amp;gt;\w+);\d+;\d+;(?&amp;lt;h_db_name&amp;gt;\w+);(?&amp;lt;user_computer_ip&amp;gt;\d{1,3}(?:\.\d{1,3}){3})?;(?&amp;lt;user_computer_name&amp;gt;[^;]*)?;[-\d]+;[-\d]+;(?&amp;lt;audit_policy_name&amp;gt;[^;]+);(?&amp;lt;audit_policy_severity&amp;gt;\w+);(?&amp;lt;user_activity&amp;gt;[^;]+);(SUCCESSFUL|UNSUCCESSFUL);(?&amp;lt;activity_details&amp;gt;[^;]+);(?&amp;lt;application_username&amp;gt;[^;]*)?;{5}(?&amp;lt;db_user_id&amp;gt;\w+)?;(?&amp;lt;user_application&amp;gt;[^;]+)?;(?&amp;lt;db_schema&amp;gt;\w+)?;" 
| rex field=user_activity "(?&amp;lt;user_activity_event&amp;gt;.+?)\;"
| fillnull value="null"
| search h_db_name IN("srp1", "brp1") audit_policy_severity="CRITICAL" db_user_id=SYSTEM
| table _time, env, host, h_db_host, h_instance_name, h_db_name, user_computer_ip user_computer_name audit_policy_name audit_policy_severity user_activity_event &lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;Any help will be appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 20:59:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-has-exceeded-configured-match-limit-consider-raising-the/m-p/704678#M238724</guid>
      <dc:creator>majilan1</dc:creator>
      <dc:date>2024-11-18T20:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rex has exceeded configured match_limit, consider raising the value in limits.conf.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-has-exceeded-configured-match-limit-consider-raising-the/m-p/704679#M238725</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246610"&gt;@majilan1&lt;/a&gt;&amp;nbsp;the rex timeout typically&amp;nbsp; happens with complex events/data, or lot of wild cards in your regex. Refer:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.1/Admin/Limitsconf#.5Brex.5D" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.1/Admin/Limitsconf#.5Brex.5D&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Try using that with&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;max_match&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;option.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex max_match=0 &lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If this Helps, Please Upvote&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 21:30:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-has-exceeded-configured-match-limit-consider-raising-the/m-p/704679#M238725</guid>
      <dc:creator>sainag_splunk</dc:creator>
      <dc:date>2024-11-18T21:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rex has exceeded configured match_limit, consider raising the value in limits.conf.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-has-exceeded-configured-match-limit-consider-raising-the/m-p/704682#M238728</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/187813"&gt;@sainag_splunk&lt;/a&gt;&amp;nbsp;says, use of unlimited wildcards (+, *) are usually the cause. &amp;nbsp;For others to help, you will need to post sample data that trigger these errors. &amp;nbsp;Usually the remedy is to analyze your data boundaries and find more restrictive regex.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 22:47:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-has-exceeded-configured-match-limit-consider-raising-the/m-p/704682#M238728</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2024-11-18T22:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rex has exceeded configured match_limit, consider raising the value in limits.conf.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-has-exceeded-configured-match-limit-consider-raising-the/m-p/704683#M238729</link>
      <description>&lt;P&gt;You could try using split to break up the field&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval fields=split(_raw, ";")
| eval h_db_host=mvindex(fields,1)
etc.&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 18 Nov 2024 22:48:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-has-exceeded-configured-match-limit-consider-raising-the/m-p/704683#M238729</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-11-18T22:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rex has exceeded configured match_limit, consider raising the value in limits.conf.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-has-exceeded-configured-match-limit-consider-raising-the/m-p/704686#M238730</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246610"&gt;@majilan1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;1) may i know if you understood the searchtime vs indextime&lt;/P&gt;&lt;P&gt;2) Indextime&amp;nbsp; - while indexing the data itself you can "catch" the required fields (this is called as index time) .&lt;/P&gt;&lt;P&gt;3) searchtime - if you didnt configure "indextime", then sometimes the fields may not be indexed(not catch'ed / caught when data onboarding). then we need to write the rex to catch the fields at search time. this is acceptable, but it if we use tooo many rex, splunk will struggle.&amp;nbsp;&lt;BR /&gt;4) searchtime is always preferred over indextime - (this is a debatable topic), but as far as i remember, the splunk docs suggest us to use the search time instead of indextime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;5) situation like yours... complex list of field extractions... can be prepared and planned thru indextime. so splunk will not ask you its own limitations &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks and best regards.&lt;/P&gt;&lt;P&gt;(PS - my karma stats - given 2000 and received 500. thanks for reading )&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 00:08:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-has-exceeded-configured-match-limit-consider-raising-the/m-p/704686#M238730</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2024-11-19T00:08:06Z</dc:date>
    </item>
  </channel>
</rss>

