[ 
https://issues.apache.org/jira/browse/METRON-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16410130#comment-16410130
 ] 

ASF GitHub Bot commented on METRON-1465:
----------------------------------------

Github user nickwallen commented on a diff in the pull request:

    https://github.com/apache/metron/pull/946#discussion_r176538648
  
    --- Diff: metron-interface/metron-rest/src/main/scripts/metron-rest.sh ---
    @@ -36,6 +36,7 @@ 
METRON_SYSCONFIG="${METRON_SYSCONFIG:-/etc/default/metron}"
     METRON_LOG_DIR="${METRON_LOG_DIR:-/var/log/metron}"
     METRON_PID_FILE="${METRON_PID_FILE:-/var/run/metron/metron-rest.pid}"
     PARSER_CONTRIB=${PARSER_CONTRIB:-$METRON_HOME/parser_contrib}
    +INDEXING_CONTRIB=${INDEXING_CONTRIB:-$METRON_HOME/indexing_contrib}
    --- End diff --
    
    Just to avoid the issue of 'what is a good default' and to avoid defining 
the same default in two different locations (REST and Indexing script), I would 
recommend just removing this line from the scripts and so not defining a 
default.
    
    There is a file `/etc/default/metron` that gets laid down with a variety of 
different settings.  You can see that referred to here in line 35.  Eventually, 
that is probably where a value like this should be defined.  That would allow 
the MPack to set the value as needed and all scripts (indexing and REST) would 
be able to refer to the same value.  Of course, that is all future work.  I am 
not suggesting that we need Mpack changes now.



> X-pack support for Elasticsearch
> --------------------------------
>
>                 Key: METRON-1465
>                 URL: https://issues.apache.org/jira/browse/METRON-1465
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.4.2
>            Reporter: Ward Bekker
>            Priority: Major
>             Fix For: 0.4.3
>
>
> Provide support for X-pack secured Elasticsearch clusters for the 
> Elasticsearch writer and the DAO used by the rest service.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to