Dashboards & Visualizations

How to apply time-setting for different types of logs ?

georgear7
Communicator

I have different flavors of log files, below are those.

1. Each events having timestamp
2. Events without timestamp
3. Few events having timestamp, few doesn't.

For all these type of logs, i have one common source type because these are belongs to one app. Due to these varieties of logs, will it create any problem like logs not getting updated properly on time or sometime data itself is missing ? If that is the case, how to apply time-setting to fix the issue ?

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

The app developers have not done you any favors.  If you have any influence over them, get them to fix the logs.  Otherwise, yes, you will have problems with that data.

Your best option (other than fixing the app) might be to specify DATETIME_CONFIG = current in props.conf.  That will apply the current timestamp to all events regardless of the presence of a timestamp in the event itself.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

The app developers have not done you any favors.  If you have any influence over them, get them to fix the logs.  Otherwise, yes, you will have problems with that data.

Your best option (other than fixing the app) might be to specify DATETIME_CONFIG = current in props.conf.  That will apply the current timestamp to all events regardless of the presence of a timestamp in the event itself.

---
If this reply helps you, Karma would be appreciated.

georgear7
Communicator

@richgalloway Thanks for your suggestion. Let me check on this and get back to you.

0 Karma
Get Updates on the Splunk Community!

Devesh Logendran, Splunk, and the Singapore Cyber Conquest

At this year’s Splunk University, I had the privilege of chatting with Devesh Logendran, one of the winners in ...

There's No Place Like Chrome and the Splunk Platform

WATCH NOW!Malware. Risky Extensions. Data Exfiltration. End-users are increasingly reliant on browsers to ...

Customer Experience | Join the Customer Advisory Board!

Are you ready to take your Splunk journey to the next level? 🚀 We invite you to join our elite squad ...