Getting Data In

monitoring all auth.log file

darksky21
Path Finder

Hi i would like to monitor all auth.log file in my ubuntu system but there are many auth.log file (e.g. auth.log, auth.log.1, auth.log.2.gz, auth.log.3.gz). How do i get splunk to monitor all of them? Currently am only able to monitor auth.log file only

Tags (3)
0 Karma

aktambe
New Member

Hi,

I to have the same issue. we are monitoring the RSA key file from some host and we are getting logs from all the source excluding one source. the folder where auth.log file are fetched is present on that host but splunk cant fetch the logs. the configuration of all the host are same and the permission to the auth.log dir is also same for all the servers. still not getting log.

Please help here!

0 Karma

yannK
Splunk Employee
Splunk Employee

monitor the file and it's rotated versions.

[monitor:///var/log/auth.log*]

gfuente
Motivator

Hello

Maybe it's a permissions issue or they all have the same header and Splunk, by defaults, think that already has indexed that file. You could try to add this to your inputs.conf file:

crcSALT = < SOURCE >

**Remove the blanks before and after SOURCE, and you dont need to put here your real source file, just the string SOURCE

Regards

0 Karma

darksky21
Path Finder

Hi there. i tried it but it only monitor auth.log and not the other auth.log file.

0 Karma
Get Updates on the Splunk Community!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...