Elastic Agent Commands Reference

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

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x