Git Product home page Git Product logo

Comments (7)

mtojek avatar mtojek commented on July 17, 2024 2

I'm fine with this as a PoC, but in the longer run, wow about creating our own tool that can run inside an integration dir? Only minded to work on a single integration, able to run tests and also help on the development

Actually we a chat about it with @ruflin to use a dedicated tool that you can use in different repos (integrations, package-storage). I'm happy to follow this path as I'm not a fan of mage :)

from integrations.

mtojek avatar mtojek commented on July 17, 2024

@skh Shall I ask you to respond to this question?

Re 1: what modifications does Kibana apply to the ingest pipeline? Let's say I need to apply same modifications and install the pipeline in ES manually.

from integrations.

skh avatar skh commented on July 17, 2024

IngestManager / EPM replaces '{{IngestPipeline "some-pipeline" }}' with "PACKAGEPREFIX-some-pipeline".

PACKAGEPREFIX will look like: "logs-PACKAGE.DATASET-VERSION".

We rename all pipelines before installation by prefixing them with PACKAGEPREFIX so the name of the referenced pipeline matches.

from integrations.

mtojek avatar mtojek commented on July 17, 2024

Thank you, @skh !

from integrations.

exekias avatar exekias commented on July 17, 2024

From my experience, mage is not a great tool for this for the following reason: mage belongs in a main directory, so you need to run it form there, because of that, you add parameters to tell mage what integration to look into. The list of parameters tends to grow and it is not really usable, as they are not passed as flags that you can document.

I'm fine with this as a PoC, but in the longer run, wow about creating our own tool that can run inside an integration dir? Only minded to work on a single integration, able to run tests and also help on the development

from integrations.

ruflin avatar ruflin commented on July 17, 2024

I assume your step 3 will get a bit more complex. It will require the agent to be run with the stream template and fill in the config variables, as otherwise you will not know how to read and process the log locally. This is basically the code in https://github.com/elastic/beats/blob/master/filebeat/tests/system/test_modules.py but finally implemented in Golang.

from integrations.

mtojek avatar mtojek commented on July 17, 2024

I think we have a plan for this so resolving.

from integrations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.