Hi!
There's a setting for the graylog2 index prefix. Can you try to set that
differently and see if it solves your issue?

Cheers,
Kay
On May 27, 2014 10:35 AM, "Dmitri Stoljarov" <[email protected]>
wrote:

> Hi,
>
> I'm trying to setup two graylog2 instances (v 0.20.2) on one Elasticsearch.
> I have changed *rest_listen_uri* and *rest_transport_uri* to different
> ports (22900 in my case) and *elasticsearch_transport_tcp_port = 7350*.
> Also i'm using different mongo databases.
> When i start graylog2 server i get deflector errors:
>
> 2014-05-27 10:56:59,882 WARN :
> org.graylog2.periodical.DeflectorManagerThread - Deflector is not up. Not
> trying to point to another index.
> 2014-05-27 10:56:59,885 ERROR:
> org.graylog2.periodical.DeflectorManagerThread - Tried to check for number
> of messages in current deflector target but did not find index. Aborting.
> org.graylog2.indexer.NoTargetIndexException
>         at
> org.graylog2.indexer.Deflector.getNewestTargetNumber(Deflector.java:174)
>         at
> org.graylog2.indexer.Deflector.getNewestTargetName(Deflector.java:208)
>         at
> org.graylog2.periodical.DeflectorManagerThread.point(DeflectorManagerThread.java:53)
>         at
> org.graylog2.periodical.DeflectorManagerThread.run(DeflectorManagerThread.java:41)
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> 2014-05-27 10:57:02,144 INFO :
> org.glassfish.jersey.server.ApplicationHandler - Initiating Jersey
> application, version Jersey: 2.5 2013-12-18 14:27:29...
> 2014-05-27 10:57:03,655 INFO : org.graylog2.Core - Started REST API at <
> http://127.0.0.1:22900/>
> 2014-05-27 10:57:03,659 INFO : org.graylog2.Main - Graylog2 up and running.
>
>
> Is there's a way to set different deflector names for different graylog2
> servers running on same host which are using same Elasticsearch?
>
> regards,
>
> --
> 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 [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to