<?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: Extracted Field to be case insensitive in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Extracted-Field-to-be-case-insensitive/m-p/87223#M22308</link>
    <description>&lt;P&gt;Try this andreac, working example just copy &amp;amp; paste code.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval temp="2013-04-02 04:22:38 199.xx.x.211 OPTIONS /CockpitNew - 4444 domain1\123456 102.220.13.119 ebDAV-MiniRedir/6.1.7600 200 0 64 143"."#"."2013-04-02 05:22:38 199.xx.x.211 OPTIONS /CockpitNew - 4444 DOMAIN1\123456 102.220.13.119 ebDAV-MiniRedir/6.1.7600 200 0 64 143"
| makemv delim="#" temp
| mvexpand temp
| rex field=temp max_match=0 "(?)-\s[\d]+\s(?&amp;lt;IMINSENSITIVE&amp;gt;[^\s]+)\s[\d\.]+\s"
| eval IMINSENSITIVE=lower(IMINSENSITIVE)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2017 16:37:21 GMT</pubDate>
    <dc:creator>alemarzu</dc:creator>
    <dc:date>2017-04-27T16:37:21Z</dc:date>
    <item>
      <title>Extracted Field to be case insensitive</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracted-Field-to-be-case-insensitive/m-p/87220#M22305</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
I have a &lt;BR /&gt;
Event 1 : 2013-04-02 04:22:38 199.xx.x.211 OPTIONS /CockpitNew - 4444 &lt;STRONG&gt;domain1&lt;/STRONG&gt;\123456 102.220.13.119 ebDAV-MiniRedir/6.1.7600 200 0 64 143&lt;BR /&gt;
Event 2 : 2013-04-02 05:22:38 199.xx.x.211 OPTIONS /CockpitNew - 4444 &lt;STRONG&gt;DOMAIN1&lt;/STRONG&gt;\123456 102.220.13.119 ebDAV-MiniRedir/6.1.7600 200 0 64 143&lt;BR /&gt;
When I extract the &lt;STRONG&gt;Domain&lt;/STRONG&gt; field: domain1 &amp;amp; DOMAIN1 come up separately. &lt;BR /&gt;
I want both of them to be under the DOMAIN1 value.&lt;BR /&gt;
How can I do it. The regular regex during field extraction doesn't let me.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2013 09:27:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracted-Field-to-be-case-insensitive/m-p/87220#M22305</guid>
      <dc:creator>harshjets</dc:creator>
      <dc:date>2013-04-08T09:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Extracted Field to be case insensitive</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracted-Field-to-be-case-insensitive/m-p/87221#M22306</link>
      <description>&lt;P&gt;Regular expressions cannot do this. You can however define a calculated field that converts each value to upper case.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Knowledge/definecalcfields"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/Knowledge/definecalcfields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2013 09:36:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracted-Field-to-be-case-insensitive/m-p/87221#M22306</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-04-08T09:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extracted Field to be case insensitive</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracted-Field-to-be-case-insensitive/m-p/87222#M22307</link>
      <description>&lt;P&gt;I have the same problem, I have many fields extracted with regular expression that sometimes are uppercase, other times are lowercase.&lt;BR /&gt;
I need to define a calculated field for each filed or is some way to define only one calculated field that converts all fields in uppercase?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 14:38:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracted-Field-to-be-case-insensitive/m-p/87222#M22307</guid>
      <dc:creator>andreac81</dc:creator>
      <dc:date>2017-04-27T14:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extracted Field to be case insensitive</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracted-Field-to-be-case-insensitive/m-p/87223#M22308</link>
      <description>&lt;P&gt;Try this andreac, working example just copy &amp;amp; paste code.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval temp="2013-04-02 04:22:38 199.xx.x.211 OPTIONS /CockpitNew - 4444 domain1\123456 102.220.13.119 ebDAV-MiniRedir/6.1.7600 200 0 64 143"."#"."2013-04-02 05:22:38 199.xx.x.211 OPTIONS /CockpitNew - 4444 DOMAIN1\123456 102.220.13.119 ebDAV-MiniRedir/6.1.7600 200 0 64 143"
| makemv delim="#" temp
| mvexpand temp
| rex field=temp max_match=0 "(?)-\s[\d]+\s(?&amp;lt;IMINSENSITIVE&amp;gt;[^\s]+)\s[\d\.]+\s"
| eval IMINSENSITIVE=lower(IMINSENSITIVE)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 16:37:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracted-Field-to-be-case-insensitive/m-p/87223#M22308</guid>
      <dc:creator>alemarzu</dc:creator>
      <dc:date>2017-04-27T16:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Extracted Field to be case insensitive</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracted-Field-to-be-case-insensitive/m-p/87224#M22309</link>
      <description>&lt;P&gt;You would need to create separate calculated field for each field whose value you want to change to upper case.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 18:10:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracted-Field-to-be-case-insensitive/m-p/87224#M22309</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-27T18:10:54Z</dc:date>
    </item>
  </channel>
</rss>

