Article Content
Article Number | 000035599 |
Applies To | RSA Product Set: NetWitness Logs & Packets, Security Analytics RSA Product/Service Type: Packet Decoder, Log Decoder, User Interface, Content RSA Version/Condition: 10.6.x Platform: CentOS O/S Version: 6.7 |
Issue | In the RSA Security Analytics UI you cannot create a custom feed that has two or more MetaCallback keys (multiple indexes). |
Tasks | This article explains how to manually create a custom feed that has two or more MetaCallback keys (multiple indexes). |
Resolution | Steps for creating custom feed with multi MetaCallback keys Within the UI you can't create a custom feed with multiple MetaCallback keys (multiple indexes) while using the Custom Feed Wizard. To create this type of feed you will have to make a custom XML feed file. Here is an example of a XML file and the comments are denoted by <!-- -->.(In our interface the comments are not supported so if you use this as a template you will have to delete the comments for this file to work or you will get compile errors) 1. Create custom xml file
2. Create custom CSV file After creating your custom XML file you will need to create a custom CSV file. As stated in the above XML file the default values for comments are “#” and separator are “,”. Below is an example of a CSV file that works with the above XML file.
Make sure there are no extra white space and blank lines within the CSV file or it will not compile correctly. Now that we have the correct code generated lets go over exactly what is happening. We have two MetaCallback keys that we created (more can be added) and these keys are putting the meta values in “alert” with the values of “whitelist” or “blacklist”. 3. Copy the XML and CSV files to the appliance Since the UI Custom Feed cannot be used for generating the custom feed it must be manually compiled and copied to your Decoders (Log/Packet). Take the XML file and CSV file and move the files over to a decoder with this command "scp root@x.x.x.x:/root/CustomFeed.csv” The x’s represent the ip address of the location you are copying the files from. The screen shot below shows this process. ![]() 4. Check to make sure files are on device Once you have the files on the device as shown below we can now start the process of compiling and loading the custom feed. ![]() 5. Creating the CustomFeed file We will need to do the following command to create the custom feed as shown in the picture below.
![]() 6. Copy the CustomFeed.feed file to the feeds directory You should have 0 invalid records as shown in the above picture. You now must copy the CustomFeed.feed file into the /etc/netwitness/ng/feeds directory and issue a reload of the feeds as shown in the picture below. ![]() 7. Restart the appliance to check the feed loaded We should check our work and review the /var/log/messages to make sure that the feed is being loaded. The op=notify option from the previous step tells the service to load the feeds at a later time. If you want to load them immediately and see that it has detected the feed correctly the decoder service can be restarted. From the UI click on Administration -> Services and find the decoder with the loaded feed and click on Actions then Restart. An example of the log message of the feed being reloaded is in the picture below. ![]() 8. Steps to see custom feed in the Web UI Under the UI you will only be able to see the feed in one place. You will be able to see the feed if you choose from the drop down tab Administration -> Services (see screenshot below) ![]() Then click on the device that has the feed. (see screenshot below) ![]() Click on the tab that says “System” and select Explore. (see screenshot below) ![]() On the left hand side select the /decoder/parsers/feeds/”your feed name” and you can see the stats on your feed.(see screenshot below) ![]() |
Notes | If you try to edit the XML file and upload it through the GUI you will get and error and it will not work. (See screenshot below)![]() Note: Any feed created according to this knowledge base article cannot be set as a recurring feed unless a custom script is created (outside of the scope of this article). Note: Once the feed is compiled it is up to the customer to manually copy it to any other decoders within the environment and to follow the service restart process on each. Since the feed was not created by the UI every time the feed needs updated this manual process will need to be replicated. |