The Limits of Feeds !!
I have a couple of doubts about Feeds (custom ones):
1st: How can I make that the feed work only for a specific device(s) type(s). For example: I want to use as a callback key user.dst meta to populate 3 more metas, but as this user info is valid only for a specific aplication, I would like that only matchs the user.dst for that specific device type.
2nd: The csv or text file that upload, How bigger can be? Right now, I Have my csv file for my initial upload, and It have 1.13GB (more than 14 millions of lines). Do you think that the system can handle it?
thanks in advance.
That does seem to be a large feed, but I think the decoders can still handle it. However, you might be able to use a multi-indexed feed to achieve your goal of user.dst AND a specific device.type feed. The link below may give you what you need in order to develop it.
Thanks for the info. So far I got this xml "DataCliAmdocs.xml":
<?xml version="1.0" encoding="utf-8"?>
<FDF xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="feed-definitions.xsd">
<Meta name="device.type" valuetype="Text" ignorecase="true"/>
<Meta name="instance" valuetype="Text" ignorecase="true"/>
<LanguageKey name="tdp.dni.cliente" valuetype="Text"/>
<LanguageKey name="middlename" valuetype="Text"/>
<LanguageKey name="tdp.data.cliente" valuetype="Text"/>
<Field index="1" type="index" key="DeviceType"/>
<Field index="2" type="index" key="Instance"/>
<Field index="3" type="value" key="tdp.dni.cliente"/>
<Field index="4" type="value" key="middlename"/>
<Field index="5" type="value" key="tdp.data.cliente"/>
And this file "DataCliAmdocs.csv" (Just a sample, the real have over 14M):
amdocs|99999742|N/A|PICA PIEDRA,PEDRO PANCHO|R:Resistor--1524:Amarillo
Well I upload (with WinScp) both file to "LogDec" on directory "/root" then I run "NwConsole -c feed create DataCliAmdocs" but I got thi error:
[root@DSC-SA-DEC ~]# NwConsole -c feed create DataCliAmdocs
RSA Security Analytics Console 10.6.2.1
Copyright 2001-2017, RSA Security Inc. All Rights Reserved.
>feed create DataCliAmdocs
File not found.
Then I try use the wizard (just 1 MetaCallback = instance, and delete the 1st column from csv and choose | as separator), but after show me the yellow progress bar (final step) turn red and say 'failed'. Also try loading the xml on wizard (Adv options) but got "xml error" as message.
I don't have a clue what I'm doing wrong @_@
I'm thinking that actually there is a limit for size of a feed.
Thanks for the answer, I already tried to compile the feed with using "NwConsole" but got an error and the feed file never be generate. Instead I tried to split my file in lower pieces and then generate my feed with one of them. Finally I notice that the bigger file that it can handle has 62213 lines (4.45MB aprox), if I put just one more line in the file then get the error again.
Well the bad news is that as my file is 14 million of lines so that would made more than 200 files for my feed. That mean that the limit of lines that a feed can handle is 62213 (v10.6.2).
Since you want it to be for a specific device type and 1.13GB is way too large for the feed creation process you may want to create a feed for each device type. That would make each feed a logical separator though creating over 200 feeds is pretty daunting. Can you tell us exactly the end result you are looking for as there may be a better way to accomplish what you are looking for as an end result.
Basically I need to enrich Client data (full name and ID), the goal is make a rule that show all the registers where client ID (get from feed, I thought) is equal to user ID (this meta already exist). But as there are more than 14 millions of clients, the feed is not the way.
Are you trying to connect Usernames with IP address and workstation names? If that is what you are attempting to do you can use the Identity feed option if you are collecting from an Active Directory server. Please let me know if this is actually what you are attempting to do and if so I can provide some instructions for that.