Getting Data In

Can Splunk do this?

gnovak
Builder

I have a bunch of logs I've added to splunk and created sourcetypes for these logs. These logs are updated once a week when a cron runs. Each log only has a small amount of data in them and usually we check these logs to make sure the cron ran and processes were successful. for each log we're only talking about a few lines of text.

So we know what is considered "normal" and "successful" from these few lines inserted once a week when the cron runs. However what we want to do is have splunk tell us when something is "not" normal and alert us. Problem is, we don't always know what that would be! In short, we don't know the types of errors we would get. We just now "if it doesn't look like this, tell us".

Here's an example of something you might see in a log that is normal:

Starting at Sun Aug 28 23:59:01 UTC 2011

[cronjobthatruns.sh]
All domains hosted on nameservers currently sponsored by the Registrar
==> Retrieving data from database.
==> Splitting report data by registrar.
Processing /opt/export/blahblah-reports/report_data/full/host/blahblahblah...

Ended at Mon Aug 29 00:19:10 UTC 2011

How would I be able to tell splunk to monitor the log and look for anything other then what I posted? I was looking at the filesystem monitor but I'm not sure how I would use it in this situation.

Any ideas?

Tags (1)
0 Karma
1 Solution

gnovak
Builder

closing and reopening a new question as i want to change title and it cut off my snipped of the log!

View solution in original post

0 Karma

gnovak
Builder

closing and reopening a new question as i want to change title and it cut off my snipped of the log!

0 Karma

gnovak
Builder

I'm currently reading http://docs.splunk.com/Documentation/Splunk/4.2.3/Data/Monitorchangestoyourfilesystem and am wondering what it means to use fschange to detect optional SHA256 hash of file contents. Is that perhaps something that would solve my problem?

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...