Seems like it's not parsing your CSV input correctly. Your data looks like it's just one field named message and every line in the CSV is just dumped into that field.
What do you see if you look at the data in Elasticsearch directly, either via the REST api, or even in the Discover tab?
Yeah i think you are correct but how can i sort this out, I am new to this.
I want the column names to be months and each column field has a number allocated.
I want the column names to be months and each column field has a number allocated.
I think this might be a misunderstanding of how the data model in Elasticsearch works here. Since it's just a document store, you end up structuring your data differently than if this were a relational thing (like SQL, for example). Every column you see in that table maps to a field in your documents, so you'd end up indexing a single document with fields for each month, and a value for each one. But that seems wrong... what you probably want to do it store information with a "month" field and some other field for the value, kind of like this:
{
"month": "January",
"value": 1
}
Then you'd let Elasticsearch do its thing and aggregate that into the data you want to look at.
Can you give me some sample of the original CSV data (even if you have to abstract it, I just want to understand the structure and what it means) and tell me what you're trying to visualize here? That would help me explain how you'd index the data and look at it in Kibana.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.