Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

You will want to analyze the data gathered from the devices that are registered with WSO2 EMM. Wondering how you can do this in WSO2 EMM?

WSO2 EMM uses Splunk to capture, index and correlate the real-time data into a searchable repository. Using the data in this repository you are able to generate graphs, reports, alerts, dashboards, and more. 

Le's take a look at how you can configure Splunk with the WSO2 EMM Android Agent.

  1. Clone the product-emm GIT repository. This will be referred to as <EMM_SOURCE_HOME> throughout this document.

    git clone https://github.com/wso2/product-emm.git
  2. Open the Constant.java file that is in the <EMM_AGENT_ANDROID>/utils directory.

    <EMM_AGENT_ANDROID> refers to the <EMM_SOURCE_HOME>/modules/mobile-agents/android/client/client/src/main/java/org/wso2/emm/agent file path.

  3. Define the SPLUNK_PUBLISHER as the value for the string variable LOG_PUBLISHER_IN_USE.

    public static final String LOG_PUBLISHER_IN_USE = SPLUNK_PUBLISHER;
  4. Configure the fields shown below:

    public final class SplunkConfigs {
      public static final String API_KEY = "<SPLUNK_API_KEY>";
      public static final String TYPE_HTTP = "HTTP";
      public static final String TYPE_MINT = "MINT";
      public static final String DATA_COLLECTOR_TYPE = TYPE_MINT;
      public static final String HEC_TOKEN = "<SPLUNK_HEC_TOKEN>";
      public static final String HEC_MINT_ENDPOINT_URL = "<SPLUNK_HEC_MINT_ENDPOINT_URL>";
    }
    FieldDescription
    API_KEY
    Provide the Splunk API Key.
    HEC_TOKEN
    Provide the HTTP Event Collector token.
    HEC_MINT_ENDPOINT_URL
    Provide the HTTP Event Collector endpoint URL.
  5. Apply the logcat operation on your device to push data to Splunk through WSO2 EMM.

    For more information on applying an operation on your device, see Device Operations.

  • No labels