File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/Exceptionless.Core/Repositories/Configuration/Indexes/EventIndex Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ public sealed class Alias {
134
134
public const string OperatingSystemVersion = "os.version" ;
135
135
public const string OperatingSystemMajorVersion = "os.major" ;
136
136
137
+ public const string CommandLine = "cmd" ;
137
138
public const string MachineName = "machine" ;
138
139
public const string MachineArchitecture = "architecture" ;
139
140
@@ -238,6 +239,7 @@ private static PropertiesDescriptor<DataDictionary> AddEnvironmentInfoMapping(th
238
239
. Text ( f3 => f3 . Name ( r => r . IpAddress ) . CopyTo ( fd => fd . Field ( EventIndexType . Alias . IpAddress ) ) . Index ( false ) . IncludeInAll ( ) )
239
240
. Text ( f3 => f3 . Name ( r => r . MachineName ) . RootAlias ( EventIndexType . Alias . MachineName ) . IncludeInAll ( ) . Boost ( 1.1 ) . AddKeywordField ( ) )
240
241
. Text ( f3 => f3 . Name ( r => r . OSName ) . CopyTo ( fd => fd . Field ( EventIndexType . Alias . OperatingSystem ) ) )
242
+ . Text ( f3 => f3 . Name ( r => r . CommandLine ) . RootAlias ( EventIndexType . Alias . CommandLine ) )
241
243
. Keyword ( f3 => f3 . Name ( r => r . Architecture ) . RootAlias ( EventIndexType . Alias . MachineArchitecture ) ) ) ) ;
242
244
}
243
245
You can’t perform that action at this time.
0 commit comments