Skip to content

Commit 48d7f7e

Browse files
author
Oli McCormack
committed
Add docs on url parameter usage.
1 parent 6c048a3 commit 48d7f7e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.textile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ SegmentSpy is a tool to watch the segments in your indices. Segment graphs updat
66
| master | 0.17.0 -> 0.90.3 |
77

88
*Note*: SegmentSpy has only been tested on 0.20.2 - 0.90.3, but should work all the way back to 0.17.0 when the Segments API was implemented
9-
9+
1010
h3. Installation
1111

1212
To install SegmentSpy onto your node, run <code>bin/plugin -install polyfractal/elasticsearch-segmentspy</code>
1313

1414
SegmentSpy automatically connects to the host specified in the URL used to display the plugin. For example, if you are running a node on <code>localhost:9200</code>, point your browser to <code>http://localhost:9200/_plugin/segmentspy/</code>. The plugin will automatically connect to <code>localhost:9200</code> and begin parsing your cluster state.
15-
15+
Alternatively, it's possible to set a target host and refreshInterval via url parameters, for example:
16+
<code>http://localhost:8000/_site/#/myindex/?host=my-es-host.com:9200&refreshInterval=500</code>
1617

1718
!screenshot.png!
1819

@@ -38,4 +39,4 @@ Future versions will allow you to
3839
* More robust filtering of nodes/indices for large clusters
3940
* More?
4041

41-
This plugin is functional...but messy underneath. Developers beware! If you feel like helping out, fork SegmentSpy and make some changes!
42+
This plugin is functional...but messy underneath. Developers beware! If you feel like helping out, fork SegmentSpy and make some changes!

0 commit comments

Comments
 (0)