Skip to content

Commit

Permalink
Merge pull request elastic#170 from Logrhythm/exclude
Browse files Browse the repository at this point in the history
Exclude capturekey
  • Loading branch information
Ben Aldrich committed May 5, 2014
2 parents b67233a + 990987a commit 74a1a09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/NetMonFieldNames.csv
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ _n/a,
_n/a,�� optional uint64 BytesDest = 16;,,DestBytes,Destination Bytes,csv,<bytesin>,Impacted Host KB Received,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
_n/a,�� optional uint64 BytesDestDelta = 21;,,DestBytesDelta,Destination Bytes Delta,n/a,,,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
_n/a,�� optional uint32 IPDest = 5;,,DestIP,Destination IP,csv,<dip>,Impacted IP,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
_n/a,�� optional string IPDest6 = 43;,,DestIP6,Destination IP6,csv,<dip>,Impacted IP,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
_n/a,�� optional uint64 MACDest = 3;,,DestMAC,Destination MAC,csv,<dmac>,Impacted MAC Address,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
_n/a,�� optional uint32 PortDest = 9;,,DestPort,Destination Port,csv,<dport>,Impacted Port,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
_n/a,�� optional uint64 Duration = 31;,,Duration,Duration,n/a,,,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Expand All @@ -27,6 +28,7 @@ _n/a, optional string SessionID = 1;,,Session,Session,csv,<session>,Session,,C
_n/a,�� optional uint64 BytesSource = 17;,,SrcBytes,Source Bytes,csv,<bytesout>,Impacted Host KB Sent,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
_n/a,�� optional uint64 BytesSourceDelta = 22;,,SrcBytesDelta,Source Bytes Delta,n/a,,,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
_n/a,�� optional uint32 IPSource = 4;,,SrcIP,Source IP,csv,<sip>,Origin IP,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
_n/a,�� optional string IPSource6 = 42;,,SrcIP6,Source IP6,csv,<sip>,Origin IP,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
_n/a,�� optional uint64 MACSource = 2;,,SrcMAC,Source MAC,csv,<smac>,Origin MAC Address,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
_n/a,�� optional uint32 PortSource = 8;,,SrcPort,Source Port,csv,<sport>,Origin Port,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
_n/a,�� optional uint32 ThreadID = 33;,,ThreadID,Thread ID,n/a,,,,Complete,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Expand Down
1 change: 1 addition & 0 deletions scripts/buildESTemplate.pl
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ sub ReadProtoFile {
print "\"Captured\" : { \"type\": \"string\", \"null_value\": \"false\"},\n";
print "\"Session\" : {\"type\": \"string\", \"index\" : \"not_analyzed\"},\n";
print "\"SrcMAC\" : {\"type\" : \"string\", \"index\" : \"not_analyzed\", \"ignore_malformed\" : true},\n";
print "\"CaptureKey\" : {\"type\" : \"string\", \"index\" : \"no\", \"store\" : false, \"ignore_malformed\" : true},\n";


for $app ( keys %typeHash ) {
Expand Down

0 comments on commit 74a1a09

Please sign in to comment.