Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Why are the timestamps different when indexing CSV files locally versus being sent via universal forwarder?

$
0
0
I'm having an issues with timestamps on CSV files. Here is what a sample of raw data looks like: DATE,HOUR,WORKFILE_COUNT,RATE_PER_WORKFILE,EST_NBR_WORKFILES_PER_HOUR,WORK_HOLD_FILE_COUNT,WORK_DONE_FILE_COUNT,UNPROCESSED_FILE_COUNT,BAD_FILE_COUNT 09/13/15,15,1172,247.238,14560.9,0,0,0,13 09/13/15,16,1190,247.011,14574.3,0,0,0,13 09/13/15,17,1217,227.313,15837.2,0,0,0,13 09/13/15,18,782,231.839,15528,0,0,0,13 09/13/15,19,648,240.61,14962,0,0,0,13 09/13/15,20,629,238.669,15083.6,0,0,0,13 09/13/15,21,394,242.297,14857.8,0,0,0,13 09/13/15,22,493,295.181,12195.9,0,0,0,13 09/13/15,23,257,280.949,12813.7,0,0,0,13 09/14/15,00,64,235.125,15311,0,0,0,13 Here is the props.conf in /etc/system/local on the indexer: [csv] NO_BINARY_CHECK = true TIMESTAMP_FIELDS = DATE,HOUR TIME_FORMAT = %m/%d/%y%n%k disabled = false Now when I index locally using the CSV sourcetype, everything looks good and the timestamp is correct: ![rightTimeStamps][1] Now, when I have the same file sent via universal forwarder, the modtime is used as the timestamp, not the DATE, HOUR columns in the csv file: ![alt text][2] I have tried a variety of things with the props.conf file, but all seems to be failing when it is sent via the forwarder. [1]: /storage/temp/68189-2015-11-02-15-22-07.png [2]: /storage/temp/68190-2015-11-02-15-24-17.png

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>