Giter Club home page Giter Club logo

riemann-elastic's People

Contributors

tnn1t1s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

riemann-elastic's Issues

Any reason es-index shouldn't work from (expired) ?

Hi @tnn1t1s , thanks for riemann-elastic!

I've wired it into my Riemann instance and I'm able to use es-index to forward Riemann events to ES from (streams) and they show up in the ES index. However, when i try to forward events from (expired), i don't see those show up in ES.

Here is what works:

...
(streams
  (elastic/es-index "riemann-elastic" :index "myindex")
...
)

But this doesn't work:

...
  (expired
    (elastic/es-index "riemann-elastic" :index "myindex")
    ...
  )
...

Is there any reason why calling es-index from (expired) shouldn't work?

Any hints or clues greatly appreciated...

attributes with dots

Since ES2.x dots are not allowed in field names:

MapperParsingException[Field name [facter.operatingsystem] cannot contain '.']

The natural way to handle this would IMHO be to coerce foo.bar = "baz" into {"foo": {"bar" : "baz"}}.
The problem is I'm not very good at clojure, so I'm kindly asking if this is a feature which would seem interesting and if somebody would be willing to point me into the right direction.

What scares me most is the need to handle this recursively. But isn't list all about recursion?

Authentication

Hello,

Can you recommend how to do basic authentication using this library? To connect to default Elasticsearch instances there typically a default login.

ex.
curl -su elastic:changeme 'http://localhost:9200/_search?q=*'

New to Riemann and Closure, just not 100% certain where to place the auth bits.

Thank you.

Ron

Smarter backpressure

I've noticed that if ES can't keep up with the data stream, we just start to "drop" events until ES catches up. If think that if the ES eb/bulk-with-index function is blocking, it could run in a loop which exerts backpressure onto the incoming events. The buffer for those events could drop them not as FIFO but instead trying to preserve an even distribution of values from across the time range.

This would hopefully give better information for understanding a system anomaly, by attempting to keep some data points where there would've been none.

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.