as said in the object, i'm using filebeat but for some reason its index template wasn't created on ES, the strange thing is that with the same configuration metricbeat's template was created.
When you are using environment variables in the filebeat configuration file the syntax is {var}, like this in your case
hosts: ["{elk_host }:${jboss_pl_port}"]
However, you cannot export the filebeat template and ingest pipelines, when you have enabled the logstash output. So you have to disable the logstash output temporary and enable the elasticsearch output, while you export the filebeat index template and the ingest pipelines.
An other option is to export the template and pipelines manually to a file and import the objects into Elasticsearch. If you do not see the index template in Kibana it is not present i Elasticsearch.
Hi Simone I do not think you can use the range condition when specifying the paths to be crawled, since its a condition in a processor. Try to break down the problem into two parts e.g. 1) load the index template and 2) fix the configuration for the logs. Filebeat loads the index template automatically when you have enabled the Elasticsearch output and disabled the Logstash output. After loading the index template you can concentrate on the configuration with the selftest as pointed out by @tjfred. Yet, an other option is to set the filebeat log level to debug. This often gives the hits required to fix the configuration.
using the suggested configuration on filebeat.yml, today the index-template has been created, so it worked. I exported my index-template and imported it, using curl in environments where it was needed, thanks a lot.
Back to the configurations of the log, could you please tell me how to fix the configuration?
Glad to hear you succeeded with the index template.
According to the Filebeat mssql module documentation the module "Sets the default paths to the log files". Could you, please, explain in more details what your path configuration should expand into? I would expect a configuration like /path/to/log//.log
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.