Appearance
Quick start
In about five minutes you'll have a server reporting its metrics and logs to Logcore.
1. Create your organization
Open logcore.lsofito.com and choose Create an organization. Enter the organization name, your name, your email and a password of at least 8 characters.
Logcore creates your first API key for you. If someone has already added you to an organization, just sign in.
2. Install the agent
In the dashboard, open Add server. It's also linked from the empty Infrastructure page.
- Choose Linux or Windows.
- Pick an API key.
- Optionally, add host tags, for example
env:prod, role:web. - Copy the command and run it on your server.
sh
LOGCORE_API_KEY=lc_xxxxxxxx LOGCORE_TAGS="env:prod,role:web" \
bash -c "$(curl -fsSL https://logcore.lsofito.com/install.sh)"powershell
$env:LOGCORE_API_KEY="lc_xxxxxxxx"; $env:LOGCORE_TAGS="env:prod,role:web"; iwr -useb https://logcore.lsofito.com/install.ps1 | iexWithin a minute the server appears under Infrastructure with its CPU, memory and disk usage.
3. Ship a log file
Host metrics work right away. For logs, you tell the agent which files to read: create one file per service in the services folder.
yaml
name: nginx
path: /var/log/nginx/*.logyaml
name: myapp
path: 'C:\myapp\logs\*.log'Check the file, then restart the agent:
sh
sudo logcore-agent configcheck
sudo systemctl restart logcore-agentpowershell
logcore-agent configcheck
logcore-agent service restartFrom now on, new lines written to those files appear in Logs. Lines that were already in the files aren't imported.
4. Check that everything is healthy
sh
sudo logcore-agent statusYou should see Connection: OK and your service marked [OK]. Agent status explains each section of the output.
Next steps
- Custom log files: filters, multiline events, severities and tags.
- APM: trace your applications with OpenTelemetry.
- Monitors: get notified about errors, log patterns, high CPU or offline hosts.
- Invite your team.