I'm working on a beat to pull in GPU/CPU temperature data into Elasticsearch.
My date is correctly parsed from "yyyy'-'MM'-'dd'T'HH':'mm':'ss" into a date time. You can see my original object datetimestamp vs the same data in the discover pane.
My index marks this as a date, and the data is visible within discover, but when I attempt to add it as a time tracking method within a Lens, it shows that it is empty and lists it as an empty field.
I've attempted to search for a solution, but I'm not finding the specific answer. Thank you for your time.
Note: I used Kibana's index template builder to build my index. Here is the JSON from the preview pane:
{
"template": {
"settings": {
"index": {
"routing": {
"allocation": {
"include": {
"_tier_preference": "data_content"
}
}
},
"refresh_interval": "5s",
"blocks": {
"read_only_allow_delete": "false"
},
"query": {
"default_field": [
"computername",
"ipaddress",
"cpuname",
"cputemps.*",
"gpuname",
"gputemp",
"datatimestamp"
]
},
"priority": "1",
"number_of_replicas": "1",
"write": {
"wait_for_active_shards": "1"
}
}
},
"mappings": {
"dynamic_templates": [
{
"cputemps.*": {
"path_match": "cputemps.*",
"mapping": {
"type": "double"
}
}
}
],
"runtime": {
"datetimestamp": {
"type": "date"
}
},
"properties": {
"computername": {
"type": "text"
},
"cpuname": {
"type": "text"
},
"gpuname": {
"type": "text"
},
"gputemp": {
"type": "double"
},
"ipaddress": {
"type": "ip"
}
}
},
"aliases": {}
}
}