Hi Jochen,

Yes elasticsearch is running on same machine. I have removed white space
and removed unicast host setting as suggested by you however still same
error is coming.
On 04-Sep-2016 22:46, "Jochen Schalanda" <[email protected]> wrote:

> Hi Karan,
>
> is Elasticsearch running on the same machine as Graylog?
>
> Try removing your elasticsearch_discovery_zen_ping_unicast_hosts setting
> (it's the default anyway) and remove the leading whitespace in your
> Elasticsearch configuration file (e. g. in front of the cluster.name
> setting).
>
> Cheers,
> Jochen
>
> On Saturday, 3 September 2016 08:47:44 UTC+2, Karan Chandok wrote:
>>
>> Hello,
>>
>> I have installed graylog-server-2.0.3-1 along with elasticsearch 2.3.2
>>
>> my elastic search is working fine.
>>
>> Curl output :-
>>
>> curl -X GET "http://localhost:9200";
>> {
>>   "name" : "Inza",
>>   "cluster_name" : "graylog2",
>>   "version" : {
>>     "number" : "2.3.2",
>>     "build_hash" : "b9e4a6acad4008027e4038f6abed7f7dba346f94",
>>     "build_timestamp" : "2016-04-21T16:03:47Z",
>>     "build_snapshot" : false,
>>     "lucene_version" : "5.5.0"
>>   },
>>   "tagline" : "You Know, for Search"
>> }
>>
>> But graylog is not connecting to elasticsearch cluster. Following message
>> is there in logs file.
>>
>> Log :- 2016-09-03T06:01:11.963Z INFO  [HttpServer] [HttpServer-1]
>> Started.
>> 2016-09-03T06:01:11.964Z INFO  [RestApiService] Started REST API at <
>> http://127.0.0.1:12900/>
>> 2016-09-03T06:01:14.741Z WARN  [IndexerSetupService] Could not connect to
>> Elasticsearch
>> 2016-09-03T06:01:14.741Z INFO  [IndexerSetupService] If you're using
>> multicast, check that it is working in your network and that Elasticsearch
>> is accessible. Also check that the cluster name setting is correct.
>> 2016-09-03T06:01:14.743Z INFO  [IndexerSetupService] See
>> http://docs.graylog.org/en/2.0/pages/configuration/elasticsearch.html
>> for details.
>> 2016-09-03T06:01:14.744Z INFO  [ServiceManagerListener] Services are
>> healthy
>> 2016-09-03T06:01:14.744Z INFO  [ServerBootstrap] Services started,
>> startup times in ms: {JournalReader [RUNNING]=2, MetricsReporterService
>> [RUNNING]=4, InputSetupService [RUNNING]=5, KafkaJournal [RUNNING]=16,
>> OutputSetupService [RUNNING]=39, BufferSynchronizerService [RUNNING]=49,
>> PeriodicalsService [RUNNING]=83, WebInterfaceService [RUNNING]=2307,
>> RestApiService [RUNNING]=5456, IndexerSetupService [RUNNING]=8233}
>> 2016-09-03T06:01:14.744Z INFO  [InputSetupService] Triggering launching
>> persisted inputs, node transitioned from Uninitialized [LB:DEAD] to
>> Running [LB:ALIVE]
>> 2016-09-03T06:01:14.748Z INFO  [ServerBootstrap] Graylog server up and
>> running.
>> 2016-09-03T06:01:21.527Z INFO  [IndexRangesCleanupPeriodical] Skipping
>> index range cleanup because the Elasticsearch cluster is unreachable or
>> unhealthy
>> 2016-09-03T06:02:06.520Z INFO  [IndexerClusterCheckerThread] Indexer not
>> fully initialized yet. Skipping periodic cluster check.
>> 2016-09-03T06:02:36.521Z INFO  [IndexerClusterCheckerThread] Indexer not
>> fully initialized yet. Skipping periodic cluster check.
>> 2016-09-03T06:03:06.523Z INFO  [IndexerClusterCheckerThread] Indexer not
>> fully initialized yet. Skipping periodic cluster check.
>>
>> I have attached my elasticsearch and graylog configurations files. Please
>> help me and suggest what I am doing wrong as I am a beginner in this.
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Graylog Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/graylog2/qnXhVTJEUXo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/graylog2/4c069c85-34f7-4c79-873d-a0211c730807%40googlegroups.com
> <https://groups.google.com/d/msgid/graylog2/4c069c85-34f7-4c79-873d-a0211c730807%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/CAKVWUYDL2LNaK6HZcNU8ar543TY0mqvy%3D%3Dtnr%3DN772eOH0rBZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to