<?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: How to extract a certain string of text from an interesting field and count the number of occurrences? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-certain-string-of-text-from-an-interesting/m-p/619501#M215309</link>
    <description>&lt;P&gt;Say I wanted to rename MFA challenge issued to something like "MFA issued". What that just be something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|regex _raw="MFA challenge issued" rename AS "MFA Issued"
|stats count&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 03 Nov 2022 16:40:36 GMT</pubDate>
    <dc:creator>jhilton90</dc:creator>
    <dc:date>2022-11-03T16:40:36Z</dc:date>
    <item>
      <title>How to extract a certain string of text from an interesting field and count the number of occurrences?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-certain-string-of-text-from-an-interesting/m-p/619495#M215306</link>
      <description>&lt;P&gt;We have MFA logs being sent to one of our indexes and the field I'm looking at is as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;message: MFA challenge issued for account 1234556. Email is example@example.com&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to be able to count the number of times "MFA challenge issued" occurs in the logs. I'm trying to use the rex command but it's just so confusing at the moment&lt;/P&gt;
&lt;P&gt;Any help would be great!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 16:35:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-certain-string-of-text-from-an-interesting/m-p/619495#M215306</guid>
      <dc:creator>jhilton90</dc:creator>
      <dc:date>2022-11-03T16:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: I want to extract a certain string of text from an interesting field and count the number of occurrences</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-certain-string-of-text-from-an-interesting/m-p/619497#M215308</link>
      <description>&lt;LI-CODE lang="markup"&gt;| regex _raw="MFA challenge issued"
| stats count&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 03 Nov 2022 16:34:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-certain-string-of-text-from-an-interesting/m-p/619497#M215308</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-11-03T16:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a certain string of text from an interesting field and count the number of occurrences?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-certain-string-of-text-from-an-interesting/m-p/619501#M215309</link>
      <description>&lt;P&gt;Say I wanted to rename MFA challenge issued to something like "MFA issued". What that just be something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|regex _raw="MFA challenge issued" rename AS "MFA Issued"
|stats count&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 03 Nov 2022 16:40:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-certain-string-of-text-from-an-interesting/m-p/619501#M215309</guid>
      <dc:creator>jhilton90</dc:creator>
      <dc:date>2022-11-03T16:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a certain string of text from an interesting field and count the number of occurrences?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-certain-string-of-text-from-an-interesting/m-p/619506#M215311</link>
      <description>&lt;P&gt;No. all regex is doing is filtering the events with match the condition, so if your condition changes to "MFA Issued" you would do this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| regex _raw="MFA Issued"
| stats count&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 03 Nov 2022 16:46:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-certain-string-of-text-from-an-interesting/m-p/619506#M215311</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-11-03T16:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a certain string of text from an interesting field and count the number of occurrences?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-certain-string-of-text-from-an-interesting/m-p/619507#M215312</link>
      <description>&lt;P&gt;It's okay, I realized there's not point to it. Thanks for your help&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 16:47:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-certain-string-of-text-from-an-interesting/m-p/619507#M215312</guid>
      <dc:creator>jhilton90</dc:creator>
      <dc:date>2022-11-03T16:47:41Z</dc:date>
    </item>
  </channel>
</rss>

