All Apps and Add-ons

Why is year data incorrect using Airport App?

jjpeet
New Member

Hi, I just started using this app today, and the data I receive when I search "sourcetype=airport" has the year 2013 for one airport and 2012 for another. I notice in the actual syslog data there isn't even year mentioned so is it being generated elsewhere?. Any thoughts on where I go to fix this?
Thx
JP

Tags (1)
0 Karma

MuS
SplunkTrust
SplunkTrust

Hi jjpeet,

this is probably because of the missing year in the airport syslog output.
Splunk uses the following precedence rules to assign timestamps to events:

  1. Splunk looks for a time or date in the event itself using an explicit TIME_FORMAT, if provided. You configure the TIME_FORMAT attribute in props.conf.
  2. If no TIME_FORMAT was configured for the data, Splunk Enterprise attempts to automatically identify a time or date in the event itself. It uses the source type of the event (which includes TIME_FORMAT information) to try to find the timestamp.
  3. If an event doesn't have a time or date, Splunk Enterprise uses the timestamp from the most recent previous event of the same source.
  4. If no events in a source have a date, Splunk Enterprise tries to find one in the source name or file name. (This requires that the events have a time, even though they don't have a date.)
  5. For file sources, if no date can be identified in the file name, Splunk Enterprise uses the file's modification time.
  6. As a last resort, Splunk Enterprise sets the timestamp to the current system time when indexing each event.

Now what you can do, read about How to Configure time stamp recognition and adapt props.conf to your needs.

hope this helps ...

cheers, MuS

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...