Hmm. sincedb_path should point to a file, not a directory. Does /var/log/logstash exist on your system? If it does, is it a directory or a file? Logstash should fail upon startup if it exists as a directory.
i mean how can i create that logstash will send data to Kibana from 2 different devices with 2 different index pattern ?
i have this path as a folder but logstash running and working without any errors , i will remove this line , but how can i delete all fields with time and that it wont create them again ?
Oh, right. Just delete all messages with such fields. You can use Elasticsearch's delete by query API. But since you're obviously still in the testing phase, why not just start over again or ignore these fields
and how can i make that it wont create them again ?
If you've fixed your configuration it won't happen again. This is a good example why it's a good idea to inspect messages with e.g. the stdout output before you actually start sending data to Elasticsearch.
well i entered to kibana path
Kibana doesn't have any local storage so I don't know what you mean. Are you actually talking about Elasticsearch? Don't inspect Elasticsearch's state by looking at the file system. Use a cluster dashboard plugin like kopf or ElasticHQ instead.
Kibana doesn't have any local storage so I don't know what you mean. Are you actually talking about Elasticsearch? Don't inspect Elasticsearch's state by looking at the file system. Use a cluster dashboard plugin like kopf or ElasticHQ instead.
i mean the path of elasticsearch
/var/lib/logstash/data/elasticsearch/nodes/1/
so why when i configured type for Firewall and Windows i have those folders ? when all of them are from fortigate . why its not take traffic,event,app-ctrl under 1 folder with the name Firewall-*
(I haven't tested if TIMESTAMP_ISO8601 actually matches your timestamp. This config snippet is just an example.)
so why when i configured type for Firewall and Windows i have those folders ? when all of them are from fortigate . why its not take traffic,event,app-ctrl under 1 folder with the name Firewall-*
There are no folders in Elasticsearch. You're better off ignoring the on-disk storage structure.
The configuration you showed earlier posts messages to either firewall-* or Windows-*. Under no circumstances will it post to an index that begins with any of the other prefixes you mentioned. Make sure you don't have another configuration file in /etc/logstash/conf.d with an output section that posts to those indexes.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.