<?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: Regex host upper case in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515689#M144801</link>
    <description>&lt;P&gt;This doesnt work by updating regex with A-Z&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2020 05:43:53 GMT</pubDate>
    <dc:creator>priya0709</dc:creator>
    <dc:date>2020-08-24T05:43:53Z</dc:date>
    <item>
      <title>Regex host upper case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515684#M144797</link>
      <description>&lt;P&gt;my query fetches (host, incident) from subject line by using below regex command&lt;/P&gt;&lt;P&gt;regex field=subject max_match=0 “(&amp;lt;Incident&amp;gt;INC\d{12})” | regex field=subject “(?&amp;lt;host&amp;gt;[a-z]{5}\d{3}\d[a-z]{4}\d\d)“&lt;/P&gt;&lt;P&gt;my query matches host from 1st query (1st query displays host based on some eventcode) and those host search for host in subject line and displays incident in separate column. &amp;nbsp;however, &amp;nbsp;incident is not fetched for host which are in uppercase Letter in subject and incident column remains blank for particular host. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 05:22:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515684#M144797</guid>
      <dc:creator>priya0709</dc:creator>
      <dc:date>2020-08-24T05:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regex host upper case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515687#M144799</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224530"&gt;@priya0709&lt;/a&gt;&amp;nbsp;, can you try adding A-Z in host part of the existing regex as below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regex field=subject max_match=0 “(&amp;lt;Incident&amp;gt;INC\d{12})” | regex field=subject “(?&amp;lt;host&amp;gt;[a-zA-Z]{5}\d{3}\d[a-zA-Z]{4}\d\d)“&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please upvote my response if it helps!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 05:34:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515687#M144799</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-08-24T05:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Regex host upper case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515689#M144801</link>
      <description>&lt;P&gt;This doesnt work by updating regex with A-Z&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 05:43:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515689#M144801</guid>
      <dc:creator>priya0709</dc:creator>
      <dc:date>2020-08-24T05:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Regex host upper case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515690#M144802</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224530"&gt;@priya0709&lt;/a&gt;&amp;nbsp;can you provide with a sample text of the log on which you are applying this regex?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 05:45:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515690#M144802</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-08-24T05:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regex host upper case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515693#M144803</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="953EA21C-375E-473A-A80A-CBA55F4A49A9.jpeg" style="width: 4028px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10454i01693E675DC4BFEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="953EA21C-375E-473A-A80A-CBA55F4A49A9.jpeg" alt="953EA21C-375E-473A-A80A-CBA55F4A49A9.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; please see this subject line if my first query fetches host wsini606xasi01 and when it matches with above subject based on regex query In which&amp;nbsp;&lt;SPAN&gt;wsini606xasi01 is in &amp;nbsp;uppercase it does not displays incident in another column. When 1st query and 2nd query both are in lower case host matches and displays incident.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 06:06:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515693#M144803</guid>
      <dc:creator>priya0709</dc:creator>
      <dc:date>2020-08-24T06:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Regex host upper case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515715#M144807</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224530"&gt;@priya0709&lt;/a&gt;&amp;nbsp;, this should work&amp;nbsp;&lt;/P&gt;&lt;P&gt;| rex field=text "(?&amp;lt;Incident&amp;gt;INC\d{12})"&lt;BR /&gt;| rex field=text "(?&amp;lt;host&amp;gt;[a-zA-Z]{5}\d{3}[a-zA-Z]{4}\d{2})"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 08:31:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515715#M144807</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-08-24T08:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Regex host upper case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515722#M144808</link>
      <description>&lt;P&gt;Still not working &lt;span class="lia-unicode-emoji" title=":worried_face:"&gt;😟&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 08:40:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515722#M144808</guid>
      <dc:creator>priya0709</dc:creator>
      <dc:date>2020-08-24T08:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Regex host upper case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515742#M144811</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224530"&gt;@priya0709&lt;/a&gt;&amp;nbsp;, its very strange , the same works below, this is the run anywhere query&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;| makeresults&lt;BR /&gt;| eval subject="INC201564712349/SGH821VYX1 please perform hardware diagonostics on wsini606xasi01 for a bug"&lt;BR /&gt;| rex field=subject "(?&amp;lt;Incident&amp;gt;INC\d{12})"&lt;BR /&gt;| rex field=subject "(?&amp;lt;host&amp;gt;[a-zA-Z]{5}\d{3}[a-zA-Z]{4}\d{2})"&lt;BR /&gt;| fields - _time&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 10:10:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515742#M144811</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-08-24T10:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Regex host upper case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515759#M144814</link>
      <description>&lt;P&gt;Thank you for your reply&lt;/P&gt;&lt;P&gt;will this query work only for the defined subject or for any subject line which has server in uppercase letter??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 11:58:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515759#M144814</guid>
      <dc:creator>priya0709</dc:creator>
      <dc:date>2020-08-24T11:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Regex host upper case</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515766#M144817</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224530"&gt;@priya0709&lt;/a&gt;&amp;nbsp;, I have wrote that query based on the subject data you have provided, but given the host format is always liek below it will work.&lt;/P&gt;&lt;P&gt;5 letters+3 digits+4 letters+ 2 digits&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 12:14:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-host-upper-case/m-p/515766#M144817</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-08-24T12:14:46Z</dc:date>
    </item>
  </channel>
</rss>

