All Apps and Add-ons

Why do I keep getting an error in Afterglow on Windows 2016 / Splunk 7x?

TobiasBoone
Communicator

Wondering if anyone has afterglow running in a windows environment on splunk 7x. I have perl installed and graphviz... but I keep getting an error:

AfterGlow was not able to generate a graph. Please check the neato directory in the AfterGlow Setup.

.conf looks like:

[afterglow]
disabled = 0
neato_path = C:\Program Files (x86)\Graphviz2.38\bin
perl_path = C:\Perl64\bin

errors in _internal are:

2018-04-10 14:01:58,141 ERROR   [5acd0a253425c6bf216a0] AfterGlow:107 - command_used: "C:\Perl64\bin"\perl "E:\splunk\etc\apps\afterglow\appserver\modules\AfterGlow"\..\..\..\afterglow\afterglow.pl -c "E:\splunk\etc\apps\afterglow\appserver\modules\AfterGlow"\..\..\..\afterglow\sample.properties -a -e 1.2 | "C:\Program Files (x86)\Graphviz2.38\bin"\neato -Tgif -o "E:\splunk\etc\apps\afterglow\appserver\modules\AfterGlow"\..\..\static\afterglow1523386915.320.gif -Tcmapx -o "E:\splunk\etc\apps\afterglow\appserver\modules\AfterGlow"\..\..\static\afterglow1523386915.320.map
2018-04-10 14:01:58,009 INFO    [5acd0a253425c6bf216a0] AfterGlow:83 - perl path: "C:\Perl64\bin"\perl
2018-04-10 14:01:58,009 INFO    [5acd0a253425c6bf216a0] AfterGlow:82 - neato path: "C:\Program Files (x86)\Graphviz2.38\bin"\neato
0 Karma

TobiasBoone
Communicator

[afterglow]
disabled = 0
neato_path = C:\Program Files (x86)\Graphviz2.38\bin
perl_path = C:\Perl64\bin

from reading the default confs this is what I am thinking it should be... but not entirely sure.

0 Karma

TobiasBoone
Communicator

raffy, can you confirm my formatting within the .conf file is correct?

The examples shown are in a few different permutations depending on where you look

In the gui, path to neato indicated no escaping of \ with a trailing \; as with perl, however the example in perl showed escaped \

Right how it is complaining that AfterGlow was not able to generate a graph. Pleach check the neato directoy in AfterGlow Setup. Really would like this to work and I know I am close but there is some nuance that is getting me.

0 Karma

raffy
Explorer

What happens when you run that command on the command line:

"C:\Perl64\bin"\perl "E:\splunk\etc\apps\afterglow\appserver\modules\AfterGlow"......\afterglow\afterglow.pl -c "E:\splunk\etc\apps\afterglow\appserver\modules\AfterGlow"......\afterglow\sample.properties -a -e 1.2 | "C:\Program Files (x86)\Graphviz2.38\bin"\neato -Tgif -o "E:\splunk\etc\apps\afterglow\appserver\modules\AfterGlow"....\static\afterglow1523386915.320.gif -Tcmapx -o "E:\splunk\etc\apps\afterglow\appserver\modules\AfterGlow"....\static\afterglow1523386915.320.map

i am a bit suspicious of all those dots in there. they might be wrong... they should be separated by a backslash, but try the command and see what happens.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...