I builded a custom module for my application following this guide.
After the setup of this module i can see the messages form my module in kabana, but they are not parsed with my pipeline.
Below the steps that i did:
.\filebeat.exe setup -e
enable the module
.\filebeat.exe modules enable <mymodule>
setup the module
.\filebeat.exe setup --modules <mymodule> -e
Note, I tested my pipeline using API.
There are others steps to do?
If I run the below commands it seems work correctly:
stop the filebeat service
disable the module
.\filebeat.exe modules disable <mymodule>
run this command:
.\filebeat.exe -modules=<mymodule> -setup -e
This behavior is really strange because the service is stopped, the module is disabled but in kibana i can see the messages correctly parsed.
filebeat setup, you should also pass
--pipelines in order to install the ingest pipelines.
The later command not only setups, but also runs filebeat. This might have setup the module once the first event has been seen.
The pipelines are installed, i can see the ingest pipelines if i run this http request
However, i tryed to run
.\filebeat.exe setup --modules <mymodule> -e --pipelines but the parsing still doesn't work.
Now you got me confused. So you say the module is enabled, ingest node pipeline is correctly installed, but filebeat is not using the pipeline you did create?
Can you share your module definition, configuration and filebeat logs?
You can see this commit.
In the logs i see only this two lines:
||Home path: [C:\temp\filebeat-6.4.3-windows-x86_64] Config path: [C:\temp\filebeat-6.4.3-windows-x86_64] Data path: [C:\temp\filebeat-6.4.3-windows-x86_64\data] Logs path: [C:\temp\filebeat-6.4.3-windows-x86_64\logs]
||Beat UUID: 0b0c66ab-f277-4a53-bac4-feb8806d976c
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.