json.file
[
{
"sku":"00000290",
"categories":"1_brands,1_restaurant_equipment,2_brand_rm_gastro,2_food_holding_and_warming_equipment,3_steam_heaters_and_buffets,4_bain_marie_heaters,categoryE7E7163",
"family":"TV",
"box_height_estimate_boolean":"1"
},
{
"sku":"00003165",
"categories":"1_brands,1_spare_parts,2_brand_rm_gastro,2_product_type,3_planetary_mixers_spare_parts_and_accessories,4_panetary_mixer_bowls,categoryE7E7163",
"family":"Blender",
"box_height_estimate_boolean":"1"
}
]
logstash:
input{
file {
type => "json"
path => "C:/json-file.json"
start_position => "beginning"
sincedb_path => "NUL"
}
}
filter {
json {
source => "message"
}
}
output{
elasticsearch {
hosts => "http://localhost:9200"
index => "original-data"
user => "elastic"
password => "b==KITDnO6dxMapRJ7BH"
}
stdout{}
}
ERROR MESSAGE:
Not eligible for data streams because config contains one or more settings that are not compatible with data streams: {"index"=>"original-data"}