- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sushmitha_mj
Communicator
01-09-2015
10:26 AM
Hi, I am new to splunk and hence, just to experiment with the tool I added some bank statement data into splunk in the form of csv file. The date field in the file is in the format " mm/dd/yy". Splunk did not recognize the date field as date, instead it created a "_time" field and has added the timestamp value of the data entry . The visual data distribution shows all data in the same timestamp. I need help to make splunk use the date field instead of the creation time.
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

aljohnson_splun

Splunk Employee
01-09-2015
11:14 AM
You just need to configure the time when you input the data:
Say I have a sample CSV like this:
time x y z
11/11/11 1 2 6
12/12/12 12 3 6
12/13/13 2 4 6
12/14/14 35 4 8
First, add the data (the file)
Secondly, configure the timestamp field (optional in this case) and timestamp format
Which for this example, looks like %m/%d/%y
- this is called strptime format
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

aljohnson_splun

Splunk Employee
01-09-2015
11:14 AM
You just need to configure the time when you input the data:
Say I have a sample CSV like this:
time x y z
11/11/11 1 2 6
12/12/12 12 3 6
12/13/13 2 4 6
12/14/14 35 4 8
First, add the data (the file)
Secondly, configure the timestamp field (optional in this case) and timestamp format
Which for this example, looks like %m/%d/%y
- this is called strptime format
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

aljohnson_splun

Splunk Employee
01-09-2015
11:15 AM
You may benefit from reading on how timestamp assignment works in Splunk
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sushmitha_mj
Communicator
01-09-2015
01:14 PM
That was a really simple fix !! Thank you so much .
