All Apps and Add-ons

help using transforms to change sourcetype from netflow

danielwalford
Observer

hi, i've been trying for a long time now to get netscaler ipfix/netflow data properly ingested into a Nozo9110test splunk instance.

I have the stream app and forwarder etc looking like they are working. all  the data comes in as sourcetype stream:netflow. however i need this to be sourcetype citrix:netscaler:ipfix. so i have added props and transforms to achieve that based on the ip address the data is coming from. now this has worked and the sourcetype has changed as you can see:

danielwalford_1-1617881471488.png

 

however, i expected the data to then be processed and the fields extracted from the netscalersyslogmessage field. in the netscaler TA there are entries to transform sourcetype on the detection of netscalerSyslogMessage but none of that seems to be happening.

i'm sure i'm just missing something obvious but i'd really appreciate some help nailing this down.

 

here's what i've done to change the sourcetype:

props:

[source::stream:netflow]
TRANSFORMS-changesourcetype = set_netscaler

 

transforms:

[set_netscaler]
FORMAT = sourcetype::citrix:netscaler:ipfix
DEST_KEY = MetaData:Sourcetype
REGEX= exporter_ip":"172.31.113.8

Labels (2)
0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!