Feature request: "outputIndexFunction" for Elasticsearch writer

2019-12-19 Thread Vladimir Mikhailov
Hi HDFS Writer has great functionality for defining the destination folder for indexing data: { "index": "bro", "batchSize": 5, "outputPathFunction": "FORMAT('uid-%s', uid)" } https://github.com/apache/metron/blob/master/metron-platform/metron-writer/README.md#hdfs-writer Is it possible

Re: Feature request: "outputIndexFunction" for Elasticsearch writer

2019-12-19 Thread Otto Fowler
What might even be more interesting would be to have stellar evaluate conditions and set the index based on the evaluation: pseudo: IF ( parser == BRO ) THEN match(FIELD =x) index = y or something On December 19, 2019 at 05:14:01, Vladimir Mikhailov ( v.mikhai...@content-media.ru) wrote: Hi

Re: Metron MaaS Issue

2019-12-19 Thread Casey Stella
Sorry for the late reply. Try adding: import sys,os sys.path.append(os.getcwd()) On Fri, Dec 13, 2019 at 11:53 PM Hema malini wrote: > Hi, > > I am not sure whether i am facing an issue or it's a bug . I try to deploy > the sample Maas script in metron it works perfectly. In the model > colla