Skip to content

Quick Start

This guide walks you through connecting to your LogicMonitor portal and running your first script.

  1. Open a browser tab and log into your LogicMonitor portal (e.g., https://yourcompany.logicmonitor.com).

  2. Click the LMDA Composer icon in your browser toolbar. The composer opens in a new tab displaying the welcome screen.

    The welcome screen after opening LMDA Composer
  3. Before running a script, configure your execution context using the toolbar dropdowns:

    • Portal — Select your LogicMonitor portal from detected sessions (green indicator = connected)
    • Collector — Choose which collector runs your scripts (only online collectors can execute)
    • Device — Optional. Select a device if your script needs host properties like system.hostname
    The context dropdown showing Portal, Collector, and Device selection
  4. Click New Script on the welcome screen, or press Ctrl+K, N / +K, N to create a new script tab.

    Try this simple script:

    println "Hello from LMDA Composer!"
    println "Current time: " + new Date()
    return 0
  5. Click the Run Script button or press Ctrl+Enter / +Enter.

    Watch the output appear in the Output Panel below the editor. A green “Complete” badge indicates successful execution.

    Output panel showing successful execution with Complete status

The Output Panel provides three views depending on your execution mode:

The complete text output from your script, exactly as returned by the collector.

Instead of a standalone script, you can create a complete LogicModule using the guided wizard:

  1. Click New LogicModule on the welcome screen (requires portal connection)
  2. Choose your module type (DataSource, ConfigSource, PropertySource, etc.)
  3. Configure basic info, script settings, and requirements
  4. The wizard creates a properly structured module ready for development