Build precise queries to find exactly what you need
Press ESC to close
Hello Matt! Excellent work, I need your help with one thing, after looking for additional documentation for your tool anywhere but not finding any. We are trying to narrow down our exported logs by time as well as day, plus we wanted to exclude some sources. So we created a filter for it in the Elastic Search Dasboard in NLS. With your tool using a command like this java -jar nlsexport.jar -host=localhost -date_start=2017.09.19 -date_end=2017.09.19 -output_path=/root/logs/ -output_format=csv gives us everything for that day. If we wanted to use the query parameter that is included in your tool, how would we go about it? Let’s say for example that our filter has the following conditions 1) querystring mustNot query : 127.0.0.1 2) querystring must query : host = 10.132.1.5 3) time must field : @timestamp from : 2017-09-19T04:39:43.682Z to : 2017-09-19T04:50:51.144Z What would that look like in the above command line string? The one included in the example -query='{“query”:{“query_string”:{“query”:”my query string”}}}’ is not very helpful I am afraid, I can’t figure out what to replace with what, especially for the time. Any help would be appreciated. Thanks!
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!