Questions tagged [riemann]

Riemann is a network event stream processing system written in Clojure.

Riemann is a network event stream processing system written in Clojure.

Webpage: https://riemann.io/

78 questions
1
vote
1 answer

Find a string in Riemann

I want to find the string in sentence using clojure in riemann. I have wrote the code using re-matches but I am facing some error while executing it. (smap (fn [events] (let [count-of-failures (count (re-matches #("POST*" (:Webservice…
Mangoski
  • 2,058
  • 5
  • 25
  • 43
1
vote
1 answer

Comparing event and adding new field in Riemann

I am facing one scenario. Let assume I have 3 events A, B and C which I am passing to Riemann. Event A have following fields :ExamNo 3890 :ExamResult Pass :Rank 8 Event B have following fields :ExamNo 3890 :ExamResult Pass :Rank…
Mangoski
  • 2,058
  • 5
  • 25
  • 43
1
vote
1 answer

riemann.io add jar to classpath

I have written custom clojure functions that I want to use in my riemann configuration. I am using leiningen to build jar file (with dependencies) containing my functions. What is the right way to include this jar file in the classpath when starting…
Viktor K.
  • 2,670
  • 2
  • 19
  • 30
1
vote
1 answer

Unable to install logtash contrib plugins?

I want to use logstash contrib plugin riemann in my config file. On running logstash error comes: An unexpected error occurred. This is probably a bug. | | You can find help with this problem in a few places: | | …
Siddharth Trikha
  • 2,648
  • 8
  • 57
  • 101
1
vote
0 answers

Riemann email assert failed?

I am using riemann output plugin in logstash and I want to alert using riemann when the user field is root. Logstash-config: if "server2-cronlog" in [tags]{ riemann { riemann_event => [ "service", "My…
Siddharth Trikha
  • 2,648
  • 8
  • 57
  • 101
1
vote
1 answer

ERROR: Failed to buld gem native extension?

I am installing riemann monitoring tool on my PC. I run the following command from terminal: Command: sudo gem install riemann-tools I get the following error: ERROR: Error installing riemann-tools: ERROR: Failed to build gem native…
Siddharth Trikha
  • 2,648
  • 8
  • 57
  • 101
1
vote
1 answer

riemann email exception with SMTP

I was able to set up riemann with SMTP. Riemann appears to send the email out when the condition is met but I observe an exception (copied below) - any insight on how to troubleshoot/fix this will be appreciated. Config (def email (mailer…
ali haider
  • 19,175
  • 17
  • 80
  • 149
1
vote
1 answer

riemann email setup issue

I am trying to set up riemann (for monitoring) with email alerts. I have used the following section in my riemann.config file but after reloading the config, I get the error copied below. Any thoughts on troubleshooting this will be greatly…
ali haider
  • 19,175
  • 17
  • 80
  • 149
0
votes
0 answers

What is riemann index size?

In the Riemann stream processing server, when we look at the internal Riemann metrics there is a metric value "Riemann index size"? What causes this value to increase? Is it based on the number of transport listeners configured to accept events…
Vipin Menon
  • 2,892
  • 4
  • 20
  • 35
0
votes
0 answers

Format riemann emails

I use riemann ruby client for email alerting. And my emails look like this: #riemann.codec.Event{:host "foo", :service "bar", :state "critical", :description "{\"exception\":\"some error\",\"datetime\":\"20210104061928\"..."} When the contents of…
0
votes
2 answers

Riemann sum python

I need to make a python function where i can find the surface with the riemann sum. This is what i have , and with the feedback of my teacher i am very close to it, but it does not work as properly as i want. the teacher said also something about…
Emre Emre
  • 21
  • 3
0
votes
1 answer

My function does not take floats: - "TypeError('only size-1 arrays can be converted to Python scalars')" (I think it has a quick fix!)

I wrote a code to use Riemann to calculate the area under certain function. It works well but when I set the boundaries to decimal number I get an error. I think I should tell the function I want to be able to enter floats but I don't see how. I …
DeMelkbroer
  • 629
  • 1
  • 6
  • 21
0
votes
0 answers

Cannot run riemann interactivity

Hello I am taking a class for college and I have ran into an error that states I have an unmatched delimiter. Does this error mean that my config file for riemann has an error?
0
votes
0 answers

Unrecognized symbol '<' in Riemann

(tcp-server {:host "127.0.0.1" :port 5555}) (let [userindex1 (default :ttl 300 (update-index (index)))]) (let [email (mailer {....email configuration})] (streams (where (service "log") (smap (fn…
Mangoski
  • 2,058
  • 5
  • 25
  • 43
0
votes
1 answer

How to use AND operation in Riemann

I have riemann code to trigger an email when both the condition were met . So I wrote a below code. (let [email (mailer {....email configuration})] (streams (where (service "log") (smap (fn [events] (let…
Mangoski
  • 2,058
  • 5
  • 25
  • 43