Windows 시스템의 Logstash에 로그 파일을 공급하려고합니다. http://logstash.net/docs/1.1.13/tutorials/getting-started-simple에서 튜토리얼을 따라했는데 이제 "계속하기"부분에 머물러 있습니다. 이처럼 내 logstash-simple.conf 파일이 모습입니다 : 나는 등 슬래시의 조합, 역 슬래시, 모든 종류의 시도Windows에서 Logstash 구성
input {
stdin {
type => "stdin-type"
}
file {
type => "syslog"
# Wildcards work, here :)
path => [ "C:/Results/test.txt" ]
}
}
output {
stdout { }
elasticsearch { embedded => true }
}
, 그리고는 "파일 이름, 디렉터리 이름 또는 볼륨을 얻을 레이블 구문이 잘못되었습니다. "
팁이 있습니까?
또한 - 내가 C :/Results/*를 지정하면 반복적으로 디렉토리를 조사 할 것입니까 (그리고 해당 디렉토리에는 여러 하위 디렉토리가 있습니까)?
나는 "경로"와 "패턴"을 의미하지 않는다고 생각합니다. – machinery