Questions tagged [logstash-file]

Logstash File Input stream events from Files

221 questions
0
votes
0 answers

How to start EKL using .NET

How can we start elasticsearch, kibana and logstash using C# code.? And how to provide dynamic log to ELK stash
0
votes
1 answer

Logstash + Syslog Input Plugin VS Logstash + File Input Plugin + Syslog server

I have an existing system that sends me log entries to my server via Syslog protocol. The log entries are written into local files, and then I process these log files with Logstash using its File input plugin. I like it because even if the Logstash…
SaWo
  • 1,515
  • 2
  • 14
  • 32
0
votes
1 answer

Removing unwanted fields in Logstash configuration file

I'm building a ELK Setup and its working fine , however i'm getting into a situation where i want to remove certain fields from by system-log data while processing through logstash like remove_field & remove_tag which i've defined in my logstash…
Karn Kumar
  • 8,518
  • 3
  • 27
  • 53
0
votes
1 answer

Not able to read file from Logstash

I am very new to logstash and trying to work with Logstash. As of now i simply want to read a log file and put it under a different file. But output file is not getting generated. Below is the configuration i am using in logstash.conf file: # Sample…
pradyumn
  • 130
  • 13
0
votes
1 answer

Logstash mixed logs - multiline and normal

I use input file to get logs like this: input { file { path => "/home/ec2-user/*.log" } } In one of the log files some events are loging with 1 line: 2018-12-10 10:01:30.1097|0|Services.Services|INFO| Message: test Another are multilines…
airdata
  • 577
  • 1
  • 7
  • 23
0
votes
0 answers

Logstash write from file to file

I have the following problem: I am new to logstash and I am trying to simply transfer information from one .log file to another. My config file looks like this and logstash is currently running on Windows 10. input { file { path =>…
0
votes
0 answers

Logstash preventing application from rotating logs

I have a application running in vagrant VM and log files are shared with host machine using synced folder. I am trying to add these logs in logstash from host directory to another VM that is running logstash. Everything works fine until application…
W Anjum
  • 93
  • 1
  • 12
0
votes
1 answer

What will be Grok Pattern for following IIS logs?

I have following IIS server logs : 2018-09-16 04:11:47 W3SVC10 webserver 107.6.166.194 POST /api/uploadjsontrip - 443 - 203.77.177.176 HTTP/1.1 Java/1.8.0_45 - - vehicletrack.biz 200 0 0 506 872 508 Data Description: date time s-sitename…
Raj
  • 429
  • 2
  • 6
  • 26
0
votes
1 answer

How to Create Separate index created for separate input types

I have Below logstash-syslog.conf file where it has two different input types one as type => "syslog" and another is type => "APIC" . So, i need two separate output index created as syslog-2018.08.25 and APIC-2018.08.05 . I want these index to be…
Karn Kumar
  • 8,518
  • 3
  • 27
  • 53
0
votes
1 answer

Unable to read .gz files in logstash

I am trying to read .gz files in logstash input plugin but I can't read gunzip files in logstash. When I try to read those log files it throws error message like this, A plugin had an unrecoverable error. Will restart this plugin. Plugin: …
udc
  • 17
  • 1
  • 8
0
votes
0 answers

Is there any possible to connect logstash to Java?

I am new for logstash and ElasticSearch. I like to know whether is it possible to connect logstash to java. Here is my question, I have multiple types of log files and I have to parse these different log files. I don't like to write logstash filter…
0
votes
1 answer

Logstash - converting xml data and load into ES

XML format data
544538 john 2.0.0-10 Severity
0
votes
1 answer

Running logstash via central NFS location

I have configured an ELK Server and all there component are on the same servers.. Though, i'm trying to pick my logstash-syslog.conf from the central point that's based on NFS so i dont need to Install logstash on each client.. 1) My…
user9265709
0
votes
1 answer

Importing data from file to ElasticSearch with logstash

I have script that logs temperature + humidity from diffrent sensors and stores the data from each sensor to his directory and every day a new log is made in this format YYYY-MM-DD.log. ${data_root}/A/0/*.log ${data_root}/A/1/*.log ETC.. the logs…
0
votes
0 answers

Logstash 6.1. - How crate input and index for each log

I am trying to crate index for each input log file. This is my logstash configuration: input { beats { port => "5044" } file{ path => "/home/centos/logs/mylogs.log" id => "mylog" } file{ path =>…
dorinand
  • 1,397
  • 1
  • 24
  • 49