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!

3 Ways to Make OpenTelemetry Even Better

My role as an Observability Specialist at Splunk provides me with the opportunity to work with customers of ...

What's New in Splunk Cloud Platform 9.2.2406?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2406 with many ...

Enterprise Security Content Update (ESCU) | New Releases

In August, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...