Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currently "index" is ignored and anything at the end of hosts is treated as the index #40

Open
matrimcauthondf opened this issue Jan 10, 2023 · 0 comments

Comments

@matrimcauthondf
Copy link

matrimcauthondf commented Jan 10, 2023

This includes when a port is specified. Here are two examples

[2023-01-10T08:07:54,295][ERROR][logstash.javapipeline ][main][f715db3d065431772c370004948900ccf650a7a3365fec5d2e8813e8c1e994fe] A plugin had an unrecoverable error. Will restart this plugin. Pipeline_id:main Plugin: <LogStash::Inputs::OpenSearch password=><password>, hosts=>["HOST-NAME/pathfinder-dev:443"], query=>"{ \"query\": { \"match\": { \"statuscode\": 200 } }, \"sort\": [ \"_doc\" ] }", scroll=>"5m", index=>"pathfinder-dev", id=>"f715db3d065431772c370004948900ccf650a7a3365fec5d2e8813e8c1e994fe", user=>"USER-NAME", ecs_compatibility=>:disabled, enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_a58efca0-45a3-4cb6-92a6-e53cc2e0c88e", enable_metric=>true, charset=>"UTF-8">, size=>1000, docinfo=>false, docinfo_fields=>["_index", "_type", "_id"], connect_timeout_seconds=>10, request_timeout_seconds=>60, socket_timeout_seconds=>60, ssl=>false> Error: [404] {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [pathfinder-dev:443]","index":"pathfinder-dev:443","resource.id":"pathfinder-dev:443","resource.type":"index_or_alias","index_uuid":"_na_"}],"type":"index_not_found_exception","reason":"no such index [pathfinder-dev:443]","index":"pathfinder-dev:443","resource.id":"pathfinder-dev:443","resource.type":"index_or_alias","index_uuid":"_na_"},"status":404}


[2023-01-10T08:10:13,460][ERROR][logstash.javapipeline ][main][289dafd9c2c9b4665e086d5b4a5ce3fdf23cae7794022cef9238bd6e1ed7fe41] A plugin had an unrecoverable error. Will restart this plugin. Pipeline_id:main Plugin: <LogStash::Inputs::OpenSearch password=><password>, hosts=>["HOST/:443"], query=>"{ \"query\": { \"match\": { \"statuscode\": 200 } }, \"sort\": [ \"_doc\" ] }", scroll=>"5m", index=>"pathfinder-dev", id=>"289dafd9c2c9b4665e086d5b4a5ce3fdf23cae7794022cef9238bd6e1ed7fe41", user=>"USER-NAME", ecs_compatibility=>:disabled, enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_d1e5e2d4-0e70-465b-b5b6-5e00d2a1fe46", enable_metric=>true, charset=>"UTF-8">, size=>1000, docinfo=>false, docinfo_fields=>["_index", "_type", "_id"], connect_timeout_seconds=>10, request_timeout_seconds=>60, socket_timeout_seconds=>60, ssl=>false> Error: [404] {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [:443]","index":":443","resource.id":":443","resource.type":"index_or_alias","index_uuid":"_na_"}],"type":"index_not_found_exception","reason":"no such index [:443]","index":":443","resource.id":":443","resource.type":"index_or_alias","index_uuid":"_na_"},"status":404}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant