2013-09-23 06:54 AM
Hi, I have created a custom feed. Now I have deleted few entries from CSV file. then re uploaded the feed file and reloaded the parser.
But still i am able to see meta is being created for deleted entries from CSV.
Say My CSV has 3 entries. And i have a 3 entries in Meta called Name viz name1 name2 name3
192.168.1.1 name1
192.168.1.2 name2
192.168.1.3 name3
I have edited my CSV by deleting last entry. Now CSV looks like
192.168.1.1 name1
192.168.1.2 name2
I have recreated the feed and uploaded it to decoder and reloaded the parser.
But even after this i can see logs from 192.168.1.3 being stored under meta name3
Isn't uploading new feed with removed entries makes decoder not to create any meta for name3?
Regards
DJ
2013-10-06 11:07 AM
You can delete a feed thru the REST API with /decoder/parsers?msg=feed&filename=<feed_filename>&op=delete
You can also grab logs using the REST API:
/logs?msg=pull
/logs?msg=download&time1=<start time>&time2=<end time>
2013-09-23 11:29 PM
I think you need to wait until the new feed comes into effect, or perhaps check your investigation schedule whether your querying the latest information with the latest feed or from the past with the old feed in effect.
I hope that helps a little to shed light into it.
Cheer
2013-09-23 11:34 PM
Looks like the feed was not uploaded properly. I had to wit for some time to get the feed applied.
Regards
DJ
2013-09-23 11:40 PM
The only way to check when the feed is successful is to look at the /var/logs/messages in the decoder and grep <name of feed> check whether there was an invalid entries. Another is to look at the explorer files under decoder->parsers->feeds your feed should have some numbers in the entries amounting the number of lines in the feed.
Cheer
2013-09-23 11:43 PM
The problem i am having is I execute the feed upload over REST interface. So i cant check logs on decoder.
Regards
DJ
2013-10-06 11:07 AM
You can delete a feed thru the REST API with /decoder/parsers?msg=feed&filename=<feed_filename>&op=delete
You can also grab logs using the REST API:
/logs?msg=pull
/logs?msg=download&time1=<start time>&time2=<end time>