LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-22-2018, 01:57 PM   #1
kkrrss
Member
 
Registered: Jun 2016
Posts: 56
Blog Entries: 1

Rep: Reputation: Disabled
Sending Json formatted logs through rsyslog


Hello There,

Since I'm troubling with sending my Json formatted logs to my SIEM server through rsyslog. since I'm very new to use rsyslog and still don't understand how to deal with it.

Here is my requirements.

01. I have a script that I get the event logs through API query from remote server (Jumpcloud) and write into a file (file name jumpcloud.log) which output is Json format.

02. I want rsyslog to read the content from jumpcloud.log frequently and send it to my SIEM server.

Can anyone help me to do this for me? appreciate if you can guide me as I'm struggling with this for few weeks now.

Thank You
 
Old 08-25-2018, 06:59 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by kkrrss View Post
since I'm very new to use rsyslog and still don't understand how to deal with it. (..) I'm struggling with this for few weeks now.
What you want Rsyslogd to do isn't special in any way: check 'man rsyslog.conf' the "Modules" section for the "imfile" module for reading log files and the "Remote machine" section on how to send log lines elsewhere. Also post what you've tried already and your suggested edits. That way we can gauge what kind of help you need: much more efficient for all.
 
  


Reply

Tags
bash, linux, rsyslog, security, security auditing



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle alert logs monitoring through rsyslog bhageshp Linux - Server 1 09-25-2016 09:41 PM
rsyslog - separating logs grodech Linux - Software 3 01-20-2014 11:56 AM
logs to remote rsyslog sunlinux Linux - Server 2 12-10-2013 09:05 AM
How can I define how old logs should rsyslog keep? craseal Linux - Server 1 08-25-2010 08:38 PM
rsyslog sometimes logs fqdn, sometimes just host name whysyn Linux - Software 3 06-03-2008 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration