<?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 build a dashboard to show extracted email details from a log file? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173358#M10753</link>
    <description>&lt;P&gt;Thank you very much for your help. &lt;BR /&gt;
Result showing in the dashboard is excellent&lt;BR /&gt;
One thing is missing  SSO&lt;BR /&gt;
SSO is a field for getting userid"S &lt;BR /&gt;
so how can i add SSO field in the QUERY&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2015 09:28:49 GMT</pubDate>
    <dc:creator>moiezuddin</dc:creator>
    <dc:date>2015-03-11T09:28:49Z</dc:date>
    <item>
      <title>How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173349#M10744</link>
      <description>&lt;P&gt;Please help to create a dashboard for log file. /opt/www/logs/nbcucentral/nbcucentral.log  to extract users sso, last name, and email address&lt;/P&gt;

&lt;P&gt;examples of this log file. /opt/www/logs/nbcucentral/nbcucentral.log &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[09/03/2015] [06:57:57.510] [INFO ] [FILE: com.nbcu.registration.VerifyMailServlet.doPost() IP:- 10.99.145.82] [206456577] [User details Lipsit, Christopher :: Chri.Lipsit@bolfchannel.com]
[09/03/2015] [06:28:42.976] [INFO ] [FILE: com.nbcu.registration.VerifyMailServlet.doPost() IP:- 10.99.145.145] [206457105] [User details Pelfrey, John :: John.Pelf@bolfchannel.com]
[09/03/2015] [05:13:50.242] [INFO ] [FILE: com.nbcu.registration.VerifyMailServlet.doPost() IP:- 3.161.145.238] [206453165] [User details Douguet, Juliette :: Julie.Dou@bcun.com
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Mar 2015 06:30:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173349#M10744</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2015-03-10T06:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173350#M10745</link>
      <description>&lt;P&gt;Could you please try below -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=test | rex "(?P\w+.\w+@\w+.\w+)" | rex "details (?P\w+)" | table Name, Email 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Similarly you can extract SSO as well. You will find an option to save it as report/dashboard on right side (above time range picker).  &lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 08:35:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173350#M10745</guid>
      <dc:creator>satishsdange</dc:creator>
      <dc:date>2015-03-10T08:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173351#M10746</link>
      <description>&lt;P&gt;Please append w with slash. &lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 08:38:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173351#M10746</guid>
      <dc:creator>satishsdange</dc:creator>
      <dc:date>2015-03-10T08:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173352#M10747</link>
      <description>&lt;P&gt;It doesnot work&lt;/P&gt;

&lt;P&gt;source="/opt/www/logs/nbcucentral/nbcucentral.log"| rex "(?Pw+.w+@w+.w+)" | rex "details (?Pw+)" | table Name Email&lt;/P&gt;

&lt;P&gt;showing error&lt;/P&gt;

&lt;P&gt;Error in 'rex' command: Encountered the following error while compiling the regex '(?Pw+.w+@w+.w+)': Regex: unrecognized character after (?P&lt;BR /&gt;
The search job has failed due to an error. You may be able view the job in the Job Inspector&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 08:53:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173352#M10747</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2015-03-10T08:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173353#M10748</link>
      <description>&lt;P&gt;Did you use backslash before w? &lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 09:11:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173353#M10748</guid>
      <dc:creator>satishsdange</dc:creator>
      <dc:date>2015-03-10T09:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173354#M10749</link>
      <description>&lt;P&gt;Its not working , can you please come up with another example , thanks for quick response&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 09:34:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173354#M10749</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2015-03-10T09:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173355#M10750</link>
      <description>&lt;P&gt;Hi @moiezuddin&lt;/P&gt;

&lt;P&gt;I just edited @satishdange's answer to properly show all the characters for the regular expression in the search. The backslashes &lt;CODE&gt;\&lt;/CODE&gt; were not displaying properly. Your search above didn't include the backslashes. Can you try the search now with the correctly syntax and see if you still get that error?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 21:11:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173355#M10750</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2015-03-10T21:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173356#M10751</link>
      <description>&lt;P&gt;Thanks for your effort , but still its not working.&lt;BR /&gt;
I extracted new fields and tested and named the fields as per my requirement.&lt;BR /&gt;
Now its showing the results&lt;BR /&gt;
source="/opt/www/logs/nbcucentral/nbcucentral.log" LastName=* OR Email=* OR  SSO=* | table SSO,Email,LastName&lt;BR /&gt;
Can you please let me know how to get top 20 results of the above query.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 07:01:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173356#M10751</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2015-03-11T07:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173357#M10752</link>
      <description>&lt;P&gt;Please try this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"your source" | rex "(?P&amp;lt;Email&amp;gt;\w+.\w+@\w+.\w+)" | rex "details (?P&amp;lt;Name&amp;gt;\w+)" | stats count by Name, Email | Head 20
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Mar 2015 07:18:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173357#M10752</guid>
      <dc:creator>satishsdange</dc:creator>
      <dc:date>2015-03-11T07:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173358#M10753</link>
      <description>&lt;P&gt;Thank you very much for your help. &lt;BR /&gt;
Result showing in the dashboard is excellent&lt;BR /&gt;
One thing is missing  SSO&lt;BR /&gt;
SSO is a field for getting userid"S &lt;BR /&gt;
so how can i add SSO field in the QUERY&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 09:28:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173358#M10753</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2015-03-11T09:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173359#M10754</link>
      <description>&lt;P&gt;What do you mean add it?&lt;/P&gt;

&lt;P&gt;If you want to extract more, you can add another rex, if you already have it as a field, then add it after Email.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 10:27:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173359#M10754</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-03-11T10:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173360#M10755</link>
      <description>&lt;P&gt;I did it in the below way&lt;BR /&gt;
source="/opt/www/logs/nbcucentral/nbcucentral.log" | rex "(?P\w+.\w+@\w+.\w+)" | rex "details (?P\w+)" | rex "details (?P\w+)" | stats count by Name, SSO, Email | Head 20&lt;/P&gt;

&lt;P&gt;Here i added SSO field &lt;/P&gt;

&lt;P&gt;SSO field need to show Userid  like 2065554822 &lt;BR /&gt;
But sso field showing name of the user not his userid .&lt;/P&gt;

&lt;P&gt;What i need to do  ? Kindly assist&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:11:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173360#M10755</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2015-03-11T11:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173361#M10756</link>
      <description>&lt;P&gt;I did like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="/opt/www/logs/nbcucentral/nbcucentral.log" | rex "(?P\w+.\w+@\w+.\w+)" | rex "(?i)^(?:[^\\[]*\\[){5}(?P[^\\]]+)" | rex "details (?P\w+)" | stats count by Name, SSO, Email | Head 20
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Its working showing the results exactly thank you very much  for your time .&lt;BR /&gt;
Great work boss ..   &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:14:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173361#M10756</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2015-03-11T11:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173362#M10757</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; "your source" | rex "(?P&amp;lt;Email&amp;gt;\w+.\w+@\w+.\w+)" | rex "details (?P&amp;lt;Name&amp;gt;\w+)" | rex "(?&amp;lt;User_ID&amp;gt;\d{9})" | stats count by Name, Email, User_ID | Head 20
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173362#M10757</guid>
      <dc:creator>satishsdange</dc:creator>
      <dc:date>2015-03-11T11:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a dashboard to show extracted email details from a log file?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173363#M10758</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Can you help me to add 2 more fields it the above query please&lt;BR /&gt;
Fields are  jobTitle,   orgName,   userType&lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 07:03:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-build-a-dashboard-to-show-extracted-email-details-from-a/m-p/173363#M10758</guid>
      <dc:creator>moiezuddin</dc:creator>
      <dc:date>2015-03-19T07:03:27Z</dc:date>
    </item>
  </channel>
</rss>

