Logstash, Elasticsearch & Kibana의 조합을 Windows 7 환경에서 사용하는 데 어려움을 겪고 있습니다.Logstash가 색인 오류 누락으로 인해 파일을 가져 오지 못함
모두 3 개를 설정했는데 모두 잘 돌아가고있는 것으로 보입니다. Logstash 및 Elasticsearch는 Windows 서비스 및 Kibana를 IIS의 웹 사이트로 실행 중입니다.
Logstash 내가 형식이 .txt에서 로그 파일을 생성하는 웹 응용 프로그램을 http://localhost:9200
에서 실행 :
Datetime=[DateTime], Value=[xxx]
로그 파일이 디렉토리에 생성 얻을 :
D:\wwwroot\Logs\Errors\
내 logstash.conf 파일은 다음과 같습니다 :
input {
file {
format => ["plain"]
path => ["D:\wwwroot\Logs\Errors\*.txt"]
type => "testlog"
}
}
output {
elasticsearch {
embedded => true
}
}
내 키바 config.js 파일은 다음과 같습니다 : 나는 인덱스를 생성하는 방법에 대한 아무 생각이
No index found at
http://localhost:9200/_all/_mapping
. Please create at least one index.If you're using a proxy ensure it is configured correctly.
, 그렇다면 : 나는 키바를 볼 때
define(['settings'],
function (Settings) {
return new Settings({
elasticsearch: "http://localhost:9200",
kibana_index: "kibana-int",
panel_names: [
'histogram',
'map',
'pie',
'table',
'filtering',
'timepicker',
'text',
'fields',
'hits',
'dashcontrol',
'column',
'derivequeries',
'trends',
'bettermap',
'query',
'terms'
]
});
});
내가 오류를 참조 누구든지 제가 잘못하고있는 일에 대해 큰 비중을 줄 수 있습니다.
이 보이는 상태로 elasticsearch 머리 플러그인 elasticsearch-에서 콘텐츠를 모니터링하는 얻을 것? 로그 저장으로 색인 생성을 시작 했습니까? logstash가 로그 파일에 들어 오나요? – javanna
Windows에서 중앙 집중식 또는 독립 실행 형 버전으로 logstash를 실행합니까? Windows에서 중앙 집중식 옵션을 사용하는 방법을 찾으려고 했으므로 사용할 수 없습니다. 당신이 그것을 만든다면 어떤 도움이 나를 위해 매우 귀중 할 것입니다. http://stackoverflow.com/questions/23907747/centralized-log-files-using-windows-server – foc