<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic fluentd TimeParser Error - Invalid Time Format in Cloud Networking Platform</title>
    <link>https://community.cisco.com/t5/cloud-networking-platform/fluentd-timeparser-error-invalid-time-format/m-p/5408615#M3314</link>
    <description>&lt;P&gt;I'm trying to get some Cisco Meraki MX firewalls logs pointed to our Kubernetes cluster using fluentd pods. I'm using the @syslog source plugin, and able to get the logs generated, but I keep getting this error&lt;/P&gt;&lt;P&gt;2022-06-30 16:30:39 -0700 [error]: #0 invalid input data="&amp;lt;134&amp;gt;1 1656631840.701989724 838071_MT_DFRT urls src=10.202.11.05:39802 dst=138.128.172.11:443 mac=90:YE:F6:23:EB:T0 request: UNKNOWN &lt;A href="https://f3wlpabvmdfgjhufgm1xfd6l2rdxr.b3-4-eu-w01.u5ftrg.com/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://f3wlpabvmdfgjhufgm1xfd6l2rdxr.b3-4-eu-w01.u5ftrg.com/&lt;/A&gt;..." error_class=Fluent::TimeParser::TimeParseError error="invalid time format: value = 1 1656631840.701989724 838071_ME_98766, error_class = ArgumentError, error = string doesn't match"&lt;/P&gt;&lt;P&gt;Everything seems to be fine, but it seems as though the Meraki is sending it's logs in Epoch time, and the fluentd @syslog plugin is not liking it.&lt;/P&gt;&lt;P&gt;I have a vanilla config:&lt;/P&gt;&lt;PRE&gt;&amp;lt;source&amp;gt;
  @type syslog
  port 5140
  tag meraki
&amp;lt;/source&amp;gt;&lt;/PRE&gt;&lt;P&gt;Is there a way to possibly transform the time strings to something fluentd will like? Or what am I missing here.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2022 04:31:42 GMT</pubDate>
    <dc:creator>WilnarMasonik</dc:creator>
    <dc:date>2022-08-26T04:31:42Z</dc:date>
    <item>
      <title>fluentd TimeParser Error - Invalid Time Format</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/fluentd-timeparser-error-invalid-time-format/m-p/5408615#M3314</link>
      <description>&lt;P&gt;I'm trying to get some Cisco Meraki MX firewalls logs pointed to our Kubernetes cluster using fluentd pods. I'm using the @syslog source plugin, and able to get the logs generated, but I keep getting this error&lt;/P&gt;&lt;P&gt;2022-06-30 16:30:39 -0700 [error]: #0 invalid input data="&amp;lt;134&amp;gt;1 1656631840.701989724 838071_MT_DFRT urls src=10.202.11.05:39802 dst=138.128.172.11:443 mac=90:YE:F6:23:EB:T0 request: UNKNOWN &lt;A href="https://f3wlpabvmdfgjhufgm1xfd6l2rdxr.b3-4-eu-w01.u5ftrg.com/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://f3wlpabvmdfgjhufgm1xfd6l2rdxr.b3-4-eu-w01.u5ftrg.com/&lt;/A&gt;..." error_class=Fluent::TimeParser::TimeParseError error="invalid time format: value = 1 1656631840.701989724 838071_ME_98766, error_class = ArgumentError, error = string doesn't match"&lt;/P&gt;&lt;P&gt;Everything seems to be fine, but it seems as though the Meraki is sending it's logs in Epoch time, and the fluentd @syslog plugin is not liking it.&lt;/P&gt;&lt;P&gt;I have a vanilla config:&lt;/P&gt;&lt;PRE&gt;&amp;lt;source&amp;gt;
  @type syslog
  port 5140
  tag meraki
&amp;lt;/source&amp;gt;&lt;/PRE&gt;&lt;P&gt;Is there a way to possibly transform the time strings to something fluentd will like? Or what am I missing here.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 04:31:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/fluentd-timeparser-error-invalid-time-format/m-p/5408615#M3314</guid>
      <dc:creator>WilnarMasonik</dc:creator>
      <dc:date>2022-08-26T04:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: fluentd TimeParser Error - Invalid Time Format</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/fluentd-timeparser-error-invalid-time-format/m-p/5408616#M3315</link>
      <description>&lt;P&gt;found this answer;&lt;/P&gt;&lt;P&gt;I work for Blue Medora, BindPlane is our product. This should fix your issue, if not please let us know and we can help get it configured properly.&lt;/P&gt;&lt;P&gt;Try&lt;SPAN&gt; &lt;/SPAN&gt;time_format %Y-%m-%d %H:%M:%S.%L %Z&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The lowercase z represents "Time zone as an hour offset from UTC" (eg.+0400)&lt;/LI&gt;&lt;LI&gt;Capital Z represents "Time Zone Name" which it looks like what you have in your log files.&lt;/LI&gt;&lt;LI&gt;It also looks like there is a space between the milliseconds and the timezone. So the space should be added as well.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Here's a link to the&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="https://docs.ruby-lang.org/en/2.4.0/Time.html#method-c-strptime" target="_blank" rel="nofollow noopener noreferrer"&gt;documentation on the strptime() options&lt;/A&gt;&lt;SPAN&gt; &lt;A href="https://e-chats.com/omegle" target="_blank" rel="noopener nofollow noreferrer"&gt;echat&lt;/A&gt;&lt;A href="https://chatspin.download" target="_blank" rel="noopener nofollow noreferrer"&gt;spin&lt;/A&gt; &lt;/SPAN&gt;that shows difference between %z and %Z&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 06:20:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/fluentd-timeparser-error-invalid-time-format/m-p/5408616#M3315</guid>
      <dc:creator>WilnarMasonik</dc:creator>
      <dc:date>2022-09-13T06:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: fluentd TimeParser Error - Invalid Time Format</title>
      <link>https://community.cisco.com/t5/cloud-networking-platform/fluentd-timeparser-error-invalid-time-format/m-p/5408617#M3316</link>
      <description>&lt;P&gt;Hey &lt;SPAN&gt;WilnarMasonik, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm also getting the same error and I've added time_format %Y-%m-%d %H:%M:%S.%L %Z to the parse section. Where did you add the time_format and did you need to do anything else?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 01:33:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-networking-platform/fluentd-timeparser-error-invalid-time-format/m-p/5408617#M3316</guid>
      <dc:creator>Santosh11</dc:creator>
      <dc:date>2023-03-29T01:33:02Z</dc:date>
    </item>
  </channel>
</rss>

