[graylog2] Re: Custom GrayLog Web Plugin Error "Cannot read property 'call' of undefined"
Jochen, I was able to get everything working. Took quite a bit of effort. It had to have something to do with the version I pulling down among a few other things. WIth that said, it is working and I'm able to run it on v2.1.3 just fine. Here's the link: https://github.com/billmurrin/graylog-plugin-quickvaluesplus-widget If you guys have a chance to check it out and have any feedback, I'm all ears. Thanks to you guys for taking the time to respond. Take Care, Bill On Friday, February 3, 2017 at 2:34:05 AM UTC-10, Jochen Schalanda wrote: > Hi Bill, > > On Friday, 3 February 2017 13:00:19 UTC+1, Bill Murrin wrote: >> >> Any assistance you can provide would be appreciated. Here is a link to >> the plugin to see if you guys might be able to help me figure out what is >> causing it. Once we figure this out, I plan on sharing the plugin on the >> marketplace and my Github page. >> > > Why not put it on GitHub now so we can see the code? > > Cheers, > Jochen > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/5d70510d-acbd-40e7-9684-2afceceb8759%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[graylog2] Re: Custom GrayLog Web Plugin Error "Cannot read property 'call' of undefined"
Hi Bill, On Friday, 3 February 2017 13:00:19 UTC+1, Bill Murrin wrote: > > Any assistance you can provide would be appreciated. Here is a link to the > plugin to see if you guys might be able to help me figure out what is > causing it. Once we figure this out, I plan on sharing the plugin on the > marketplace and my Github page. > Why not put it on GitHub now so we can see the code? Cheers, Jochen -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/9015b475-010a-4f55-97f3-bc8070b4817e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[graylog2] Re: Custom GrayLog Web Plugin Error "Cannot read property 'call' of undefined"
I managed to get all of the features working for QuickValuesPlus plugin and it works perfectly in the web-dev environment using GrayLog 2.1.3. However, when I build the JAR for the plugin (mvn package) using 2.1.3 it BUILDS successfully, but after I add the plugin to Graylog and restart it, I get the following error: Uncaught TypeError: Cannot read property 'call' of undefined at t (vendor.js:1) at Object. (plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:2911) at __webpack_require__ (plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:20) at Object. (plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:2905) at __webpack_require__ (plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:20) at _URI (plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:139) at Object. (plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:147) at __webpack_require__ (plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:20) at Object. (plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:101) at __webpack_require__ (plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:20) at Object. (plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:49) at __webpack_require__ (plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:20) at plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:40 at plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:43 Researching online, I've turned minification for the code to see if that helped (It didn't). Any assistance you can provide would be appreciated. Here is a link to the plugin to see if you guys might be able to help me figure out what is causing it. Once we figure this out, I plan on sharing the plugin on the marketplace and my Github page. https://www.dropbox.com/s/7wrmveulup0gx08/graylog-plugin-quick-values-plus-widget-1.0.0.jar?dl=0 Thanks in advance, -Bil On Monday, January 30, 2017 at 7:46:54 PM UTC-10, Bill Murrin wrote: > > Hi everyone, > > I'm attempting to build a web plugin that will also act as a Field > Analyzer. > > After much frustration and various undocumented errors, I've been able to > build the package successfully! :-) > > When I add the plugin, it shows up as a plugin, but does not act > accordingly. > > When I look at the Page Code, I see the following: > > Uncaught TypeError: Cannot read property 'call' of undefined > at t (vendor.js:1) > at Object. > (plugin.Plugin.0c250351f8fb2b358bf1.js:2905) > at __webpack_require__ > (plugin.Plugin.0c250351f8fb2b358bf1.js:20) > at Object. > (plugin.Plugin.0c250351f8fb2b358bf1.js:2899) > at __webpack_require__ > (plugin.Plugin.0c250351f8fb2b358bf1.js:20) > at _URI (plugin.Plugin.0c250351f8fb2b358bf1.js:139) > at Object. > (plugin.Plugin.0c250351f8fb2b358bf1.js:147) > at __webpack_require__ > (plugin.Plugin.0c250351f8fb2b358bf1.js:20) > at Object. > (plugin.Plugin.0c250351f8fb2b358bf1.js:101) > at __webpack_require__ > (plugin.Plugin.0c250351f8fb2b358bf1.js:20) > at Object. > (plugin.Plugin.0c250351f8fb2b358bf1.js:49) > at __webpack_require__ > (plugin.Plugin.0c250351f8fb2b358bf1.js:20) > at plugin.Plugin.0c250351f8fb2b358bf1.js:40 > at plugin.Plugin.0c250351f8fb2b358bf1.js:43 > > I would appreciate any help or suggestions that can be provided. > > Thanks in advance. > > -Bill > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/bd0f9e7d-a360-4f82-9478-1d43c5501150%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[graylog2] Re: Custom GrayLog Web Plugin Error "Cannot read property 'call' of undefined"
Hi Bill, please make sure that the plugin was built against the matching version of Graylog and that your browser doesn't cache an old version of the JavaScript assets. Cheers, Jochen On Tuesday, 31 January 2017 06:46:54 UTC+1, Bill Murrin wrote: > > Hi everyone, > > I'm attempting to build a web plugin that will also act as a Field > Analyzer. > > After much frustration and various undocumented errors, I've been able to > build the package successfully! :-) > > When I add the plugin, it shows up as a plugin, but does not act > accordingly. > > When I look at the Page Code, I see the following: > > Uncaught TypeError: Cannot read property 'call' of undefined > at t (vendor.js:1) > at Object. > (plugin.Plugin.0c250351f8fb2b358bf1.js:2905) > at __webpack_require__ > (plugin.Plugin.0c250351f8fb2b358bf1.js:20) > at Object. > (plugin.Plugin.0c250351f8fb2b358bf1.js:2899) > at __webpack_require__ > (plugin.Plugin.0c250351f8fb2b358bf1.js:20) > at _URI (plugin.Plugin.0c250351f8fb2b358bf1.js:139) > at Object. > (plugin.Plugin.0c250351f8fb2b358bf1.js:147) > at __webpack_require__ > (plugin.Plugin.0c250351f8fb2b358bf1.js:20) > at Object. > (plugin.Plugin.0c250351f8fb2b358bf1.js:101) > at __webpack_require__ > (plugin.Plugin.0c250351f8fb2b358bf1.js:20) > at Object. > (plugin.Plugin.0c250351f8fb2b358bf1.js:49) > at __webpack_require__ > (plugin.Plugin.0c250351f8fb2b358bf1.js:20) > at plugin.Plugin.0c250351f8fb2b358bf1.js:40 > at plugin.Plugin.0c250351f8fb2b358bf1.js:43 > > I would appreciate any help or suggestions that can be provided. > > Thanks in advance. > > -Bill > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/4b671bac-57bc-472e-bc1a-f254d3159872%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.