new SearchManager({
id: "mysearch1",
earliest_time: "-24h@h",
latest_time: "now",
search: "openstack::* node::* command=w |dedup node|eval critical = if( load2 > 1.25,load2,0)|table node load2 critical",
});
Console error:
TypeError: e.replace is not a function
...ngToFieldList(e))},s=function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}...
I guess you got a "comma" after the "search" param, thus the function not ending properly
Try using Following code:
new SearchManager({
id: "mysearch1",
earliest_time: "-24h@h",
latest_time: "now",
search: "openstack::* node::* command=w |dedup node|eval critical = if( load2 > 1.25,load2,0)|table node load2 critical"
});
Please note: Removed the last comma (just after search string).
Thanks!!