[graylog2] Grok pattern convert to int

2016-04-07 Thread Alexey Chuenko
I'm extracting a number from http log using the following grok pattern: %{NUMBER:timetoload;int}. When I try to "Generate chart" against this field I receive error: Could not create field graph. Field graphs are only available for numeric fields. Also trying to search for entries with

[graylog2] Re: Graylog Collector: 'Unable to send heartbeat...'

2016-04-07 Thread Jochen Schalanda
Hi, all stable releases of the Graylog Collector are currently incompatible with Graylog 2.0.0-beta*. Please subscribe to https://github.com/Graylog2/collector/pull/85 for updates on this issue. Cheers, Jochen On Wednesday, 6 April 2016 17:59:51 UTC+2, ob1 wrote: > > Hi Folks, > > Running

[graylog2] Re: Graylog (Invoking external Java Classes from graylog drl file fails with a compilation [class cannot be resolved ]

2016-04-07 Thread rajarshi bhattacharjee
Kay, Yes i tried with source class file being in classpath , below are the snippet of the exception i am getting, Am i missing something ARN : org.graylog2.rules.DroolsEngine - Unable to add rules due to compilation errors. org.graylog2.rules.RulesCompilationException: Message [id=1,

[graylog2] Re: Graylog (Invoking external Java Classes from graylog drl file fails with a compilation [class cannot be resolved ]

2016-04-07 Thread rajarshi bhattacharjee
Hi Kay, Thanks for your prompt reply. Please correct me if i am wrong , creating a standalone jar with a compiled .class and referencing the jar file through import should solve it , or i need to add it to graylog build as per graylog plugin.I d be more inclined towards a standalone jar

[graylog2] Re: Graylog 1.3.4 OVA install issue

2016-04-07 Thread Jochen Schalanda
Hi Quentin, please refer to our Getting Started Guide (see http://docs.graylog.org/en/1.3/pages/getting_started.html) for information how to set up the virtual appliance. You can restart the Graylog web interface using the graylog-ctl script (see

[graylog2] Re: Cannot access web-interface with preset login/password

2016-04-07 Thread Jochen Schalanda
Hi Milo, please use the hash 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8 (which is "password"), put it into your server configuration file, and restart Graylog. Try to login with that password ("password") afterwards. If this works, your password hash has been wrong. If

[graylog2] Re: Nodes- Connection to machines

2016-04-07 Thread Jochen Schalanda
Hi Sikender, the loopback interface is always only accessible from the very same machine, so your client or browser also needs to run on that machine in order to access the Graylog REST API at http://127.0.0.1:12900/. If that's already the case, then

[graylog2] Re: Graylog (Invoking external Java Classes from graylog drl file fails with a compilation [class cannot be resolved ]

2016-04-07 Thread Kay Roepke
Hi! It looks like you put the Java source file onto the classpath, which doesn't work. You need to compile it as part of your build (possibly as a graylog plugin, or manually and then adding it to the classpath). The resulting file name ends with .class, not .java. The imports look good to

Re: [graylog2] Question: can I apply an extractor to only specific sources?

2016-04-07 Thread Perry Smolenaars
Hi Joi, Thanks for your answer. I understand the "Only attempt extraction if field ..." option but the incoming messages have a great number of variables. So i was looking into how to get the src ip as a filter, but I was under the impression this can't be done since the src ip is not

[graylog2] Re: Graylog (Invoking external Java Classes from graylog drl file fails with a compilation [class cannot be resolved ]

2016-04-07 Thread rajarshi bhattacharjee
On Wednesday, 6 April 2016 15:20:32 UTC+5:30, rajarshi bhattacharjee wrote: > > I am actually new to graylog and frankly not quite aware of how graylog > is triggering the drools rule engine so it might be a very simple question > with an obvious solution which is somehow escaping me . > > >