public void AddFile(FileObject fileObject)
        {
            Log.Debug("enter");

            if (!CanInjest(fileObject.RelativeUri))
            {
                Log.Warning($"file already ingested. skipping: {fileObject.RelativeUri}");
                return;
            }

            ImportJson(FileMgr.Format(fileObject));
        }
コード例 #2
0
        public void AddFile(FileObject fileObject)
        {
            Log.Debug("enter");

            if (!CanInjest(fileObject.RelativeUri))
            {
                Log.Warning($"file already ingested. skipping: {fileObject.RelativeUri}");
                return;
            }

            if (Config.KustoUseBlobAsSource)
            {
                IngestSingleFile(fileObject);
            }
            else
            {
                IngestMultipleFiles(FileMgr.Format(fileObject));
            }
        }