Feature #2129
Render _time in human readable format
100%
Associated revisions
Making the _time field in CSV files represented as a time field
Closes #2129
History
#1 Updated by Luke Murphey about 7 years ago
Might have to edit makeRowJSON() too to make sure the conversion back to the original integer is correct.
I think the best approach would be to make getColumnsMetadata() return meta-data for CSV files.
#2 Updated by Luke Murphey about 7 years ago
- Status changed from New to In Progress
#3 Updated by Luke Murphey about 7 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
#4 Updated by Luke Murphey about 7 years ago
- Status changed from Closed to In Progress
- % Done changed from 100 to 90
#5 Updated by Luke Murphey about 7 years ago
When trying to remove a column I get the following error:
cannot remove column with object data source or columns option specified
#6 Updated by Luke Murphey about 7 years ago
This couldn't be done with a custom renderer.
I don't know how to convert this back to a epoch time though. The default renderer can be made to show the time in a human readable format but converting it back is a little difficult.
doSaveLookup() saves the lookup and I could wrap the getData() function to convert the values.
#7 Updated by Luke Murphey about 7 years ago
Wrapping getData() works except that editing the cell causes it to convert to an integer.
#8 Updated by Luke Murphey about 7 years ago
See https://docs.splunk.com/Documentation/Splunk/7.0.0/Admin/Transformsconf#transforms.conf.spec
- time_field
- time_format
If I want to use the strtime format, then I could use either of these:
#9 Updated by Anonymous about 7 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
Applied in changeset lookup-editor|r473.