Skip to content

Commit

Permalink
no token
Browse files Browse the repository at this point in the history
  • Loading branch information
ivukotic committed Feb 6, 2024
1 parent 0d76a0a commit 8e1139e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configs/crest.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ filter {
remove_field => [ "logger_name", "port", "type" ]
}

if [token] not in [ "crest" ] {
drop {}
}
# if [token] not in [ "crest" ] {
# drop {}
# }
}

output {
Expand Down
1 change: 1 addition & 0 deletions tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
test_logger.warning('python-logstash: test logstash warning mdessage.')

metric = {
'token': 'crest',
'metric_string': 'python version: ' + repr(sys.version_info),
'metric_boolean': True,
'metric_dict': {'a': 1, 'b': 'c'},
Expand Down

0 comments on commit 8e1139e

Please sign in to comment.