草庐IT

logstash-configuration

全部标签

android - 错误 :Could not resolve all files for configuration ':app:debugCompileClasspath'

这是来自日志的完整消息:错误:无法解析配置“:app:debugCompileClasspath”的所有文件。Couldnotfindcom.android.support:appcompat-v7:26.1.0.Searchedinthefollowinglocations:file:/C:/Users/Anatoly/AppData/Local/Android/Sdk/extras/m2repository/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.pomfile:/C:/Users/Anatoly/Ap

elasticsearch - Logstash - ElasticSearch - Kibana::延迟 10 秒或更长时间

我部署了一个默认的“elasticsearch”(ubuntu14.04,ESv1.2)堆栈,从redis到Kibana。我在发送时发送一个带有当前日期的@now值,Elasticsearch分配他自己的@timestamp。好吧,如果你计算(@timestamp-@now)会有超过10秒(有时甚至一分钟)的滞后/延迟。这是正常行为吗?我没有对我的实例进行太多调整,但我发送的事件很少,看起来不像是性能/内存/IO问题。欢迎任何提示。 最佳答案 一路上你至少有5个软件(你没有提到你使用的是哪个托运人)。首先,当您查看结果时,请确保一切

redis - redis、logstash 和 Elasticsearch 的解析问题

我在aws上设置了两个节点,我的架构如下Logstash托运主机Aredis-logstash-elastic搜索主机B我们尝试使用shipper解析日志,它对第一个日志文件工作正常。我再次尝试解析第二个文件,连接已正确建立。但是文件解析没有开始。我的问题是需要删除redis的任何缓存或任何类似.sincedb的文件。 最佳答案 是的,如果你想重新解析,你需要删除所有的.sincedb文件。请引用here.除此之外,如果你想从头开始解析文件,还要确保你已经设置了start_position。到开始。

elasticsearch - 当使用 redis 作为 logstash 的输入时,获取 redis 列表比插入它慢?

我已经按照下面网上的说明建立了一个日志虚拟化系统http://michael.bouvy.net/blog/en/2013/11/19/collect-visualize-your-logs-logstash-elasticsearch-redis-kibana/登录磁盘-->logstash-forwarder---------->redis-->logstash-->elasticsearch一切顺利,直到添加四台服务器将它们的日志发送到我的中央日志收集服务器。redis服务器的内存随着时间的推移而增加,最终当所有内存被消耗时崩溃。我用redis-cli监控查了一段时间,发现rpu

ios - react native 构建错误 : Could not read optimization profile file (even after change optimization configuration)

我试图通过此video中的步骤解决一些规定问题,之后构建过程不断报告错误。该视频中的步骤是:1.项目->清理2.项目->构建3.项目->执行Action->生成优化文件4.启用优化它确实帮助我在连接的设备上运行该应用程序。但在此之后,构建过程不断失败,并显示以下错误消息:无法读取配置文件[我的项目文件夹]/node_modules/react-native/React/OptimizationProfiles/React.profdata:没有这样的文件或目录在SO上看了几个小时之后,我尝试了以下不同的方法,但都没有奏效:1)GotoProject->BuildSetting->App

spring - 正确的 mvc :interceptor configuration in Spring

我有点问题。我需要在这个拦截器中调用每个请求的postHandle方法:publicclassDiMenuInterceptorextendsHandlerInterceptorAdapter{@AutowiredprivateIDiCategoryServicecategoryService;@OverridepublicvoidpostHandle(HttpServletRequestrequest,HttpServletResponseresponse,Objecthandler,ModelAndViewmodelAndView)throwsException{modelAndV

spring - 正确的 mvc :interceptor configuration in Spring

我有点问题。我需要在这个拦截器中调用每个请求的postHandle方法:publicclassDiMenuInterceptorextendsHandlerInterceptorAdapter{@AutowiredprivateIDiCategoryServicecategoryService;@OverridepublicvoidpostHandle(HttpServletRequestrequest,HttpServletResponseresponse,Objecthandler,ModelAndViewmodelAndView)throwsException{modelAndV

elasticsearch - Redis 与 RabbitMQ 作为介于 Logstash 和 elasticsearch 之间的数据代理/消息系统

关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。我们不允许提问寻求书籍、工具、软件库等的推荐。您可以编辑问题,以便用事实和引用来回答。关闭5个月前。社区在5个月前审查了是否重新打开此问题,然后将其关闭:原始关闭原因未解决Improvethisquestion我们正在定义一种架构,通过安装在各种机器上的Logstashshippers收集日志信息,并在一个elasticsearch服务器中集中索引数据,并使用Kibana作为图形层。我们需要在Logstashshippers和elasticsearch之间建立一个可靠的消息传递系统来授权交付。在选择R

spring - Kotlin 无法在使用 @Configuration @EnableWebMvc 注释的类中创建 @Autowired 字段

Autowired字段在初始化项目时为null:packagecom.lynas.configimportorg.springframework.stereotype.Componentimportorg.springframework.web.servlet.handler.HandlerInterceptorAdapterimportjavax.servlet.http.HttpServletRequestimportjavax.servlet.http.HttpServletResponse@ComponentopenclassInterceptorConfig:HandlerI

java - Spring 3中@Component和@Configuration的区别

我遇到了Spring3提供的两个注释(@Component和@Configuration)我对这些有点困惑。这是我读到的关于@Component的内容Putthis“context:component”inthebeanconfigurationfile,itmeans,enabletheauto-scanningfeatureinSpring.Thebase-packageisindicatewhereareyourcomponentsstored,Springwillscanthisfolderandfindoutthebean(annotatedwith@Component)an