- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I configure time format in Splunk DB Connect? It's not uploading data
lucasbarbosa
Explorer
08-22-2017
06:27 AM
I use DBConnect3, and I have a date field in epoch format (Sample below).
When you select it as a timestamp, it shows a configuration option the format.
I am using the format %s
, I've also tried the format s
(As suggested in the caption).
But in doing so, Splunk is not recognizing the timestamp and as a consequence not uploading the data
How to fix this?
Sample epoch date: 1498892320
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
kundeng
Path Finder
08-22-2018
10:29 AM
This is not cool, now I have to do this.
SELECT TO_TIMESTAMP('1970-01-01 00:00:00.0'
,'YYYY-MM-DD HH24:MI:SS.FF'
) + NUMTODSINTERVAL(r.TIMESTAMPfield, 'SECOND') AS event_date, r.* FROM r where ID> ? ORDER by ID
