I want to create items with preprocessing and I j have to convert CVS to JSON . So follow is my CVS output
Timestamp,SP,LINK,Link Failure
2023-02-08 13:03:30,spa,spa_fc4,1.000
2023-02-08 13:03:30,spa,spa_fc5,5.000
2023-02-08 13:03:30,spa,spa_iom_1_fc0,1.000
2023-02-08 13:03:30,spa,spa_iom_1_fc1,5.000
2023-02-08 13:03:30,spa,spa_iom_1_fc2,1.000
2023-02-08 13:03:30,spa,spa_iom_1_fc3,5.000
2023-02-08 13:03:30,spb,spb_fc4,1.000
2023-02-08 13:03:30,spb,spb_fc5,5.000
2023-02-08 13:03:30,spb,spb_iom_1_fc0,1.000
2023-02-08 13:03:30,spb,spb_iom_1_fc1,16.00
2023-02-08 13:03:30,spb,spb_iom_1_fc2,1.000
2023-02-08 13:03:30,spb,spb_iom_1_fc3,4.000
and I set preprocessing such as attached pic but it does not work and I think relates to preprocessing JSON path . what is the issue ?
It is showing follow error :
Timestamp,SP,LINK,Link Failure
2023-02-08 13:03:30,spa,spa_fc4,1.000
2023-02-08 13:03:30,spa,spa_fc5,5.000
2023-02-08 13:03:30,spa,spa_iom_1_fc0,1.000
2023-02-08 13:03:30,spa,spa_iom_1_fc1,5.000
2023-02-08 13:03:30,spa,spa_iom_1_fc2,1.000
2023-02-08 13:03:30,spa,spa_iom_1_fc3,5.000
2023-02-08 13:03:30,spb,spb_fc4,1.000
2023-02-08 13:03:30,spb,spb_fc5,5.000
2023-02-08 13:03:30,spb,spb_iom_1_fc0,1.000
2023-02-08 13:03:30,spb,spb_iom_1_fc1,16.00
2023-02-08 13:03:30,spb,spb_iom_1_fc2,1.000
2023-02-08 13:03:30,spb,spb_iom_1_fc3,4.000
and I set preprocessing such as attached pic but it does not work and I think relates to preprocessing JSON path . what is the issue ?
It is showing follow error :
HTML Code:
Preprocessing failed for: [{"Timestamp":"2023-02-08 15:05:00","SP":"spa","LINK":"spa_fc4","Link Failure ":"1.000"},{"Timest...
1. Failed: cannot extract value from json by path "$.[?(@.LINK=="spa_fc4")].['Link Failure'].first()": no data matches the specified path
Comment