Mezmo Command Line Interface (CLI) Client

The Mezmo CLI (Command Line Interface) Client enables you to tail your servers with terminal commands. The Mezmo CLI Client is available for macOS, Windows, and Linux.

📘

LogDNA is now Mezmo

LogDNA has recently become Mezmo. As you access technical resources like our API, Code Libraries, and GitHub repositories, you will continue to see references to LogDNA for a short time as we update our new name across all our resource channels.

GitHub Repository

For complete information about installing and configuring the Mezmo CLI Client, check out the source code and documentation in our GitHub repository.
https://github.com/logdna/logdna-cli

Mezmo CLI FAQs

How do I install the Mezmo CLI?

Mac

Click here to download the Mezmo CLI installer for Mac.

Alternatively install via brew cask:

brew update
brew install --cask logdna-cli

Windows

To install on Windows, use chocolatey:

choco install logdna

Linux

For Ubuntu/Debian:

wget -qO /tmp/logdna-cli.deb http://repo.logdna.com/linux/logdna-cli.deb && sudo dpkg -i /tmp/logdna-cli.deb

How do I configure the Mezmo CLI?

To register a new LogDNA account, use the command:

logdna register <email>

To log in to an existing LogDNA account, use the command:

logdna login

How do I use the Mezmo CLI?

📘

Command Reference

Use the command logdna --help for documentation about using Mezmo CLI. To get help documentation for a specific functionality, include the function in the command. For example, to learn more about using the Search functionality, use the command logdna search --help.

This example tails a specific set of log lines:

logdna tail -h source1,source2 -a app1 -l error search_query

This example searches for a specific set of log lines:

logdna search -h source2 -a app1,app2 -l error,warn search_query

How do I log into the CLI if I installed LogDNA via the Heroku add-on?

You can get your login credentials by visiting https://app.logdna.com and clicking the Forgot password link there. This will send you an email with your account information.

Where can I view the LogDNA CLI source code?

You can find the source code in the LogDNA CLI GitHub repository, and we welcome contributions. If you would like to submit a PR, you can check out our contribution guide.