Search found 18 matches

by ljorg
Mon Sep 05, 2016 2:06 am
Forum: Nagios Log Server
Topic: Filtering on IP ranges
Replies: 8
Views: 2494

Re: Filtering on IP ranges

I think I am already casting it as an IP type. This is part of my input filter: grok { match => [ 'message', '%{WORD:tos},(\d+)?,%{INT:ttl},%{INT:id},%{INT:offset},%{WORD:flags},%{INT:protocol_id},%{WORD:protocol},%{INT:length},%{IP:src_ip},%{IP:dest_ip},%{GREEDYDATA:rest3}' ] } So the problem must ...
by ljorg
Fri Sep 02, 2016 1:46 am
Forum: Nagios Log Server
Topic: Filtering on IP ranges
Replies: 8
Views: 2494

Re: Filtering on IP ranges

Here you go: {"logstash-2016.08.31":{"mappings":{"_default_":{"dynamic_templates":[{"string_fields":{"mapping":{"index":"analyzed","omit_norms":true,"type":"string","fields":{"...
by ljorg
Thu Sep 01, 2016 9:11 am
Forum: Nagios Log Server
Topic: Filtering on IP ranges
Replies: 8
Views: 2494

Re: Filtering on IP ranges

No, nothing: curl -XPOST "http://localhost:9200/_search?pretty" -d '{"query":{"filtered":{"filter":{"range":{"dest_ip":{"from":"130.226.228.64","to":"130.226.228.128"}}}}}}}' { "took" : 27, ...
by ljorg
Tue Aug 30, 2016 3:45 am
Forum: Nagios Log Server
Topic: Filtering on IP ranges
Replies: 8
Views: 2494

Filtering on IP ranges

Hi, We're using Nagios Log Server to handle firewall logs from pfSense, and it's mostly working great. I have one issue though when trying to filter IP ranges. This works: field: dest_ip query: [130.226.228.1 TO 130.226.228.128] This doesn't field: dest_ip query: [130.226.228.64 TO 130.226.228.128] ...
by ljorg
Fri Aug 26, 2016 1:54 am
Forum: Nagios Log Server
Topic: All logs empty since upgrade to 1.4.2
Replies: 3
Views: 1252

Re: All logs empty since upgrade to 1.4.2

The problem only appears in Firefox on OSX. Chrome and Safari works fine.
by ljorg
Fri Aug 26, 2016 1:43 am
Forum: Nagios Log Server
Topic: All logs empty since upgrade to 1.4.2
Replies: 3
Views: 1252

All logs empty since upgrade to 1.4.2

Hi,

Just upgraded to 1.4.2 and was pretty horrified to discover all logs are now blank except for the timestamp. How do I troubleshoot this?


Lars
by ljorg
Tue Feb 17, 2015 7:23 am
Forum: Nagios Log Server
Topic: Maintenance doesn't seem to run
Replies: 14
Views: 2950

Re: Maintenance doesn't seem to run

teirekos wrote:I am very sorry. My intention was to avoid open another thread with the same subject because my backup schedule does not seem to work. I am sorry for this ljorg.
Not at all, there's no problem other than the confusion of the Nagios support team :-)


Lars
by ljorg
Tue Feb 17, 2015 2:23 am
Forum: Nagios Log Server
Topic: Maintenance doesn't seem to run
Replies: 14
Views: 2950

Re: Maintenance doesn't seem to run

After the upgrade to 1.3 of NLS, are you still getting errors when you issue the following: curator Yes, it's still there: Traceback (most recent call last): File "/usr/bin/curator", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.6/site-packages...
by ljorg
Fri Feb 13, 2015 4:57 am
Forum: Nagios Log Server
Topic: Maintenance doesn't seem to run
Replies: 14
Views: 2950

Re: Maintenance doesn't seem to run

It's installed on a RedHat Enterprise Linux 6. Python is probably installed by default. It's version 2.2.6.


Lars
by ljorg
Thu Feb 12, 2015 10:49 am
Forum: Nagios Log Server
Topic: Maintenance doesn't seem to run
Replies: 14
Views: 2950

Re: Maintenance doesn't seem to run

The output of curator: Traceback (most recent call last): File "/usr/bin/curator", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module> working_set.require(__requires__) File "/usr/lib...