ABSYZ ABSYZ

  • Home

    Home

  • About us

    Who We Are

  • Our Expertise

    What we Do

  • Our Approach

    How We Do It

  • Products

    What We Made

  • Industries

    Who We Do It For

  • Clients

    Whom We Did It For.

  • Article & Blogs

    What Experts Think

  • Careers

    Join The Team

  • Get In Touch

    Let’s Get Started

ABSYZ

Event Monitoring Series

Home / Article & Blogs / Salesforce / Event Monitoring Series
By Ashutosh Mishra inSalesforce

Event Monitoring Part -I

Visualise Data using Wave Analytics

This is the first part of Event Monitoring Series where you will learn about following things

  • Basics of Event Monitoring
  • How to download Event Log File using Event Log File Browser Application
  • How to create Dataset in Wave Analytics
  • How to Visualise data in Wave Analytics

Event Monitoring Basics

Event Monitoring is a new weapon in Salesforce Administrator’s arsenal to identify any abnormal behaviour and secure your company’s data.It logs user activity, called events, in detail. This feature provides customers an easy to download, file-based API to extract log data that can help with a customer’s troubleshooting, performance management, and security audits.

Event Monitoring can be used with 32 different types of events, including:

  • Logout
  • Login
  • Report Export
  • Salesforce1 Adoption (UI Tracking)
  • API calls
  • Visualforce
  • Apex Trigger etc.

All these events are stored in log files. Log file will be available to use after 24 hours of occurrence of an event. Log files are available based on CreatedDate for the last 30 days when organization purchase User Event Monitoring or one day for Developer Edition organization. All event monitoring logs are exposed to the API through the EventLogFile object, however there is no access through the user interface. Each log file represents one type of log events happened over one day.

Use Cases for Event Monitoring

  • Identifying Compromised Accounts – Monitoring the behaviour of each user account to identify a compromised account.
  • Monitor data loss by departing employees – Employees leaving company could take confidential data with them. Monitoring and taking against such actions is very important.
  • Performance optimization – Optimizing the performance visualforce pages etc.
  • Increased adoption – Observe how users from different departments of your organization are interacting with salesforce and evaluate their performance.

Let’s consider the first Use Case. Admin became suspicious of one particular user account. Now admin wants to check who else is using the account.One option is to find out the IP Addresses to get various locations from where the account is being accessed. Following steps will help admin to get his answers.

Downloading Event Log File using Browser Application

There are many ways to download Event Log Files in many ways, including:

  • Event Log File Browser Application
  • cURL script
  • Python script

In this blog we will use Browser Application

Steps
  1. Open Link :https://salesforce-elf.herokuapp.com
  2. Select either Production or Sandbox login and provide your credentialsScreen Shot 2016-05-12 at 10.17.49 pm.png
  3. Select date and event type and click ApplyScreen Shot 2016-05-12 at 10.23.13 pm.png
  4. Once you click Apply you will get table just like belowScreen Shot 2016-05-12 at 11.36.24 pm.png
  5. Click on the Green download icon to download the specific file. It  will be in .csv format.The other icon provides cURL shell script that can be used with cURL command line tool.

Now you have the Log File of the Login event. Lets use this log file to create some useful reports using Wave Analytics.

Wave Analytics

Wave Analytics is a powerful self-service analytics application. You need a Wave License to use Wave Analytics in your system. Wave Analytics provides option to integrate data from various sources to build useful insights to answer key questions of business users.

Steps to use Event Log File and create reports(Lenses) in Wave Analytics

Steps
  1. Login to the Org where Wave Analytics is installed.
  2. Click on create and select DatasetScreen Shot 2016-05-12 at 11.43.07 pm.png
  3. Select Data source as CSVScreen Shot 2016-05-13 at 12.04.25 am.png
  4. Add downloaded Event Log File in .csv format in “Add External Data File” section. A metadata JSON file will be created automatically. Enter Dataset Name and select the App(Folder) where you want to create the dataset. Click Create Dataset.Screen Shot 2016-05-13 at 12.09.16 am.png
  5.  Dataset as shown below will be created inside the selected App in previous step.Screen Shot 2016-05-13 at 12.12.23 am.png
  6. Click on the dataset to create Lens(Reports).Screen Shot 2016-05-13 at 12.47.01 am.png(The above report (Lens) was created by following steps                                                          i. Click on the Screen Shot 2016-05-13 at 1.04.59 am.png icon(last icon) to select Column graph.                                          ii. Click on the Screen Shot 2016-05-13 at 1.01.24 am.png icon to create a group by CLIENT_IP. )

In the above graph Admin observes that login happened several times from one particular ip address. Also this ip address does not belong to admin’s company. Now admin can further investigate the ip address.

In this way Wave Analytics can be used to provide more useful insights using data gathered from Event Log File.

Also you can use the below Bash Shell Script to automate the process of downloading event log file and uploading it in Wave Analytics to create a Dataset   https://github.com/atorman/elfBash/blob/master/elfWave_mac.sh .

In our next blog in the Event Monitoring Series we will explore querying EventLogFile object using REST API.

 

 

DashboardEvent MonitoringReportsSalesforce1Wave Analytics
131
Like this post
2 Posts
Ashutosh Mishra

Search Posts

Archives

Categories

Recent posts

All About The OmniStudio FlexCards

All About The OmniStudio FlexCards

Boost Customer Experience With Repeater Widget in CRM Analytics

Boost Customer Experience With Repeater Widget in CRM Analytics

Enhance Insights Using Custom Tooltips In CRM Analytics

Enhance Insights Using Custom Tooltips In CRM Analytics

Net zero as a Service In CPG Industry

Net zero as a Service In CPG Industry

How Do We Import an External Library into Salesforce Lightning?

How Do We Import an External Library into Salesforce Lightning?

  • Upload files in Amazon S3 from Salesforce
    Previous PostUpload files in Amazon S3 from Salesforce
  • Next PostCombining RESTful Web Services and Site.com for creating publicly asccessible URL

Related Posts

All About The OmniStudio FlexCards
OmniStudio Salesforce

All About The OmniStudio FlexCards

Boost Customer Experience With Repeater Widget in CRM Analytics
CRM Analytics Salesforce

Boost Customer Experience With Repeater Widget in CRM Analytics

Enhance Insights Using Custom Tooltips In CRM Analytics
CRM Analytics Salesforce

Enhance Insights Using Custom Tooltips In CRM Analytics

How Do We Import an External Library into Salesforce Lightning?
Lightning Salesforce

How Do We Import an External Library into Salesforce Lightning?

Leave a Reply (Cancel reply)

Your email address will not be published. Required fields are marked *

*
*

ABSYZ Logo

INDIA | USA | UAE

  • About us
  • Article & Blogs
  • Careers
  • Get In Touch
  • Our Expertise
  • Our Approach
  • Products
  • Industries
  • Clients
  • White Papers

Copyright ©2022 Absyz Inc. All Rights Reserved.

youngsoft
Copy
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “ACCEPT ALL”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent. Privacy Policy
Cookie SettingsREJECT ALLACCEPT ALL
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.

CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.

Functional

Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.

Performance

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

Advertisement

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.

Others

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

SAVE & ACCEPT