Skip to content

File locations ​

Linux ​

PathContentsOwner / mode
/usr/bin/logcore-agentAgent binaryroot, 0755
/etc/logcore-agent/logcore.yamlMain configuration, including the API keyroot:logcore-agent, 0640
/etc/logcore-agent/services/Service files (*.yaml), plus *.yaml.exampleroot
/var/lib/logcore-agent/registry.jsonRead position of every followed filelogcore-agent
/var/lib/logcore-agent/status.tokenToken for logcore-agent statuslogcore-agent, 0600
/etc/systemd/system/logcore-agent.servicesystemd unitroot
journald (journalctl -u logcore-agent)Agent's own log

The service runs as the logcore-agent system user, which is a member of adm and systemd-journal. With LOGCORE_RUN_AS_ROOT=true it runs as root instead.

Windows ​

PathContents
C:\Program Files\Logcore\logcore-agent.exeAgent binary (folder added to PATH)
C:\ProgramData\Logcore\logcore.yamlMain configuration
C:\ProgramData\Logcore\services\Service files
C:\ProgramData\Logcore\data\Read positions and status token
C:\ProgramData\Logcore\logs\agent.logAgent's own log

The service is named Logcore Agent. It runs as LocalSystem and starts automatically at boot.

What's safe to delete ​

ItemEffect
registry.jsonThe agent forgets its read positions. Files present at the next start are treated as new and read from the end, per start_position.
status.tokenRecreated at the next start.
A service fileThat service stops being collected after a restart.