Skip to content

Simple TA to enable on-boarding of journald events into Splunk.

License

Notifications You must be signed in to change notification settings

jmaas/splunk-ta-journald

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Splunk TA journald

This TA is a very simple method to collect the Linux journald logs into Splunk. It was created to quickly onboard Linux events without reverting back to installing rsyslogd to read from the journal. If you need the journald logs from endpoints not running Splunk Universal Forwarder, this solution is not for you!

Implementation details

  • It's implemented using a simple bash script called from a scripted input.
  • Events are pulled from journald every 30 seconds using journalctl.
  • The events are retreived in JSON format and the provided input configuration handles this accordingly.
  • The script maintains state so that you don't end up with duplicate events.
  • On the first run it will only pull todays events from the journal.

Deployment

The TA can be pushed to all Splunk components in your architecture:

  • Universal Forwarders
  • Indexers
  • Search Heads
  • Management instances (license master, deployer, cluster master, etc)

About

Simple TA to enable on-boarding of journald events into Splunk.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages