Is there any way to insert json data without metadata lines on ES or Kibana? or automatically creating index lines?
My data looks like this.
{"time_slot":"2013-12-31T15:00:00.000Z","line_num":"1호선","line_num_en":"Line 1","station_name":"서울역","station_name_kr":"서울역","station_name_en":"Seoul Station","station_name_chc":"-","station_name_ch":"首?站","station_name_jp":"ソウルヨク","station_geo":{"lat":37.554648,"lon":126.972559},"people_in":91,"people_out":172}
I know Using bulk API, json data should be with metadata index lines
{"index": {"_index" : "seoul-metro_2014-2","_type":"kr-subway","_id":"0"}}
{"time_slot":"2013-12-31T15:00:00.000Z","line_num":"1호선","line_num_en":"Line 1","station_name":"서울역","station_name_kr":"서울역","station_name_en":"Seoul Station","station_name_chc":"-","station_name_ch":"首?站","station_name_jp":"ソウルヨク","station_geo":{"lat":37.554648,"lon":126.972559},"people_in":91,"people_out":172}
But real data doesn't have meta data lines,
{"index": {"_index" : "seoul-metro_2014-2","_type":"kr-subway","_id":"0"}}
so I just wondering if I wanna use bulk API on ES,
Should I put every metadata lines to raw json data? But if data's huge, How can I insert to ES?