# How to upload Cisco log file, output from Rsyslog too Kibana

**URL:** <https://discuss.elastic.co/t/how-to-upload-cisco-log-file-output-from-rsyslog-too-kibana/223637>\
**Category:** Beats\
**Created:** [March 14, 2020, 9:34pm UTC](https://discuss.elastic.co/t/how-to-upload-cisco-log-file-output-from-rsyslog-too-kibana/223637 "2020-03-14T21:34:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elastic6](https://avatars.discourse-cdn.com/v4/letter/e/7ea924/32.png) [@Elastic6](https://discuss.elastic.co/u/Elastic6)\
**Post date:** [March 14, 2020, 9:34pm UTC](https://discuss.elastic.co/t/how-to-upload-cisco-log-file-output-from-rsyslog-too-kibana/223637/1 "2020-03-14T21:34:28Z")

</div>

**Hello,**

**I am using a Ubuntu VM to host the entire ELK stack, I am using Rsyslog to listen for Cisco IOS logs and have successfully managed to output these logs to a file. I am trying to upload the file too Kibana but it cant parse the date in the logs and gives me the error messages shown below:**

0: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: unable to parse date [Mar 12 06:26:02]

{"message":"Mar 12 06:26:02 10.0.0.11 49: \*Mar 1 23:33:36.139: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to down"}

_1: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: unable to parse date [Mar 12 06:26:05]_

\*{"message":"Mar 12 06:26:05 10.0.0.11 50: _Mar 1 23:33:38.756: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up"}_

_2: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: unable to parse date [Mar 12 06:26:07]_

\*{"message":"Mar 12 06:26:07 10.0.0.11 51: _Mar 1 23:33:40.786: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up"}_

**Kibana seems to be understand the date format, as shown below:**

_MMM dd HH:mm:ss.SSS, MMM d HH:mm:ss.SSS_

**below is the grok pattern kibana displays when i upload the file:**

{SYSLOGTIMESTAMP:timestamp} %{IP:ipaddress} %{INT:field}: .\*?%{SYSLOGTIMESTAMP:extra\_timestamp}: %.

**My questions are, is the method I am using of outputting to a file and uploading to Kibana, possible? and how can i change the format of the log file so that Kibana understands the logs?**

**Thanks in advanced, I look forward to the replies.**

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 11, 2020, 9:34pm UTC](https://discuss.elastic.co/t/how-to-upload-cisco-log-file-output-from-rsyslog-too-kibana/223637/2 "2020-04-11T21:34:30Z")

</div>

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