Awesome tool we got here, Silk is great and FlowViewer get me some good reports.
Got a little problem here that I wanted to know if is a misconfiguration or something like that: using FlowGrapher I got all the list result for the data, but the graph is empty like below:
I got all the GD libraries installed and I'm using FV4.4 with Silk3.8.3 on a Centos6.5. My DEBUG_GRAPHER give me this:
When I replied yesterday, your image had not been visible to me. I believe this was because I was on a VPN. Now that I can see it, yes all of your GD stuff is fine.
I'm beginning to suspect a timezone issue.
In GMT time, your start_epoch and end_epoch convert to:
Is that correct for your timezone? How have you set $timezone in FlowViewer_Configuration.pm:
$time_zone = ""; # If left empty, will use system time zone
When you built SiLK, did you use the --enable-localtime switch? From SiLK Installation reference:
2.3.11 Using your local timezone
By default, SiLK uses UTC when printing timestamps to the user, and it expects timestamps from the user to be in UTC. Giving configure the --enable-localtime switch will modify SiLK to print and expect times in the local timezone. (Data files are always indexed by UTC.)
Finally...
Can you add to following DEBUG lines to see if that is the problem?
Hi folks!
Awesome tool we got here, Silk is great and FlowViewer get me some good reports.
Got a little problem here that I wanted to know if is a misconfiguration or something like that: using FlowGrapher I got all the list result for the data, but the graph is empty like below:
I got all the GD libraries installed and I'm using FV4.4 with Silk3.8.3 on a Centos6.5. My DEBUG_GRAPHER give me this:
Any helps? In the meantime, thanks for the attention!
Isaque,
Forgive me - I did not see your email until just now! My apologies.
First - can you see if FlowGrapher_Main is creating any png file?
The code is:
So we'll be looking to see if $graphs_directory/$png_filename got created.
We'll go from there ...
Joe
When I replied yesterday, your image had not been visible to me. I believe this was because I was on a VPN. Now that I can see it, yes all of your GD stuff is fine.
I'm beginning to suspect a timezone issue.
In GMT time, your start_epoch and end_epoch convert to:
epoch_time = 1410958800; calendar_time = 09/17/2014 13:00:00 (GMT)
epoch_time = 1410962400; calendar_time = 09/17/2014 14:00:00 (GMT)
Is that correct for your timezone? How have you set $timezone in FlowViewer_Configuration.pm:
When you built SiLK, did you use the --enable-localtime switch? From SiLK Installation reference:
2.3.11 Using your local timezone
By default, SiLK uses UTC when printing timestamps to the user, and it expects timestamps from the user to be in UTC. Giving configure the --enable-localtime switch will modify SiLK to print and expect times in the local timezone. (Data files are always indexed by UTC.)
Finally...
Can you add to following DEBUG lines to see if that is the problem?
and then a couple of lines down ...
Thanks!
Joe
Right on the spot man!
Running the debug like you asked I got that the time of graph was out of the start/end time.
Just changed the timezone of server to UTC and graph is working!
Thank you a lot!