Re: Missing Elasticsearch forwarder config file
"Craig Gallen (opennms)" <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[email protected]> |
Hi David, By default the org.opennms.plugin.elasticsearch.rest.forwarder.cfg file doesn't exist. You have to create it using the template given in the OpenNMS admin documentation. There are settings in the file which will reduce the number of index fields created but we err on the side of creating more rather than less indexes because of the variety of possible use cases for the varbinds. Craig On 24-04-18 3:24 PM, Ostock,David J. wrote: > I've been struggling to get the opennms-es-rest plugin working to forward events from OpenNMS to Elasticsearch. > > After many false starts I'm finally making progress. Events are getting to Elasticsearch, but the index needs a lot of work. It's currently running with the default configuration and I'm seeing tons of irrelevant fields in the index. Looks like there are discrete fields for every received varbind. > > I was going to tweak the config file /etc/org.opennms.plugin.elasticsearch.rest.forwarder.cfg but it doesn't exist anywhere on the server. I'm working with OpenNMS 21.1.0 on both Windows Server 2012 R2 and CentOS 7.4 and the config file is missing on both. > > Anyone have any ideas why it's missing and how to get it back? > > Thanks, > Dave > > > > I’ve been struggling to get the opennms-es-rest plugin working to > forward events from OpenNMS to Elasticsearch. > > > > After many false starts I’m finally making progress. Events are getting > to Elasticsearch, but the index needs a lot of work. It’s currently > running with the default configuration and I’m seeing tons of irrelevant > fields in the index. Looks like there are discrete fields for every > received varbind. > > > > I was going to tweak the config file > /etc/org.opennms.plugin.elasticsearch.rest.forwarder.cfg but it doesn’t > exist anywhere on the server. I’m working with OpenNMS 21.1.0 on both > Windows Server 2012 R2 and CentOS 7.4 and the config file is missing on > both. > > > > Anyone have any ideas why it’s missing and how to get it back? > > > > Thanks, > > Dave > > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Please read the OpenNMS Mailing List FAQ: > http://www.opennms.org/index.php/Mailing_List_FAQ > > opennms-discuss mailing list > > To *unsubscribe* or change your subscription options, see the bottom of this page: > https://lists.sourceforge.net/lists/listinfo/opennms-discuss > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss