Getting Started with LogTrunk
Install LogTrunk and stream your first logs in under 5 minutes.
On this page
Step 1: Installation
LogTrunk is available for macOS, Windows, and Linux. Download the latest version from our homepage or directly from GitHub releases.
macOS
- Download the
.dmgfile for your architecture (Apple Silicon or Intel) - Open the DMG and drag LogTrunk to your Applications folder
- Right-click and select "Open" the first time to bypass Gatekeeper
Windows
- Download the
.exeinstaller - Run the installer and follow the prompts
- LogTrunk will be available in your Start menu
Linux
- Download the
.debpackage - Install with:
sudo dpkg -i LogTrunk_*.deb - Run
logtrunkfrom your terminal or application menu
Tip: Check your architecture
On macOS, click the Apple menu → "About This Mac" to see if you have Apple Silicon (M1/M2/M3) or Intel.
Step 2: Create Your First Tab
LogTrunk uses tabs to organize different log sources. Each tab can have multiple sources and its own parser configuration.
- Launch LogTrunk
- Click the + button in the tab bar
- Give your tab a name (e.g., "My App Logs")
Think of tabs as separate workspaces. You might have one tab for your backend services, another for your frontend, and another for database logs.
Step 3: Add a Log Source
Now let's add a source to receive logs. The easiest way to get started is with a TCP source.
- In your tab, click TCP in the source toolbar
- Enter a port number (e.g.,
9000) - Make sure the source is enabled (checkbox checked)
LogTrunk will immediately start listening on that port. The status indicator will show green when the source is active.
Firewall Notice
Your firewall may prompt you to allow LogTrunk to accept incoming connections. Click "Allow" to receive logs from other machines on your network.
Step 4: Send Test Logs
Let's send some test logs to verify everything is working. Open your terminal and run:
echo "Hello from LogTrunk!" | nc localhost 9000 You should see the message appear in LogTrunk immediately!
Try sending a JSON log to see automatic parsing:
echo '{"level":"info","message":"User logged in","user_id":123}' | nc localhost 9000 LogTrunk will automatically detect and parse JSON, extracting fields like level, message, and user_id.
You're all set!
If you see logs appearing, congratulations! You've successfully set up LogTrunk.
Step 5: Next Steps
Now that you have LogTrunk running, here are some things to explore:
- Configure parsing - Set up JSON, Grok, or regex parsers for your log format
- Use filters - Filter logs by field values to focus on what matters
- Pin important logs - Keep critical logs visible while streaming continues
- Add markers - Mark deployment times or important events in your log stream
- Connect Claude - Use AI to help analyze and debug your logs
Related Articles
Was this article helpful?