Come join our live training webinar every other Wednesday at 11am PST and hear LogicMonitor experts explain best practices and answer common questions. We understand these are uncertain times, and we are here to help!
This output plugin sends Logstash events to the LogicMonitor logs ingestion API.
The Logstash plugin can be installed through Ruby Gems. Run the following command on your Logstash instance:
logstash-plugin install logstash-output-lmlogs
The following is an example of the minimum configuration needed for the Logstash plugin. You can append more settings into the configuration file. See the parameters tables below.
access_id => "access_id"
access_key => "access_key"
portal_name => "account-name"
property_key => "hostname"
lm_property => "system.sysname"
Note: The syntax for message_key and property_key values are available in the Logstash Event API Documentation.
The Logstash plugin can be built in Docker by running the following command:
docker-compose run jruby gem build logstash-output-lmlogs.gemspec
If you are not seeing logs in LM Logs:
In This Article