Data from another index appears when ELK,kibana is given a matching pattern.

A beginner elk, sets up a log collection look and encounters doubts when presenting the data.

my logstash has set up two pipeline,rabbitmq and two http input:

input {
  rabbitmq {
    host => "rabbitmq"
    subscription_retry_interval_seconds => 5
    queue => "hello"
  }
}

-sharp The filter part of this file is commented out to indicate that it
-sharp is optional.
-sharp filter {
-sharp
-sharp }

output {
  elasticsearch {
    hosts => "elasticsearch:9200"
    manage_template => false
    index => "rabbitmq-log-test-%{+YYYY.MM.dd}"
  }
}
input {
  http {
    additional_codecs => {"application/json"=>"json"}
    port => 8080
    threads => 2
  }
}

-sharp The filter part of this file is commented out to indicate that it
-sharp is optional.
-sharp filter {
-sharp
-sharp }

output {
  elasticsearch {
    hosts => "elasticsearch:9200"
    manage_template => false
    index => "http-log-test-%{+YYYY.MM.dd}"
  }
}

rabbit write data: {"site": "a", "level": "error", "message": "unknow error", "trace": "sdfsfsf"}
http write data: {"site": "b", "error": "adsfsdf", "trace": "asdsfdsf"}

Index of Elasticsearch

Kibana:

Kibana discover:

I want to ask, my kibana search mode does not have http-log data, why does http-log data appear in the discover data list?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e82a29-bf1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e82a29-bf1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?