Skip to main content
Sumo Logic

Install Apps in Multiple Environments

If you have multiple environments generating data that you want to monitor using Sumo Logic Apps—for example, environments for production, development, and testing—you’ll need to perform the following steps in each environment:

  1. Set up Sumo Logic Collectors and Sources for each environment. Make sure that Source Hosts and Source Categories are named correctly in order to clearly indicate the environment name to the Apps when they are installed.
  2. Perform any prerequisites required for the particular Sumo Logic App in that environment. Each Sumo Logic App has unique requirements, so make sure to follow the specific instructions for that App.
  3. Install an instance of the Sumo Logic App for each environment, configure it to accept data from that environment, and rename the App to reflecting the deployed environment.

Your data comes in from each of your environments (production, development, testing, etc.) into the corresponding installed Sumo Logic App. The environment data and its Sources are identified by Host Names and Source Categories as configured by you or your administrators.

Example Installation

In this example, a company has three environments: qa, prod, and perf. You will configure the Sumo Logic Collectors and Sources to identify each environment correctly, perform any necessary prerequisites for the Sumo Logic App, then finally install an instance of the App for each of your environments.

Set up Sumo Logic Collectors and Sources

Before installing any applications, define your Collectors in each environment so that Source Host metadata indicates the deployment. For example, name them something like:

  • abc13-qa-cluster01
  • acb10-prof-cluster03
  • abc01-prod-cluster12

Optionally, you can set a Source Category to indicate these names as well, depending on how Sumo Logic is architected at your company.

Perform any Prerequisites required for the Sumo Logic App

Each Sumo Logic App has unique requirements, so make sure to follow the specific instructions for that App. For details, see Sumo Logic Apps.

Install an Instance of the Sumo Logic App for each Environment

  1. Install an instance of the Sumo Logic App for the first environment, qa.
    • If you have used Source Host to identify the environment, in the Install Application dialog, you can configure the app with a custom data filter using _sourceHost=qa.
    • If you have used a Source Category to delineate the deployment, when installing the app, you could configure it using the Source Category _sourceCategory=qa-abc.
    • Rename the title of the App to denote the environment it is configured for, for example, Windows-QA.
  2. Next, install an instance of the Sumo Logic app for the prod environment.
    • In the Install Application dialog, indicate the name of the environment in the Source Host, such as _sourceHost=prod.
    • Rename the title of the App to denote the environment it is configured for, for example, Windows-Prod.
  3. Finally, install an instance of the Sumo Logic app for the perf environment.
    • In the Install Application dialog, indicate the name of the environment in the Source Host, such as _sourceHost=perf.
    • Rename the title of the App to denote the environment it is configured for, for example, Windows-Perf.