Advertisement
Guest User

Untitled

a guest
Jun 12th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. output {
  2. if "int-inside" in [tags] {
  3. elasticsearch {
  4. user => "logstash"
  5. password => "logstash"
  6. hosts => ["https://118.69.135.118:9200"]
  7. ssl_certificate_verification => false
  8. codec => json
  9. index => "int-inside-%{+YYYY.MM.dd}"
  10. }
  11. }
  12.  
  13. else if "int-mvcinside" in [tags] {
  14. elasticsearch {
  15. user => "logstash"
  16. password => "logstash"
  17. hosts => ["https://118.69.135.118:9200"]
  18. ssl_certificate_verification => false
  19. codec => json
  20. index => "int-mvcinside-%{+YYYY.MM.dd}"
  21. }
  22. }
  23.  
  24. else if "int-mobinet" in [tags] {
  25. elasticsearch {
  26. user => "logstash"
  27. password => "logstash"
  28. hosts => ["https://118.69.135.118:9200"]
  29. ssl_certificate_verification => false
  30. codec => json
  31. index => "int-mobinet-%{+YYYY.MM.dd}"
  32. }
  33. }
  34.  
  35. else {
  36. elasticsearch {
  37. user => "logstash"
  38. password => "logstash"
  39. hosts => ["https://118.69.135.118:9200"]
  40. ssl_certificate_verification => false
  41. codec => json
  42. index => "iis-ins-%{+YYYY.MM.dd}"
  43. }
  44. }
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement