Hi,
I need send content of config file from some service to Elasticsearch. This file not change often (max ten times a year). This file have structure like:
version=77.1.2
ActiveModule=monitoring, tts, asr
LicenseNumber=98usddou2kosad9123
What i need:
Read this file once per day from begining and ship this to Elasticsearch.
I try do this with bellow configuration for filebeat, but i can't set clean_inactive without ignore_older.
Hi Alex,
Thank you for response. I have several another things to do by filebeat on this machine. In way proposed by you i have to maintain two separate filebeat instance. i'd like to avoid it. Is there any other option ?
Not that I'm tracking as this is a very unique use case. And u wouldn't necessarily need 2 instances of Filebeat. Just another config file that u can reference via -c <path to config> when called by the scheduled task.
Can I run Filebeat like a Windows service and the same .exe file run from TaskScheduler (at the same time)? I have one more idea: run powershell from taskScheduler and write the data from a configuration file to another file on one line (one event). Repeat this once a day. In this option, I do not need to configure aggregation on logstash.
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.