I am trying to find the top level error : URL and date:
I know through content source we can get: $contentsource.LevelHighErrorCount
but it doesn't give me url and date of that Error: Basically through GUI, you can go to Crawl Log -> URL -> Add Filter Content source and Status: "Top Level Errors"
I am trying to do the same thing using Powershell but I am not sure where is the Status, Top level errors property is:
$crawlLogFilters = new-object Microsoft.Office.Server.Search.Administration.CrawlLogFilters
$id = $contentSource.Id
$filproperty1 = [Microsoft.Office.Server.Search.Administration.CrawlLogFilterProperty]::ContentSourceId
$crawlLogFilters.AddFilter($filproperty1, $id)
So basically, I have done the filter for content source , all I need is filter on Status ?