LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

eventlogadm

Samba Windows event log manager

TLDR

Create event log database
$ eventlogadm -o addsource [Application] [/var/lib/samba/eventlog]
copy
Dump event log
$ eventlogadm -o dump [Application]
copy
Write event to log
$ eventlogadm -o write [Application] [message]
copy

SYNOPSIS

eventlogadm [options] operation [args]

DESCRIPTION

eventlogadm is a Samba utility for managing Windows-compatible event logs on Unix systems. It allows creating, reading, and writing event log databases that Windows clients can access.The tool works with Samba's implementation of the Windows Event Log service. Event logs are stored in TDB (Trivial Database) format and can be viewed from Windows Event Viewer.eventlogadm is useful for integrating Unix logging with Windows-centric management tools.

PARAMETERS

OPERATION

Operation: addsource, dump, write.
-o OP
Operation to perform.
-s CONF
Samba config file.
addsource NAME PATH
Create event log source.
dump NAME
Dump log contents.
write NAME MSG
Write event.

CONFIGURATION

/etc/samba/smb.conf

Samba server configuration that defines event log paths and settings.

INSTALL

sudo apt install samba
copy
sudo dnf install samba
copy
sudo pacman -S samba
copy
sudo apk add samba-server
copy
sudo zypper install samba
copy
brew install samba
copy
nix profile install nixpkgs#samba
copy

CAVEATS

Requires Samba configured. Event log format specific to Windows compatibility. Storage location depends on Samba config.

HISTORY

eventlogadm is part of Samba, providing Windows event log compatibility for the Unix implementation of Windows networking protocols.

SEE ALSO

samba(7)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid