- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-01-2016 06:54 AM
I have syslog analyzer created from prototype stdlib.localSyslog. Now I want it to send matching results to logstash but on remote not local server where MM is running. Default is I think below (host is 127.0.0.1), where do I change host address ?
input {
tcp {
port => 5514
host => '127.0.0.1'
codec => 'json_lines'
}
}
12-01-2016 10:07 AM
Looking at this deeper looks like you can find the current prototype then create a new one from it and change the host.
12-01-2016 10:03 AM
Looks like that configuraiton is under /opt/minemeld/prototypes/current/stdlib.yml
So I would think you could clone the prototype of stdlib.yml to the /opt/minemeld/local/prototypes and then modify as needed?
localSyslogToLogStash:
author: MineMeld Core Team
development_status: EXPERIMENTAL
node_type: processor
description: >
Syslog node connection to the local syslog server to receive PAN-OS logs.
This prototype also logs matching sessions/indicators pairs to a Logstash
instance on localhost:5514
class: minemeld.ft.syslog.SyslogMatcher
config:
logstash_host: 127.0.0.1
logstash_port: 5514
12-01-2016 10:07 AM
Looking at this deeper looks like you can find the current prototype then create a new one from it and change the host.
12-01-2016 10:30 AM
I've created it but I dont see COMMIT active and cannot commit.. So I dont see it as avail node yet
12-01-2016 10:40 AM
I believe once you create the new prototype you then have to create a new Node that utilizes that prototype, then you can commit.
12-01-2016 10:45 AM
Also once you have created the new prototype it will store the config in /opt/minemeld/local/prototypes so if you need to change the logstash host and port you can edit the minemeldlocal.yml file.
12-02-2016 07:22 AM
Shouldn't my new prototype be visabl ein th elist of new prototypes (in CONFIG tab ) ? I can only find it when I click 'browes prototypes' icon. Before, when I created syslog_analyzer from stdlib.localSyslog it is available in CONFIG tab. I think something is not right..
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!