Skip to content

v1v/elastic-agent-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

GitHub release CI Workflow Test workflow

About

This action installs the Elastic Agent to add monitoring for logs, metrics, and other types of data to the GitHub runner.

What's new

Please refer to the release page for the latest release notes.

Usage

Configuration

To authenticate against Fleet Server.

- uses: v1v/elastic-agent-action@v2
  with:

    # The server address of Fleet Server
    #
    # We recommend using a GitHub secret.
    fleetUrl: ''

    # The enrollment token used to log against the Fleet Server
    #
    # We recommend using a GitHub secret.
    enrollmentToken: ''

    # What Elastic Agent is to be installed?
    # Default: latest
    version: ''

    # What Elastic Agent name
    # Default: ${GITHUB_RUN_NUMBER}.${GITHUB_RUN_ID}
    agentName: ''

    # Log out from the Fleet Server at the end of a job
    # Default: true
    logout: ''

Fleet UI

Every single runner will be presented as below in the Elastic Fleet UI.

image info

About

GitHub Action to install Elastic Agent to add monitoring for logs, metrics, and other types of data to the Runners

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •