It sounds like you are having trouble viewing your IIS logs in the Discover page of the Elastic Stack. There are a few potential reasons for this:
The Filebeat index pattern may not be set up correctly in Elasticsearch. In order for the data to be searchable in Discover, you will need to create an index pattern that matches the name of the index that Filebeat is writing to. You can do this by going to the Management tab in Kibana, then selecting Index Patterns and creating a new pattern.
If the index pattern is set up correctly, the issue may be with the configuration of Filebeat. Make sure that the fields section of the Filebeat configuration file includes the IIS fields that you want to be available in Discover. Additionally, check that the fields_under_root and fields.yml files are set up correctly, as these can affect how fields are indexed in Elasticsearch.
It is also possible that there is a problem with the data being ingested by Filebeat. If the IIS logs are not being parsed correctly, the relevant fields may not be available in Elasticsearch. You can check the Filebeat logs to see if there are any error messages that can help identify the cause of the issue.
Index pattern is setup correctly, as it is loading the data for other fields other than IIS
Fields.yml looks fine
Filebeat logs are producing some errors like below
Type : mapper parsing exception, reason : failed to parse field [network forwarded ip] of type [ip] in document with I'd "".
Reason: 350 is not an ip string literal
There is another error in kibana like " Provided Grok expressions do not match field value"
@aaron-nimocks - It is as below
Provided Grok expressions do not match field value: [ 2021-08-12 19:09:09 10.xx.xxx.xx 34169 10.xx.xxx.xxx 81 - %00 %00 400 - Bad request - ]
Ohh. Looks like you have a grok or dissect issue somewhere. Did you run the setup from filebeats that pushed templates and such to Kibana? Specifically I am wondering if the ingest pipelines are loaded.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.