spectreproxy

logstash_netscaler.config

Jan 11th, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. input {
  2. file {
  3. path => ["/home/netscaler/netscaler.csv"]
  4. start_position => "beginning"
  5. sincedb_path => "/dev/null"
  6. }
  7. }
  8. filter {
  9. csv {
  10. separator => ","
  11. columns => [ "DetectionTime", "DestinationAccount", "LogonProcess", "SourceMachine", "source_hostName", "source_city", "source_region", "source_country", "source_loc", "source_org", "source_postal" ]
  12. }
  13. date {
  14. match =>["DetectionTime","EE MMM dd HH:mm:ss 'GMT-0500' yyyy"]
  15. target=>"DetectionTime"
  16. }
  17. }
  18. output {
  19. elasticsearch {
  20. hosts => ["localhost:9200"]
  21. index => "testnetscaler"
  22. document_type => "account_logon"
  23. }
  24. stdout {}
  25. }
Advertisement
Add Comment
Please, Sign In to add comment