{"action":"closed","issue":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/803","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/803/labels{/name}","comments_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/803/comments","events_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/803/events","html_url":"https://github.com/Graylog2/graylog2-server/issues/803","id":51278415,"number":803,"title":"Service loading order is wrong","user":{"login":"lennartkoopmann","id":35022,"avatar_url":"https://avatars.githubusercontent.com/u/35022?v=3","gravatar_id":"","url":"https://api.github.com/users/lennartkoopmann","html_url":"https://github.com/lennartkoopmann","followers_url":"https://api.github.com/users/lennartkoopmann/followers","following_url":"https://api.github.com/users/lennartkoopmann/following{/other_user}","gists_url":"https://api.github.com/users/lennartkoopmann/gists{/gist_id}","starred_url":"https://api.github.com/users/lennartkoopmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennartkoopmann/subscriptions","organizations_url":"https://api.github.com/users/lennartkoopmann/orgs","repos_url":"https://api.github.com/users/lennartkoopmann/repos","events_url":"https://api.github.com/users/lennartkoopmann/events{/privacy}","received_events_url":"https://api.github.com/users/lennartkoopmann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Graylog2/graylog2-server/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/Graylog2/graylog2-server/labels/startup%2Fshutdown","name":"startup/shutdown","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"login":"kroepke","id":52014,"avatar_url":"https://avatars.githubusercontent.com/u/52014?v=3","gravatar_id":"","url":"https://api.github.com/users/kroepke","html_url":"https://github.com/kroepke","followers_url":"https://api.github.com/users/kroepke/followers","following_url":"https://api.github.com/users/kroepke/following{/other_user}","gists_url":"https://api.github.com/users/kroepke/gists{/gist_id}","starred_url":"https://api.github.com/users/kroepke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroepke/subscriptions","organizations_url":"https://api.github.com/users/kroepke/orgs","repos_url":"https://api.github.com/users/kroepke/repos","events_url":"https://api.github.com/users/kroepke/events{/privacy}","received_events_url":"https://api.github.com/users/kroepke/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/milestones/31","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/milestones/31/labels","id":872659,"number":31,"title":"0.93","description":"","creator":{"login":"joschi","id":43951,"avatar_url":"https://avatars.githubusercontent.com/u/43951?v=3","gravatar_id":"","url":"https://api.github.com/users/joschi","html_url":"https://github.com/joschi","followers_url":"https://api.github.com/users/joschi/followers","following_url":"https://api.github.com/users/joschi/following{/other_user}","gists_url":"https://api.github.com/users/joschi/gists{/gist_id}","starred_url":"https://api.github.com/users/joschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschi/subscriptions","organizations_url":"https://api.github.com/users/joschi/orgs","repos_url":"https://api.github.com/users/joschi/repos","events_url":"https://api.github.com/users/joschi/events{/privacy}","received_events_url":"https://api.github.com/users/joschi/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":12,"state":"open","created_at":"2014-11-19T11:46:12Z","updated_at":"2015-01-03T09:30:44Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2014-12-08T10:10:18Z","updated_at":"2015-01-03T09:30:44Z","closed_at":"2015-01-03T09:30:44Z","body":"When starting with a clean ES you get a lot of error messages until the deflector has been setup successfully. Can be reproduced by starting against a clean ES setup.\r\n\r\n```\r\n2014-12-08 09:51:23,651 ERROR: org.graylog2.outputs.BatchedElasticSearchOutput - Unable to flush message buffer\r\norg.elasticsearch.indices.IndexMissingException: [graylog2_deflector] missing\r\n\tat org.elasticsearch.cluster.metadata.MetaData.concreteIndices(MetaData.java:735)\r\n\tat org.elasticsearch.cluster.metadata.MetaData.concreteIndices(MetaData.java:673)\r\n\tat org.elasticsearch.cluster.metadata.MetaData.concreteSingleIndex(MetaData.java:717)\r\n\tat org.elasticsearch.action.bulk.TransportBulkAction.executeBulk(TransportBulkAction.java:209)\r\n\tat org.elasticsearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:158)\r\n\tat org.elasticsearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:65)\r\n\tat org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:65)\r\n\tat org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:51)\r\n\tat org.elasticsearch.client.node.NodeClient.execute(NodeClient.java:85)\r\n\tat org.elasticsearch.client.support.AbstractClient.bulk(AbstractClient.java:154)\r\n\tat org.graylog2.indexer.messages.Messages.bulkIndex(Messages.java:113)\r\n\tat org.graylog2.outputs.ElasticSearchOutput.write(ElasticSearchOutput.java:100)\r\n\tat org.graylog2.outputs.BatchedElasticSearchOutput.synchronousFlush(BatchedElasticSearchOutput.java:98)\r\n\tat org.graylog2.outputs.BatchedElasticSearchOutput.access$000(BatchedElasticSearchOutput.java:41)\r\n\tat org.graylog2.outputs.BatchedElasticSearchOutput$1.run(BatchedElasticSearchOutput.java:112)\r\n\tat com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:744)\r\n2014-12-08 09:51:24,126 INFO : org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 5.0.0.Final\r\n2014-12-08 09:51:24,610 ERROR: org.graylog2.outputs.BatchedElasticSearchOutput - Unable to flush message buffer\r\norg.elasticsearch.indices.IndexMissingException: [graylog2_deflector] missing\r\n\tat org.elasticsearch.cluster.metadata.MetaData.concreteIndices(MetaData.java:735)\r\n\tat org.elasticsearch.cluster.metadata.MetaData.concreteIndices(MetaData.java:673)\r\n\tat org.elasticsearch.cluster.metadata.MetaData.concreteSingleIndex(MetaData.java:717)\r\n\tat org.elasticsearch.action.bulk.TransportBulkAction.executeBulk(TransportBulkAction.java:209)\r\n\tat org.elasticsearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:158)\r\n\tat org.elasticsearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:65)\r\n\tat org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:65)\r\n\tat org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:51)\r\n\tat org.elasticsearch.client.node.NodeClient.execute(NodeClient.java:85)\r\n\tat org.elasticsearch.client.support.AbstractClient.bulk(AbstractClient.java:154)\r\n\tat org.graylog2.indexer.messages.Messages.bulkIndex(Messages.java:113)\r\n\tat org.graylog2.outputs.ElasticSearchOutput.write(ElasticSearchOutput.java:100)\r\n\tat org.graylog2.outputs.BatchedElasticSearchOutput.synchronousFlush(BatchedElasticSearchOutput.java:98)\r\n\tat org.graylog2.outputs.BatchedElasticSearchOutput.access$000(BatchedElasticSearchOutput.java:41)\r\n\tat org.graylog2.outputs.BatchedElasticSearchOutput$1.run(BatchedElasticSearchOutput.java:112)\r\n\tat com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:744)\r\n2014-12-08 09:51:25,609 INFO : org.graylog2.indexer.Deflector - Did not find an deflector alias. Setting one up now.\r\n2014-12-08 09:51:25,609 INFO : org.graylog2.indexer.Deflector - There is no index target to point to. Creating one now.\r\n2014-12-08 09:51:25,610 ERROR: org.graylog2.outputs.BatchedElasticSearchOutput - Unable to flush message buffer\r\norg.elasticsearch.indices.IndexMissingException: [graylog2_deflector] missing\r\n\tat org.elasticsearch.cluster.metadata.MetaData.concreteIndices(MetaData.java:735)\r\n\tat org.elasticsearch.cluster.metadata.MetaData.concreteIndices(MetaData.java:673)\r\n\tat org.elasticsearch.cluster.metadata.MetaData.concreteSingleIndex(MetaData.java:717)\r\n\tat org.elasticsearch.action.bulk.TransportBulkAction.executeBulk(TransportBulkAction.java:209)\r\n\tat org.elasticsearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:158)\r\n\tat org.elasticsearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:65)\r\n\tat org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:65)\r\n\tat org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:51)\r\n\tat org.elasticsearch.client.node.NodeClient.execute(NodeClient.java:85)\r\n\tat org.elasticsearch.client.support.AbstractClient.bulk(AbstractClient.java:154)\r\n\tat org.graylog2.indexer.messages.Messages.bulkIndex(Messages.java:113)\r\n\tat org.graylog2.outputs.ElasticSearchOutput.write(ElasticSearchOutput.java:100)\r\n\tat org.graylog2.outputs.BatchedElasticSearchOutput.synchronousFlush(BatchedElasticSearchOutput.java:98)\r\n\tat org.graylog2.outputs.BatchedElasticSearchOutput.access$000(BatchedElasticSearchOutput.java:41)\r\n\tat org.graylog2.outputs.BatchedElasticSearchOutput$1.run(BatchedElasticSearchOutput.java:112)\r\n\tat com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:744)\r\n2014-12-08 09:51:25,611 INFO : org.graylog2.indexer.Deflector - Cycling deflector to next index now.\r\n2014-12-08 09:51:25,611 INFO : org.graylog2.indexer.Deflector - Cycling from <none> to <graylog2_0>\r\n2014-12-08 09:51:25,611 INFO : org.graylog2.indexer.Deflector - Creating index target <graylog2_0>...\r\n2014-12-08 09:51:26,541 INFO : org.graylog2.indexer.Deflector - Done!\r\n```"}}