Sunday, January 19, 2020

Logstash/Elastiflow netflow codec using wrong path (am running on windows) how to change the path?

getting this error.

[2020-01-19T15:07:32,705][ERROR][logstash.codecs.netflow ] Invalid setting for netflow codec plugin:

codec {

netflow {

# This setting must be a path

# File does not exist or cannot be opened /etc/logstash/elastiflow/definitions/ipfix.yml

ipfix_definitions => "/etc/logstash/elastiflow/definitions/ipfix.yml"

...

}

}

[2020-01-19T15:07:32,716][ERROR][logstash.codecs.netflow ] Invalid setting for netflow codec plugin:

codec {

netflow {

# This setting must be a path

# File does not exist or cannot be opened /etc/logstash/elastiflow/definitions/netflow.yml

netflow_definitions => "/etc/logstash/elastiflow/definitions/netflow.yml"

...

}

}

i have it under C:\ElasticSearch\logstash-7.5.1. so of course there isn't a /etc/ folder. I was going to run it under linux although kept running into issues when it came to java.



No comments:

Post a Comment