Apologies, I have searched but cannot seem to find a good example on how to extract and then index the remaining data. If this is addressed elsewhere and Ive missed it please direct me there. Being new to logstash and its filtering mechanism I cannot seem to find how to take the following xml file format:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bclog="http://www.ciglo.com/wcf/log/v1_0" elementFormDefault="unqualified" targetNamespace="http://www.ciglo.com/wcf/log/v1_0" version="1.0">
<xs:element name="bcLogEntry" type="bclog:bcLogEntry"/>
<xs:complexType name="bcLogEntry">
<xs:sequence>
<xs:element minOccurs="0" name="c_ip" type="xs:string">
<xs:annotation>
<xs:documentation><![CDATA[abrigo: c-ip]]></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="c_port" type="xs:int">
<xs:annotation>
<xs:documentation><![CDATA[abrigo: c-port]]></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="cs_Accept_" type="xs:string">
<xs:annotation>
<xs:documentation><![CDATA[abrigo: cs(Accept)]]>
and only index the fields as:
name:c_ip, type:string
name:c_port, type:int
name:cs_Accept_" type=string
etc.
I would be grateful for any assistance. Thank you.