-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ML] Data Visualizer to accept data without timestamp #60196
Comments
Pinging @elastic/ml-ui (:ml) |
It does accept data without a timestamp, providing the data is in a highly structured format like NDJSON, CSV, TSV, semi-colon separated, etc. It needs a timestamp for semi-structured log data because the rule for "what is the first line of each message" is "the line with the timestamp on". If you think your data was CSV or some other delimited format then the real question here is, what was the thing that made the file structure finder think it was not possible to import as CSV? Sending the file direct to the backend There are a number of things that could come out of this if the file was CSV:
|
Thank you @droberts195
The data file is I think the error was due to the missing values in the company field. I deleted the company fields and successfully loaded the CSV file. The modified CSV file is I hope Data Visualizer would be more generous to allow missing values and agree that it would be helpful if we can see the explanation from Kibana. |
Yes, so It's hard for the file structure finder to ignore discrepancies in numbers of CSV fields per row because then there could be a lot of semi-structured text log files that would get misdetected as CSV. However, if the format was allowed to be overridden even when the initial analysis fails then elastic/elasticsearch#38890 would help because if you explicitly said your file was CSV then differences in numbers of fields per line could be treated as some lines having blanks at the end. |
Sounds great! Let me close it in favor of elastic/elasticsearch#38890 |
Kibana version: 7.6.1
Describe the feature:
Currently Data Visualizer produces the following error when we try to load to upload a data file without timestamp:
It would be more helpful if Data Visualizer accepts data without timestamp.
Describe a specific use case for the feature:
It was enough for Data Visualizer to load only data with timestamp because Elastic Machine Learning (anomaly detection) only handled data with timestamp, but 7.6 introduced other features like classification which does not require timestamp and I think it would be helpful if Data Visualizer accepts data without timestamp.
The text was updated successfully, but these errors were encountered: