I have a working ELK stack running on Ubuntu 16.04. Filebeat and Topbeat from another Ubuntu client are successfully shipping logs to that ELK server. Even Winlogbeat is shipping events from a Windows machine. Then I was trying to make Filebeat and Topbeat work from Windows machine, but for some reason these are not working. When I open the logs in C:\ProgramData\topbeat\Logs , I see the following:
2016-06-20T09:17:09+02:00 ERR Error getting process details. pid=14072: error getting process arguments for pid=14072: could not get CommandLine: could not get Win32_Process WHERE ProcessId = 14072: Process not found 2016-06-20T09:17:09+02:00 ERR Error getting process details. pid=14036: error getting process arguments for pid=14036: could not get CommandLine: could not get Win32_Process WHERE ProcessId = 14036: Process not found 2016-06-20T09:20:39+02:00 ERR Error getting process details. pid=15780: error getting process arguments for pid=15780: could not get CommandLine: could not get Win32_Process WHERE ProcessId = 15780: Process not found 2016-06-20T09:20:39+02:00 ERR Error getting process details. pid=6696: error getting process arguments for pid=6696: could not get CommandLine: could not get Win32_Process WHERE ProcessId = 6696: Process not found
Is Topbeat shipping any events? Can you enable debug logging and post your log file.
The log lines above indicate a problem collecting the command line of only those processes. This can occur if those processes stopped in the middle of collection. Is this happening for all processes?
I have run the queries in ELK server and found the following result. I couldn't run them in Windows where Topbeat is running (maybe I don't know how to run them)
Result for process query: { "count": 18073858, "_shards": { "total": 100, "successful": 100, "failed": 0 } }
Result for filesystem query: { "count": 2457273, "_shards": { "total": 100, "successful": 100, "failed": 0 } }
Result for system query: { "count": 161571, "_shards": { "total": 100, "successful": 100, "failed": 0 } }
As you can see Topbeat is actually shipping some events, but I don't think these events are from Windows client, rather Ubuntu client (I have an Ubuntu client where Topbeat is running and shipping).
What version of Windows? What version of Topbeat? Did you start Topbeat as a Windows service?
The logs look a little sparse. I expected a lot more data since its running with level: debug. Did you restart Topbeat after setting the level to debug.
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.