<?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 the profile from the log? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327417#M163326</link>
    <description>&lt;P&gt;No it didnt help me&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2018 03:50:13 GMT</pubDate>
    <dc:creator>yograjpatel</dc:creator>
    <dc:date>2018-01-26T03:50:13Z</dc:date>
    <item>
      <title>How to extract the profile from the log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327412#M163321</link>
      <description>&lt;P&gt;INFO  Decrypted user token received as header:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"phoneNumber":"888888888","firstName":"Alan ","lastName":"Mmm","email":"alan@mmmcom","id":"658336","guid":"f07286ef-d3ea-4319-ac45-39596354ce95","userType":"PROFILE_OWNER","profileId":"480783","profileGuid":"14d9b3a5-9350-435b-8f45-fe4556f465b7","profileName":"KARATE EAT NOW","profileOwnerPhoneNumber":"8585181878","profileOwnerFirstName":"Alan ","profileOwnerLastName":"Mmm","profileOwnerEmail":"alan@mmm.com","profileOwnerId":"658336"}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Jan 2018 21:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327412#M163321</guid>
      <dc:creator>yograjpatel</dc:creator>
      <dc:date>2018-01-25T21:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the profile from the log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327413#M163322</link>
      <description>&lt;P&gt;have tried the below but the unique values are not extracting.&lt;/P&gt;

&lt;P&gt;" INFO  Decrypted user token received as header" "profileId" | rex ":\s+(?\d+)\s+\/"&lt;/P&gt;

&lt;P&gt;rex "\"profileId\"\s:\s\"(?P\d+)\""&lt;/P&gt;

&lt;P&gt;just getting the total count.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 22:08:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327413#M163322</guid>
      <dc:creator>yograjpatel</dc:creator>
      <dc:date>2018-01-25T22:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the profile from the log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327414#M163323</link>
      <description>&lt;P&gt;If your trying to do this at search time your syntax is not quite correct.&lt;/P&gt;

&lt;P&gt;try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...|rex field=_raw "profileId\":\"(?&amp;lt;profileId&amp;gt;\d+)\""|table profileId
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Jan 2018 22:30:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327414#M163323</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2018-01-25T22:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the profile from the log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327415#M163324</link>
      <description>&lt;P&gt;is there a way to sort the count by month in ascending order.. like Nov, Dec, Jan.&lt;/P&gt;

&lt;P&gt;I'm trying this but the data is not in order&lt;/P&gt;

&lt;P&gt;INFO  Decrypted user token received as header" "profileId" | eval Month=strftime(_time,"%b") | rex field=_raw "profileId\":\"(?\d+)\""|dedup profileId | stats count(profileId) by Month | sort -_time&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:48:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327415#M163324</guid>
      <dc:creator>yograjpatel</dc:creator>
      <dc:date>2020-09-29T17:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the profile from the log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327416#M163325</link>
      <description>&lt;P&gt;try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;INFO Decrypted user token received as header" "profileId" | eval month=strftime(_time,"%m") | rex field=_raw "profileId\":\"(?&amp;lt;profileId&amp;gt;\d+)\"" | dedup profileId | stats count(profileId) by month date_month| sort month | fields- month
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 03:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327416#M163325</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-26T03:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the profile from the log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327417#M163326</link>
      <description>&lt;P&gt;No it didnt help me&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 03:50:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327417#M163326</guid>
      <dc:creator>yograjpatel</dc:creator>
      <dc:date>2018-01-26T03:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the profile from the log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327418#M163327</link>
      <description>&lt;P&gt;If I search for last 6 months its showing the chart like this...&lt;BR /&gt;
Jan, July, Aug, Sep, Oct, Nov, Dec&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 03:57:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327418#M163327</guid>
      <dc:creator>yograjpatel</dc:creator>
      <dc:date>2018-01-26T03:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the profile from the log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327419#M163328</link>
      <description>&lt;P&gt;then try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; INFO Decrypted user token received as header" "profileId" | eval month=strftime(_time,"%m") | rex field=_raw "profileId\":\"(?&amp;lt;profileId&amp;gt;\d+)\"" | dedup profileId | stats count(profileId)  by date_year date_month month | sort date_year month | fields- date_year month
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Jan 2018 04:08:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327419#M163328</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-26T04:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the profile from the log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327420#M163329</link>
      <description>&lt;P&gt;thanks Mayur... this worked&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 14:14:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327420#M163329</guid>
      <dc:creator>yograjpatel</dc:creator>
      <dc:date>2018-01-26T14:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the profile from the log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327421#M163330</link>
      <description>&lt;P&gt;How Can i Extract the user "&lt;A href="mailto:pmcmurchy@com.net"&gt;pmcmurchy@com.net&lt;/A&gt;" from the log?&lt;/P&gt;

&lt;P&gt;INFO  User [&lt;A href="mailto:pmcmurchy@com.net"&gt;pmcmurchy@com.net&lt;/A&gt;] successfully logged into Myaccount Portal on :Fri Jan 26 09:37:53 EST 2018&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 16:24:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-profile-from-the-log/m-p/327421#M163330</guid>
      <dc:creator>yograjpatel</dc:creator>
      <dc:date>2018-01-26T16:24:52Z</dc:date>
    </item>
  </channel>
</rss>

