<?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: Renaming Rex field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629675#M218760</link>
    <description>&lt;P&gt;Thanks ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It worked&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2023 07:18:50 GMT</pubDate>
    <dc:creator>sid_1435</dc:creator>
    <dc:date>2023-02-06T07:18:50Z</dc:date>
    <item>
      <title>How do I rename a Rex field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629494#M218678</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to rename to&amp;nbsp;&lt;STRONG&gt;Required Parameters Longitude and Latitude are missing or invalid&amp;nbsp;&lt;/STRONG&gt;to a new value&amp;nbsp;&lt;STRONG&gt;Required Parameters missing&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;index="****" k8s.namespace.name="*****" "Error" OR "Exception" | rex field=_raw "(?&amp;lt;error_msg&amp;gt;Required Parameters Longitude and Latitude are missing or invalid)" | stats count by error_msg | sort count desc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help will be great&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 16:05:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629494#M218678</guid>
      <dc:creator>sid_1435</dc:creator>
      <dc:date>2023-02-03T16:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629495#M218679</link>
      <description>&lt;P&gt;Use | rex with SED mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval error_msg = "Required Parameters Longitude and Latitude are missing or invalid"
| rex field=error_msg mode=sed "s/(Required Parameters) .* (missing) .*/\1 \2/g"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 12:58:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629495#M218679</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2023-02-03T12:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629496#M218680</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval error_msg=if(match(_raw, "Required Parameters Longitude and Latitude are missing or invalid"),"Required Parameters missing", error_msg)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 03 Feb 2023 12:55:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629496#M218680</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-02-03T12:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629499#M218682</link>
      <description>&lt;P&gt;Hi Again,&lt;/P&gt;&lt;P&gt;I have the drilldown on the field&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Required Parameters Longitude and Latitude are missing or invalid&lt;/PRE&gt;&lt;P&gt;But since we have renamed&amp;nbsp; it to&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Required Parameters missing&lt;/PRE&gt;&lt;P&gt;it is sending&amp;nbsp; renamed value as parameter , rather i want the original value as parameter&lt;/P&gt;&lt;P&gt;Can you please suggest how to do that&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 13:29:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629499#M218682</guid>
      <dc:creator>sid_1435</dc:creator>
      <dc:date>2023-02-03T13:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629510#M218684</link>
      <description>&lt;P&gt;Add a condition to the drilldown so that if the value is "Required Parameters missing" change it to "Required Parameters Longitude and Latitude are missing or invalid" in the drilldown action&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 14:26:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629510#M218684</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-02-03T14:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Rex field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629675#M218760</link>
      <description>&lt;P&gt;Thanks ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It worked&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 07:18:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-rename-a-Rex-field/m-p/629675#M218760</guid>
      <dc:creator>sid_1435</dc:creator>
      <dc:date>2023-02-06T07:18:50Z</dc:date>
    </item>
  </channel>
</rss>

