How to extract numeric values from messages and graph them

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

Re: How to extract numeric values from messages and graph th

Post by gsl_ops_practice »

Hi,

I am trying to do exactly that but for some reason I am unable to edit the query to change the values of 0 to be whatever I need. I tried 3 different browsers, no go so far. Any thoughts on why that would be? I click on the edit button but the query does not expand and allow me to edit.

Thank you
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: How to extract numeric values from messages and graph th

Post by jolson »

Are you able to edit any field in this way - or is this the only field giving you problems?

Can you post a screenshot of what happens after you press 'edit'?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

Re: How to extract numeric values from messages and graph th

Post by gsl_ops_practice »

When I click on "Edit" any time on any filter I just get a black mouseover saying "Edit" but nothing happens, screenshot below...very peculiar
You do not have the required permissions to view the files attached to this post.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: How to extract numeric values from messages and graph th

Post by jolson »

Interesting - I haven't seen this particular issue before. What version is your Nagios Log Server at? If possible, please update to the latest release: http://www.nagios.com/news/company-news ... 4-released
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

Re: How to extract numeric values from messages and graph th

Post by gsl_ops_practice »

Hi,

I figured out why I couldn't edit that field - the web requests were being sent through a proxy and I requested a direct connection on port 80/443 and the issue is now gone, I can edit the fields.

Will now try to figure out what I can do with the ranges.

Thank you.
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

Re: How to extract numeric values from messages and graph th

Post by gsl_ops_practice »

Can you please confirm the structure of the query for a range of values for this field? I am getting an error when I follow the example you have previously provided. Screenshot below.
$149D7E00ABCEF250.jpg
You do not have the required permissions to view the files attached to this post.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: How to extract numeric values from messages and graph th

Post by jolson »

Were you sure to add the ':int' tag to the end of your example field? Specifying a range will only work with integers and floats. For instance, 'pid' will work because it's an integer, while 'severity' will not because it's a string.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked