File upload issue with Data Visualizer in Kibana

I am trying to upload a simple JSON file
but getting following error:

[illegal_argument_exception]: Could not find a timestamp in the sample provided

Explanation so far:

[Using character encoding [UTF-8], which matched the input with [15%] confidence - first [8kB] of input was pure ASCII]

[Not NDJSON because there was a parsing exception: [Unexpected end-of-input: expected close marker for Object (start marker at [Source: (org.elasticsearch.xpack.textstructure.structurefinder.NdJsonTextStructureFinderFactory$ContextPrintingStringReader); line: 1, column: 2]) at [Source: (org.elasticsearch.xpack.textstructure.structurefinder.NdJsonTextStructureFinderFactory$ContextPrintingStringReader); line: 1, column: 3]]]

any help?

It looks like a timestamp field is required when uploading a json file, "For structured file formats, it is not compulsory to have a timestamp in the file"

There is an open issue for uploading json without at timestamp to allowing uploading files without timestamps. Please comment on this issue.

As a work around, maybe you could add a timestamp field?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.