Re: [graylog2] ERROR: org.graylog2.indexer.Indexer - Failed to index [34] messages.

2016-07-08 Thread Tokhan T
Thankyou Florent B. My issue was solved by "Manually cycle deflector" too.

เมื่อ วันพฤหัสบดีที่ 12 มิถุนายน ค.ศ. 2014 14 นาฬิกา 55 นาที 52 วินาที 
UTC+7, Florent B เขียนว่า:
>
> Hi
>
> Ok  I solved it doing a "Manually cycle deflector" ;-)
>
> Thank you.
>
> On 06/11/2014 07:14 PM, Kay Röpke wrote:
>
> These are usually fields that used to contain a number but now are a 
> string. Thus incompatible.
> Without looking at the index and the messages no one can tell what the 
> problem is :(
> On Jun 11, 2014 6:46 PM, "Florent B" > 
> wrote:
>
>> Any idea for these errors ? :-)
>>
>> On 06/10/2014 06:32 PM, Florent B wrote:
>> > I am running 0.20.2 :)
>> >
>> > Server in debug mode is telling this :
>> >
>> > 2014-06-10 18:22:54,071 DEBUG:
>> > org.graylog2.outputs.BatchedElasticSearchOutput - Submitting new flush
>> > thread
>> > 2014-06-10 18:22:54,071 DEBUG:
>> > org.graylog2.outputs.BatchedElasticSearchOutput -
>> > [Thread[pool-9-thread-1,5,main]] Starting flushing 7 messages
>> > 2014-06-10 18:22:54,071 DEBUG: org.graylog2.outputs.ElasticSearchOutput
>> > - Writing <7> messages.
>> > 2014-06-10 18:22:54,073 DEBUG: org.graylog2.indexer.Indexer - Deflector
>> > index: Bulk indexed 7 messages, took 1 ms, failures: true
>> > 2014-06-10 18:22:54,073 ERROR: org.graylog2.indexer.Indexer - Failed to
>> > index [7] messages. Please check the index error log in your web
>> > interface for the reason.
>> >
>> >
>> > I added memory to ES nodes... restarted each node, waited cluster to be
>> > green... but still same messages...
>> >
>> > I did "Recalculate index ranges", still same errors...
>> >
>> > Nothing in ES logs (is debug needed?)
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "graylog2" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to graylog2+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "graylog2" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to graylog2+u...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/b7ac07ed-5f4b-4aeb-bbfb-08f94e2eff5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [graylog2] ERROR: org.graylog2.indexer.Indexer - Failed to index [34] messages.

2014-06-11 Thread Kay Röpke
These are usually fields that used to contain a number but now are a
string. Thus incompatible.
Without looking at the index and the messages no one can tell what the
problem is :(
On Jun 11, 2014 6:46 PM, "Florent B"  wrote:

> Any idea for these errors ? :-)
>
> On 06/10/2014 06:32 PM, Florent B wrote:
> > I am running 0.20.2 :)
> >
> > Server in debug mode is telling this :
> >
> > 2014-06-10 18:22:54,071 DEBUG:
> > org.graylog2.outputs.BatchedElasticSearchOutput - Submitting new flush
> > thread
> > 2014-06-10 18:22:54,071 DEBUG:
> > org.graylog2.outputs.BatchedElasticSearchOutput -
> > [Thread[pool-9-thread-1,5,main]] Starting flushing 7 messages
> > 2014-06-10 18:22:54,071 DEBUG: org.graylog2.outputs.ElasticSearchOutput
> > - Writing <7> messages.
> > 2014-06-10 18:22:54,073 DEBUG: org.graylog2.indexer.Indexer - Deflector
> > index: Bulk indexed 7 messages, took 1 ms, failures: true
> > 2014-06-10 18:22:54,073 ERROR: org.graylog2.indexer.Indexer - Failed to
> > index [7] messages. Please check the index error log in your web
> > interface for the reason.
> >
> >
> > I added memory to ES nodes... restarted each node, waited cluster to be
> > green... but still same messages...
> >
> > I did "Recalculate index ranges", still same errors...
> >
> > Nothing in ES logs (is debug needed?)
>
> --
> You received this message because you are subscribed to the Google Groups
> "graylog2" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to graylog2+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [graylog2] ERROR: org.graylog2.indexer.Indexer - Failed to index [34] messages.

2014-06-10 Thread Kay Röpke
Those messages usually contain data that is incompatible to data types
sent before for the same fields.
In 0.20.2 the indexer failures collection should have the appropriate
index so the timeout should not happen anymore.

Please also try this again with the server in debug mode to get more
information about the nature of this error.

Thanks!

On Tue, Jun 10, 2014 at 5:46 PM, Florent B  wrote:
> Hi all,
>
> My Graylog2-server cannot write messages to ElasticSearch.
>
> ES Cluster is green. Server is connected to it.
>
> I see in Server logs those errors :
>
> ERROR: org.graylog2.indexer.Indexer - Failed to index [34] messages.
> Please check the index error log in your web interface for the reason.
>
> When I go to /system/indices/failures I get a fresh "Oh no, something
> went wrong!" page:
>
>
> Stacktrace
>
> lib.ApiClientImpl$ApiRequestBuilder#execute (ApiClientImpl.java:432)
> models.ClusterService#getIndexerFailures (ClusterService.java:106)
> controllers.IndicesController#failures (IndicesController.java:82)
>
> Routes$$anonfun$routes$1$$anonfun$applyOrElse$65$$anonfun$apply$193#apply 
> (routes_routing.scala:1157)
>
> Routes$$anonfun$routes$1$$anonfun$applyOrElse$65$$anonfun$apply$193#apply 
> (routes_routing.scala:1157)
> play.core.Router$HandlerInvoker$$anon$7$$anon$2#invocation
> (Router.scala:183)
> play.core.Router$Routes$$anon$1#invocation (Router.scala:377)
> play.core.j.JavaAction$$anon$1#call (JavaAction.scala:56)
> play.GlobalSettings$1#call (GlobalSettings.java:64)
> play.mvc.Security$AuthenticatedAction#call (Security.java:45)
> play.core.j.JavaAction$$anon$3#apply (JavaAction.scala:91)
> play.core.j.JavaAction$$anon$3#apply (JavaAction.scala:90)
> play.core.j.FPromiseHelper$$anonfun$flatMap$1#apply
> (FPromiseHelper.scala:82)
> play.core.j.FPromiseHelper$$anonfun$flatMap$1#apply
> (FPromiseHelper.scala:82)
> scala.concurrent.Future$$anonfun$flatMap$1#apply (Future.scala:251)
> scala.concurrent.Future$$anonfun$flatMap$1#apply (Future.scala:249)
> scala.concurrent.impl.CallbackRunnable#run (Promise.scala:32)
> play.core.j.HttpExecutionContext$$anon$2#run
> (HttpExecutionContext.scala:37)
> akka.dispatch.TaskInvocation#run (AbstractDispatcher.scala:42)
> akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask#exec
> (AbstractDispatcher.scala:386)
> scala.concurrent.forkjoin.ForkJoinTask#doExec (ForkJoinTask.java:260)
> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue#runTask
> (ForkJoinPool.java:1339)
> scala.concurrent.forkjoin.ForkJoinPool#runWorker
> (ForkJoinPool.java:1979)
> scala.concurrent.forkjoin.ForkJoinWorkerThread#run
> (ForkJoinWorkerThread.java:107)
>
>
> How can I solve this ?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "graylog2" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to graylog2+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.