Hi, i'm pulling my hair out trying to get ipfix/appflow data flowing into splunk from netscalers.
i can see the data coming in but it looks like it's failing to get decoded:
errors such as this in streamfwd.log:
2021-04-05 12:52:01 WARN  (NetflowDecoder.cpp:1275) stream.NetflowReceiver - NetFlowDecoder::decodeFlow Unable to decode flow set data. No template with id 264 received for observation domain id 0 from device 172.31.113.8 . Dropping flow data set of size 1372
so looking in the splunk_app_stream.log i see these errors after adding the citrix netflow definitions:
2021-04-05 12:41:48,271 ERROR stream:569 - Invalid Stream definition for stream with id netflow -- Validation Error None is not of type 'string'
so it seems to me that there is some kind of problem between the definitions in the netflow file and possibly the citrix.xml vocabulary file but i can't figure out what. if i could change the code so that when the error was thrown it would tell me what element is causing the problem that would be very useful but as it stands i'm in the dark.
has anyone got this working? or indeed know how to troubleshoot this?
apps installed are:
Figured out the issue with the Netscaler TA causing these errors. There are three in the netflow file that are breaking things:
Stream does not like the fact that desc values are null and not properly wrapped in quotes. Since desc is kind of a useless field, I simply wrapped the word null in quotes and BOOM. Everything started up fine.
hi, i'm not entirely sure what i did in the end. i think i fixed the file. however once i was getting the appflow data it became apparent it wasn't going to provide me with what i wanted. so instead i created a simple addon that runs rest commands against ADM using powershell. that gives us the network stats that we were looking for
Oh okay, what information were you looking for and do you have the edited xml file? 🙂 I am looking for NAT information, but we are also having some problems to configure Netscaler to send especially those data
I am having the same problem - is there any solution to this? I just check the version tag in the citrix.xml which is not matching the newer Splunk versions, I edited it to my version - just to test, but still having the same issues
I'm getting the same error
Error saving stream: Invalid Stream definition for stream with id netflow -- Validation Error None is not of type 'string', Invalid Stream definition for stream with id netflow -- Validation Error None is not of type 'string', Invalid Stream definition for stream with id netflow -- Validation Error None is not of type 'string'
No idea which of the 277 entries in the vocabularies is causing the problems. Really annoying...