No proposal chosen?

Hello i’ve found following error in elasticsearch.log:

failed to execute bulk item (index) index {[srxfw_deflector][message][d52195f0-227b-11e8-a9d5-005056993b45], source[{
"streams": ["...","..."],
"source-address":"No proposal chosen",
"facility":"system daemon",
"timestamp":"2018-03-08 02:14:19.997"}]}

MapperParsingException[failed to parse [source-address]]; nested: IllegalArgumentException[failed to parse ip [No proposal chosen], not a valid ip address];

Is there any possibility that Graylog parses “No proposal chosen” into “source-address” or “(null)” into “destination-address” from SRX Key-Value structured FW log message. Or this is most likely scrambled by SRX box?

without knowing how the logs are ingested into graylog and what kind of extractor or pipeline is used to work with the messages, but the error message from elasticsearch is that no proposal chosen is not a valid IP - what elasticsearch expect to be - as of the given index template.

so what exactly is your question?

Input is Syslog UDP, fields are parsed automatically by GL. Pipeline only empties message for easy indexing.

SRX messages are usually following:
<14>1 2016-11-04T17:08:34.555+02:00 HOSTNAME RT_FLOW - RT_FLOW_SESSION_DENY [junos@ source-address=“” source-port=“11” destination-address=“” destination-port=“1” service-name=“junos-telnet” protocol-id=“1” icmp-type=“0” policy-name=“GLOBAL-DENY(global)” source-zone-name=“zone1” destination-zone-name=“zone2” application=“UNKNOWN” nested-application=“UNKNOWN” username=“N/A” roles=“N/A” packet-incoming-interface=“reth0.0” encrypted=“UNKNOWN” reason=“policy deny”]

I wonder if Syslog UDP parser is able to set some constant “no proposal chosen” into “source-address” if sth fails inside SyslogUDP input processing…

Ive never seen it before in IndexFailures… I dont exclude bug in SRX… I am just curious about GL SyslogUDP parser.

You’ll have to create a custom index mapping for the fields for which the Elasticsearch dynamic mapping fails, e. g. “source-address” and “destination-address”.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.