Logscape Support

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Data Types odd behavior


Veteran Member

Status: Offline
Posts: 56
Date:
Data Types odd behavior
Permalink  
 


I've had some strange experiences where even though I've set up a file type for a specific log file, when it comes up in a search it shows the right value for "_tag", but _type as "basic".  Any idea why that is?  I've tried re-indexing, but that didn't help.

Thanks,

  Thom



__________________


Senior Member

Status: Offline
Posts: 100
Date:
Permalink  
 

Hi Thom,
That _tag is associated with the DataSource identify, while the _type is the matching DataType. The basic type is the default type mapping a matching DataType could not be found. Upon Indexing a file the tag and the type will be identified. Also, whenever a datatype is changed then all files with a 'basic' type will be evaluated to see if they meet the criteria in the data type page (doesnt need to be reindexed as types are evalauted at search-time).

I hope that makes sense!

Cheers,
Na.



__________________


Veteran Member

Status: Offline
Posts: 56
Date:
Permalink  
 

Hi Nelson,

So what conditions might cause Logscape to skip a Filetype where the tag name and file name in the filetype item match, but Logscape uses the basic data type? Is it a content match failure?

-Thom

__________________


Senior Member

Status: Offline
Posts: 100
Date:
Permalink  
 

Hi Thom,
Yes, content has failed to match. The rules for a data type to match are to first match Path/Filename then the pattern. If the pattern fails to match then the next, lower priority type will be tried. When a match cannot be found then basic is applied.


Cheers,
Na.


__________________


Veteran Member

Status: Offline
Posts: 56
Date:
Permalink  
 

Is anything logged when there is a rule for a specific file and that rule fails that would explain the failure?


__________________


Senior Member

Status: Offline
Posts: 100
Date:
Permalink  
 

Hi Thom,

No, nothing is logged. Did you want to send us your config and some sample data?

Cheers Na.

__________________


Veteran Member

Status: Offline
Posts: 56
Date:
Permalink  
 

Sorry no.  I deleted the old datatype and recreated a new one, then it worked.   On a side note, I'm finding it would be helpful to identify the field names captured by each of the datatypes.  Also that ability to preview/test results in synthetics parsing.  It would save me a lot of time.

 



__________________


Veteran Member

Status: Offline
Posts: 56
Date:
Permalink  
 

I've encountered the problem again. I will email you with the details.

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard