我已经下载了版本1.1.0的elasticsearch,它运行良好.我想安装marvel插件,所以我从elasticsearch主目录运行以下命令(完全像官方教程http://www.elasticsearch.org/guide/en/marvel/current/#_simple_install中所述) :
bin\plugin -i elasticsearch/marvel/latest
Run Code Online (Sandbox Code Playgroud)
但是我收到以下错误:
-> Installing elasticsearch/marvel/latest...
Trying http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip.
..
Trying http://search.maven.org/remotecontent?filepath=elasticsearch/marvel/lates
t/marvel-latest.zip...
Trying https://oss.sonatype.org/service/local/repositories/releases/content/elas
ticsearch/marvel/latest/marvel-latest.zip...
Trying https://github.com/elasticsearch/marvel/archive/vlatest.zip...
Trying https://github.com/elasticsearch/marvel/archive/master.zip...
Failed to install elasticsearch/marvel/latest, reason: failed to download out of
all possible locations..., use -verbose to get detailed information
Run Code Online (Sandbox Code Playgroud)
这就是我使用-verbose时得到的结果:
-> Installing elasticsearch/marvel/latest...
Trying http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip.
..
Failed: UnknownHostException[download.elasticsearch.org]
Trying http://search.maven.org/remotecontent?filepath=elasticsearch/marvel/lates
t/marvel-latest.zip...
Failed: UnknownHostException[search.maven.org]
Trying https://oss.sonatype.org/service/local/repositories/releases/content/elas
ticsearch/marvel/latest/marvel-latest.zip...
Failed: UnknownHostException[oss.sonatype.org]
Trying https://github.com/elasticsearch/marvel/archive/vlatest.zip...
Failed: UnknownHostException[github.com]
Trying https://github.com/elasticsearch/marvel/archive/master.zip...
Failed: UnknownHostException[github.com]
Failed to install elasticsearch/marvel/latest, reason: failed to download out of …Run Code Online (Sandbox Code Playgroud) 我已经安装了弹性搜索及其插件头,但是当我进入时
**url
"localhost:9200/_plugin/head/"**
Run Code Online (Sandbox Code Playgroud)
它没有显示任何东西?
我还安装了marvel/SENSE用于监控目的.我已经安装了插件/头部
sudo elasticsearch/bin/plugin -install mobz/elasticsearch-head
Run Code Online (Sandbox Code Playgroud)
但它也没有用.错误:在网址上找不到控制台 http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/sense_widget.html?snippets/010_Intro/10_Info.json
BTW我是弹性搜索的新手.所以,如果你能告诉我为什么它没有显示任何东西或者我犯了什么错误.
预先感谢!
是否可以安装Elasticsearch Marvel并让它不收集任何数据,将模板更改为0分片,0重复为我做这个?
我在弹性搜索沉浸的2小时内.我使用Marvel成功安装了ES(marvel.agent.enabled: false在config/elasticsearch.yml中),并且能够从Sense成功发出请求.我重新启动了我的开发机器,现在当我在Sense上发出以下请求时,它会响应:
Request failed to get to the server (status code: 0):
Elasticsearch may not be reachable or you may need to check your CORS settings.If CORS is enabled, try turning off Sense's Basic Authentication support under Setting (cog icon).This will result in a less strict CORS enforcement by the browser.
Please check the marvel documentation for more information.
Run Code Online (Sandbox Code Playgroud)
要求(来源):
PUT /megacorp/employee/1
{
"first_name" : "John",
"last_name" : "Smith",
"age" : 25,
"about" : "I love …Run Code Online (Sandbox Code Playgroud) 我当时可以注释掉一行#,但是有多行评论切换键盘快捷键吗?
我正在尝试使用下面的查询对下面的数据进行弹性搜索来执行术语聚合,输出将名称分解为标记(请参阅下面的输出).所以我尝试将os_name映射为multi_field,现在我无法通过它进行查询.是否有可能没有令牌的索引?比如"Fedora Core"?
查询:
GET /temp/example/_search
{
"size": 0,
"aggs": {
"OS": {
"terms": {
"field": "os_name"
}
}
}
}
Run Code Online (Sandbox Code Playgroud)
数据:
...
{
"_index": "temp",
"_type": "example",
"_id": "3",
"_score": 1,
"_source": {
"title": "system3",
"os_name": "Fedora Core",
"os_version": 18
}
},
{
"_index": "temp",
"_type": "example",
"_id": "1",
"_score": 1,
"_source": {
"title": "system1",
"os_name": "Fedora Core",
"os_version": 20
}
},
{
"_index": "temp",
"_type": "example",
"_id": "2",
"_score": 1,
"_source": {
"title": "backup",
"os_name": "Yellow Dog",
"os_version": 6 …Run Code Online (Sandbox Code Playgroud)
我无法在 elasticsearch 中安装 marvel 插件。我正在关注《Elasticsearch:The Definitive Guide》一书,但我陷入了安装 marvel 插件的困境。书中的cmd是
./bin/plugin -i elasticsearch/marvel/latest
Run Code Online (Sandbox Code Playgroud)
我更改为下面的内容,因为无论如何这都不起作用。
以下命令均无效。它说未知插件 marvel-agent 或未知插件许可证,对于 marvel 也是如此。
>>sudo bin/elasticsearch-plugin install license
>>sudo bin/elasticsearch-plugin install marvel-agent
>>sudo bin/elasticsearch-plugin install marvel
Run Code Online (Sandbox Code Playgroud)
我尝试安装不同的插件analysis-icu,它起作用了。但没有与 Marvel 合作
随着ElasticSearch新发布的Marvel,我想问一个问题,我们是否可以在创建索引时调整它创建的副本数量,即每次创建索引时.它目前创建一个主分片和一个副本分片.可以永久调整吗?
谢谢
副本更新
curl -XPUT localhost:9200/_template/marvel_custom -d '
{
"order" : 1,
"template" : ".marvel*",
"settings" : {
"number_of_replicas" : 0
}
}'
Run Code Online (Sandbox Code Playgroud) 我是 Elasticsearch 的新手,我正在使用Marvel开发控制台来运行感知查询。
当我运行查询 ( GET _cat/indices) 时,我看到结果,但看不到列标题。如何使用 sense/marvel 查看列标题?
我有一个5节点的elasticsearch集群,其中所有节点上的所有设置都是相同的.Marvel没有看到其中一个节点,在elasticsearch.log中我可以看到这些行一次又一次地重复:
[2015-05-07 02:44:13,814][ERROR][marvel.agent.exporter ] [ES_FOUR] error connecting to [[0:0:0:0:0:0:0:0]:9200] [Connection refused]
[2015-05-07 02:44:13,814][ERROR][marvel.agent.exporter ] [ES_FOUR] could not connect to any configured elasticsearch instances: [[0:0:0:0:0:0:0:0]:9200]
Run Code Online (Sandbox Code Playgroud)
节点都在同一个网络中,设置是相同的.任何想法可能是什么原因和检查什么来解决这个问题?
提前致谢.
嘿我正在使用marvel旁边elasticsearch,我试图避免使用curator清理看起来像".marvel-2015-*"的索引是否有一个特定的配置或一组配置,我可以用来完成这个.
注意:我正在使用chef来配置节点和logstash cookbook内部我在default.rb中设置属性就像这样
default['logstash']['instance_default']['curator_days_to_keep'] = 14
Run Code Online (Sandbox Code Playgroud)
我认为这会将这些指数的最大数量设置为14.但是当我添加一些假的".marvel-2015-*"指数时,它们仍会出现并且不会被清除.
我意识到我正在谈论使用奇迹curator和marvel自身的工具,但我是这些工具的新手,我需要帮助连接这些点.
理想情况下,我想让奇迹有自己删除这些索引的逻辑,我不知道是否有一些选项可以在plugins/marvel/marvel-1.3.1.jar中完成
任何帮助,将不胜感激.
我有这样的指数:
health status index pri rep docs.count docs.deleted store.size pri.store.size
yellow open .marvel-2015.08.15 1 1 11091 0 11.6mb 17.6mb
yellow open myindex 5 1 104321 14891 22.5mb 32.7mb
yellow open .marvel-2015.08.17 1 1 62214 0 70.2mb 90.9mb
Run Code Online (Sandbox Code Playgroud)
以".marvel"开头的索引每天都会创建.这些是什么?删除它们是否安全?