Skip to content

Commit

Permalink
Remove Logstash search type.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiz committed Jan 18, 2017
1 parent 694dbb2 commit f229c6a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
1 change: 1 addition & 0 deletions phplib/REST/Searches.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public function afterStore($model, $data, $new, $delete) {
$syncjob['target_id'] = $model[Search::$PKEY];
$syncjob['target_date'] = $_SERVER['REQUEST_TIME'];
$syncjob->store();
// We don't want to schedule a Sync for every field that's changed.
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion phplib/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @package FOO
*/
abstract class Search extends TypeModel {
public static $TYPES = ['Null_Search', 'ES_Search', 'Logstash_Search', 'ECL_Search', 'ThreatExchange_Search', 'Ping_Search', 'HTTP_Search', 'Alert_Search', 'Graphite_Search', 'Push_Search'];
public static $TYPES = ['Null_Search', 'ES_Search', 'ECL_Search', 'ThreatExchange_Search', 'Ping_Search', 'HTTP_Search', 'Alert_Search', 'Graphite_Search', 'Push_Search'];
public static $TABLE = 'searches';
public static $PKEY = 'search_id';
/** @var bool Whether this Search type has multiple sources. */
Expand Down
22 changes: 0 additions & 22 deletions phplib/Search/Logstash.php

This file was deleted.

0 comments on commit f229c6a

Please sign in to comment.