eq icon indicating copy to clipboard operation
eq copied to clipboard

List available indices or aliases?

Open xeraa opened this issue 5 years ago • 1 comments

Maybe this is just me, but I often forget what indices or aliases I have available. While curl could show that relatively quickly, it is extra mental overhead to switch tool and get the connection string right for each one (also not supporting the same environment variable or default).

So something like eq --indices and eq --aliases would IMO be a handy addition for a simpler workflow :)

xeraa avatar Mar 31 '21 02:03 xeraa

Thanks for the issue!

I'm keeping this tool exclusively focused on only querying results so I don't think I'll add options like --indices, but I have thought about having some support for generic curl-like usage that would wire up the connection string, which might look something like this

eq --request GET /_cat/indices

I'll keep this issue open in case that gets implemented.

Conky5 avatar Apr 01 '21 14:04 Conky5