<?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: need help on rex in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/need-help-on-rex/m-p/654141#M17086</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;, I need to do field extra action for those 2 strings which i mentioned.&lt;/P&gt;&lt;P&gt;That's why I asked for rex&lt;/P&gt;&lt;P&gt;Field 1: appl has successfully completed all authentication flows (field name as success_logins)&lt;/P&gt;&lt;P&gt;Field2:&amp;nbsp;&lt;SPAN&gt;Login complete"&amp;nbsp; (field name as complete_logins)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Aug 2023 01:03:07 GMT</pubDate>
    <dc:creator>Ash1</dc:creator>
    <dc:date>2023-08-12T01:03:07Z</dc:date>
    <item>
      <title>need help on rex</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/need-help-on-rex/m-p/654126#M17083</link>
      <description>&lt;P&gt;From the below sample logs we need rex for&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. "appl has successfully completed all authentication flows."&lt;/P&gt;&lt;P&gt;2. "Login complete"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2023-01-11 12:34:22,678 DITAU [taskstatus-8] {DIM: hgtijNMHy67v | DIS: aHJyikjI | DIC: HY56GFT6 | PI: 678.89.987 | ND: ks | APP: |OS: iOS-1-7.1 | REV" } APPDA - 87687654356789 - appl has successfully completed all authentication flows.&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;2023-01-11 12:34:22,678 DITAU [taskstatus-8] {DIM: hgtijNMHy67v | DIS: aHJyikjI | DIC: HY56GFT6 | PI: 678.89.987 | ND: ks | APP: |OS: iOS-1-7.1 | REV" } APPDA - 87687654356789 - appl has successfully completed all authentication flows.&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;2023-01-11 12:34:22,678 INFO [taskstatus-8] {DIM: hgtijNMHy67v | DIS: aHJyikjI | DIC: HY56GFT6 | PI: 678.89.987 | ND: ks | APP: | Req: POST /ai/v2/api/assert | OS: iOS-16.6 | VER: 23.4.0} AUDIT - Login complete&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;2023-01-11 12:34:22,678 INFO [taskstatus-8] {DIM: hgtijNMHy67v | DIS: aHJyikjI | DIC: HY56GFT6 | PI: 678.89.987 | ND: ks | APP: | Req: POST /ai/v2/api/assert | OS: iOS-16.6 | VER: 23.4.0} AUDIT - Login complete&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 21:04:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/need-help-on-rex/m-p/654126#M17083</guid>
      <dc:creator>Ash1</dc:creator>
      <dc:date>2023-08-11T21:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: need help on rex</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/need-help-on-rex/m-p/654136#M17085</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;rex&lt;/FONT&gt; command is for extracting fields using regular expressions.&amp;nbsp; What fields do you need to extract from those events?&lt;/P&gt;&lt;P&gt;If you just need to find events with either of those strings then you don't need &lt;FONT face="courier new,courier"&gt;rex&lt;/FONT&gt; at all.&amp;nbsp; Just put the strings in your base search.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo ( "appl has successfully completed all authentication flows." OR "Login complete" )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 00:11:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/need-help-on-rex/m-p/654136#M17085</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-08-12T00:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: need help on rex</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/need-help-on-rex/m-p/654141#M17086</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;, I need to do field extra action for those 2 strings which i mentioned.&lt;/P&gt;&lt;P&gt;That's why I asked for rex&lt;/P&gt;&lt;P&gt;Field 1: appl has successfully completed all authentication flows (field name as success_logins)&lt;/P&gt;&lt;P&gt;Field2:&amp;nbsp;&lt;SPAN&gt;Login complete"&amp;nbsp; (field name as complete_logins)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 01:03:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/need-help-on-rex/m-p/654141#M17086</guid>
      <dc:creator>Ash1</dc:creator>
      <dc:date>2023-08-12T01:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: need help on rex</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/need-help-on-rex/m-p/654146#M17087</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;success_logins&amp;gt;appl has successfully completed all authentication flows.)"
| rex "(?&amp;lt;complete_logins&amp;gt;Login complete)"&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 12 Aug 2023 06:51:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/need-help-on-rex/m-p/654146#M17087</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-12T06:51:48Z</dc:date>
    </item>
  </channel>
</rss>

