Giter Site home page Giter Site logo

Comments (4)

tredman avatar tredman commented on August 18, 2024

Hi - which terraform example are you using? Looks like cloudwatch-logs-json.tf?

This error is normal if a time field name has been specified but cannot be found in the event being processed. We use the time field name to assign the right timestamp to the event, otherwise the current time (time.Now()) is set.

The time field name is defined in the terraform config like this:

      TIME_FIELD_FORMAT = "%s(%L)?"
      TIME_FIELD_NAME = "start_time"

If your event has a timestamp field, you could use this to set that field name (and time format). Alternatively, setting "" for both values will use the current time when sending the event.

I should update the docs/comments to make this more clear. I'll leave this open and have a look at it during the week. Also happy to help if you have other questions.

from agentless-integrations-for-aws.

analytically avatar analytically commented on August 18, 2024

Hi, yeah this is from vpc-flow-logs.tf. It seems that some VPC flow logs come with start timestamp while others don't.

from agentless-integrations-for-aws.

analytically avatar analytically commented on August 18, 2024

I think the issue is TIME_FIELD_FORMAT. In your example it's set to "%s(%L)?" while VPC flow logs only include unix seconds.

from agentless-integrations-for-aws.

MikeGoldsmith avatar MikeGoldsmith commented on August 18, 2024

We’re going to close this for now. Feel free to re-open, if it’s still relevant.

from agentless-integrations-for-aws.

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.