Hello. First, thank you for what all of you do for the community.
I have an issue with Graylog communicating with my elasticsearch node.
I have Graylog and elasticsearch running on a single box for testing. I installed it manually onto an Ubuntu system, so it’s not a VM. It’s been working fine until recently when I tried to search my logs.
suddenly the logs are no longer displaying and I get the following error message: “cannot GET http://192.168.2.131:9000/api/search/universal/relative?query=gl2_source_collector%3Ad796ba21-6c8e-466d-a3c9-6ac8129545e3&range=604800&limit=150&sort=timestamp%3Adesc (500)”
Here’s my graylog.conf setup:
is_master: true
node_id_file = /etc/graylog/server/node-id
password_secret =xxxxxxxx
root_password_sha2 =xxxxxxxx
root_timezone = UTC (by the way if anyone knows how to change this to California or Pacific time that would be awesome)
bin_dir = /usr/share-graylog-server/bin
http_bind_address = 192.168.2.131:9000
rotation_strategy = count
elasticsearch_max_docs_per_index = 20000000
elasticsearch_max_number_of_indices = 20
retention_strategy = delete
elasticsearch_shards = 4
elasticsearch_replicas = 0
elasticsearch_index_prefix = graylog
allow_leading_wildcard_searches = false
allow_highlighting = false
elasticsearch_analyzer = standard
output_batch_size = 500
output_flush_interval = 1
output_fault_count_threshold = 5
output_fault_penalty_seconds = 30
processbuffer_processors = 5
outputbuffer_processors = 3
processor_wait_strategy = blocking
ring_size = 65536
inputbuffer_ring_size = 65536
inputbuffer_processors = 2
inputbuffer_wait_strategy = blocking
message_journal_enabled = true
message_journal_dir = /var/lib/graylog-server/journal
lb_recognition_period_seconds = 3
mongodb_uri = mongodb://localhost/graylog
mongodb_max_connections = 1000
mongodb_threads_allowed_to_block_multiplier = 5
proxied_requests_thread_pool_size = 32
Here’s my Elasticsearch.yml info:
cluster.name: greylog
action.auto_create_index: false
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
Attached is my graylog.log screenshot