Displaying All Events From Xirgo and Enfora Devices in your FAST Application
In some cases you may want to expose all event types from devices in your Foundation application. By default the application suppresses certain events that may not provide a lot of value to end users. With that being said, these same events can provide tremendous value during development and for debugging purposes. To expose these events is a simple one-line code change that you can make to your Rails application.
In /opt/ublip/rails/current/app/views/reports/all.rhtml change the following (around line 30) from:
to:
This will display all events we capture from the Enfora and Xirgo devices. Keep in mind that the change above will remove any hyperlinks to different reports. You can still access the reports from the navigation menu and if you’re inclined you can expose all events in /opt/ublip/rails/current/app/views/reports/_event_display.rhtml while keeping the hyperlinks. We’ll save that for a future article. If you have any questions feel free to post them in our applications forum.
