Parsing artifactory logs using 7.6.2

Hi there

I setup filebeat to send JFROG artifactory logs and it is not showing any logs i the filebeat Kibana.

here is my filebeat configuraion


  • input_type: log

    Paths that should be crawled and fetched. Glob based paths.

    path:

    • /var/opt/jfrog/artifactory/log/console.log
      document_type: artifactorylog
      #- c:\programdata\elasticsearch\logs*

here is my beats.conf on logstash server


input{
beats {
port => "5043"
}
}
filter {
if "artifactorylog" in [tags] {
grok {

filtesage" => "^%{TIMESTAMP_ISO8601:artifactory_timestamp} %{DATA:artifactory_thread_name} %{GREEDYDATA:loglevel} (%{GREEDYDATA:artifactory
_event_type}) - %{GREEDYDATA:artifactory_message}$" }
}
}
date {
match => [ "artifactory_timestamp", "YYYY-MM-dd HH:mm:ss,SSS" ]
}
output{
elasticsearch {
hosts => ["10.48.170.20:9200"]
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
}
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.