my Kibana skills are just starting with visualization.
i have successfully ingested the data to ES and now i need to create a stacked chart as per attached picture,
i needed to plot a stacked chart for 'TimeSpent' with 'Num_Objects' against different function Type, X axis should carry the @timestamp
If you'd like to split the TimeSpent based on the function_type, you can add a split series sub-aggregation with a terms aggregation on the "Function_Type" as displayed below:
I guess, i found my issue in my data, how i have ingested into ES.
my Num_Objects & TimeSpent both got mapped as in type :keyword, which needed to be number or integer.
do you have any suggestion? how can i convert the type from keyword to integer or number for data already indexed ?
even if i need to re-index the data how should point my own mapping? in filebeat or logstash ?
Hey @SarojELK, I'd suggest starting by creating a new Index and specifying the proper mappings per the docs. You can then point your newly ingested data at the new indices, and then use the Reindex API to copy over the historical data with the proper types.
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.