Giter Club home page Giter Club logo

Comments (5)

opendevl avatar opendevl commented on June 14, 2024 1

@ebvjr could try the below configuration:

setup:
  template:
    name: "testbeat"
    pattern: "testbeat*"
  ilm:
    enabled: true
    rollover_alias: "testbeat"
    pattern: "{now/d}-000001"

output.elasticsearch:
  hosts: ["http://localhost:9200"]
  username: "elastic"
  password: "changeme"
  index: "testbeat-%{[agent.version]}"

This should give a result like testbeat-1.4.3-2020.01.14-000001

Thanks

from o365beat.

chris-counteractive avatar chris-counteractive commented on June 14, 2024

Thanks for the issue Eduardo, I'll reproduce it and see if I can track down the problem and get you a resolution. I think all that's handled by libbeat, but perhaps I made a change that affected it without realizing.

Did you run the setup command against your elastic instance before shipping the logs? Thanks again.

from o365beat.

chris-counteractive avatar chris-counteractive commented on June 14, 2024

@ebvjr - was @opendevl's suggestion able to fix your issue? If so, I'll capture it in the docs. Thanks to both of you!

from o365beat.

ebvjr avatar ebvjr commented on June 14, 2024

Yes. thank you!

from o365beat.

chris-counteractive avatar chris-counteractive commented on June 14, 2024

Glad to hear it, @ebvjr, and thank you again to @opendevl for the suggested fix. I see how o365beat.reference.yml led you astray, it suggests including agent.version in setup.name and setup.pattern. Unfortunately that's an artifact of the build process which concatenates libbeat/_meta/config.reference.yml.tmpl with our o365beat reference template, and we don't control those examples.

I'll mention the fix in the docs, but I don't plan to re-write that libbeat reference template during the build ... there may be other bugs in there that we won't catch, and then we'll have signed up to keep it correct forever 😃. Please feel free to file an issue or PR for the upstream reference template!

Thanks again.

from o365beat.

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.