Index configuration example: PMI data

This sample JSON index configuration can be used to index PMI data:

{	"indexConfigMeta":{         
		"name": "PMIConfig",         
		"description": "IndexMappingforPMIdata",         
		"version": "0.1",         
		"lastModified": "9/10/2012"     
		},     
	"fields": {         
		"hostname": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": false,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.hostname"]             
			}         
		},         
	"sourceip": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.sourceip"]             
			}         
		},         
	"logpath": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": false,             
		"sortable": false,             
		"filterable": false,             
		"searchable": false,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.logpath"]             
			}         
		},         
	"logsource": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": false,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.logsource"]             
			}         
		},         
	"timeformat": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": false,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.timeformat"]             
			}         
		},         
	"description": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": false,             
		"sortable": false,             
		"filterable": false,             
		"searchable": false,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.description"]             
			}         
		},         
	"PoolSize": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.poolsize"]             
			}         
		},         
	"FreePoolSize": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.FreePoolSize"]             
			}         
		},         
	"WaitingThreadCount": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.WaitingThreadCount"]             
			}         
		},         
	"PercentUsed": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.PercentUsed"]             
			}         
		},         
	"UseTime": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.UseTime"]             
			}         
		},         
	"WaitTime": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": false,             
		"searchable": false,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.WaitTime"]             
			}         
		},         
	"HeapSize": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": false,             
		"searchable": false,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.HeapSize"]             
			}         
		},         
	"UsedMemory": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": false,             
		"searchable": false,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.UsedMemory"]             
			}         
		},         
	"UpTime": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": false,             
		"searchable": false,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.UpTime"]             
			}         
		},         
	"ProcessCpuUsage": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.ProcessCpuUsage"]             
			}         
		},         
	"CPUUsageSinceLastMeasurement": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.CPUUsageSinceLastMeasurement"]             
			}         
		},         
	"webcontainerthreads": {             
		"dataType": "TEXT",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.webcontainerthreads"]             
			}         
		},         
	"timestamp": {             
		"dataType": "DATE",             
		"retrievable": true,             
		"retrieveByDefault": true,             
		"sortable": true,             
		"filterable": true,             
		"searchable": true,             
		"tokenizer": "literal",             
		"source": {                 
			"paths": ["metadata.timestamp"],                 
			"dateFormats": ["dd/MM/yyyy HH:mm:ss.SSS"]             
			}         
		}     
	} 
}