Jump to content

Elastic Agent Commands Reference


Recommended Posts

Start Elastic Agent


# Mac
$ sudo launchctl load /Library/LaunchDaemons/co.elastic.elastic-agent.plist

# Linux
$ sudo service elastic-agent start

#Windows
$ Start-Service Elastic Agent

# Debian
$ sudo systemctl start elastic-agent

#RPM
$ sudo systemctl start elastic-agent

Stop Elastic Agent


# Mac
$ sudo launchctl unload /Library/LaunchDaemons/co.elastic.elastic-agent.plist

# Linux
$ sudo service elastic-agent stop

#Windows
$ Stop-Service Elastic Agent

# Debian
$ sudo systemctl stop elastic-agent
$ sudo service elastic-agent stop

#RPM
$ sudo systemctl stop elastic-agent
$ sudo service elastic-agent stop

The post Elastic Agent Commands Reference appeared first on DevOpsSchool.com.

View the full article

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...