Not able to see the data in LogTrail Plugin of Kibana

Hi,

I have installed logtrail plugin in Kibana, I am not able to see the data in logtrail, but I am able to view the data in Kibana dashboard.
Here is my logtrail.json file:

{
"index_patterns" : [
{
"es": {
"default_index": "filebeat-*",
"allow_url_parameter": false
},
"tail_interval_in_seconds": 10,
"es_index_time_offset_in_seconds": 0,
"display_timezone": "Etc/UTC",
"display_timestamp_format": "MMM DD HH:mm:ss",
"max_buckets": 500,
"default_time_range_in_days" : 0,
"max_hosts": 100,
"max_events_to_keep_in_viewer": 5000,
"fields" : {
"mapping" : {
"timestamp" : "@timestamp",
"display_timestamp" : "@timestamp",
"hostname" : "hostname",
"program": "program",
"message": "syslog_message"
},
"message_format": "{{{syslog_message}}}"
},
"color_mapping" : {
"field": "level",
"mapping" : {
"0": "#ff0000",
"1": "#ff3232",
"2": "#ff4c4c",
"3": "#ff7f24",
"4": "#ffb90f",
"5": "#a2cd5a"
}
}
}
]
}

Here is my Logstash Conf file:

input {
beats {
port => 5044
ssl => true
ssl_certificate => "/etc/pki/tls/certs/logstash-forwarder.crt"
ssl_key => "/etc/pki/tls/private/logstash-forwarder.key"
}
}

filter {
if [type] == "syslog" {
grok {
match => { "message" => "%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:[%{POSINT:syslog_pid}])?: %{GREEDYDATA:syslog_message}" }
add_field => [ "received_at", "%{@timestamp}" ]
add_field => [ "received_from", "%{host}" ]
}
syslog_pri { }
date {
match => [ "syslog_timestamp", "MMM d HH:mm:ss", "MMM dd HH:mm:ss" ]
}
}
}

output {
elasticsearch {
hosts => ["localhost:9200"]
sniffing => true
manage_template => false
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
}
}

Please help me in resolving this, I got struck here for past two days :frowning_face:

Sounds like this a logtrail issue, have you tried reaching out to https://github.com/sivasamyk/logtrail for help?

Yeah Nathan,

I have followed the same link, I am not getting the data in the Logtrail plugin.

Regards,
Venkat

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