{"id":12809,"date":"2019-07-23T13:31:13","date_gmt":"2019-07-23T13:31:13","guid":{"rendered":"https:\/\/dbtut.com\/?p=12809"},"modified":"2019-07-23T13:31:13","modified_gmt":"2019-07-23T13:31:13","slug":"how-to-move-csv-or-txt-to-elasticsearch","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/","title":{"rendered":"How To Move CSV or TXT to Elasticsearch"},"content":{"rendered":"<p>In this article, we will move a csv file we created, to elasticsearch with logstash. You can also move TXT files to elasticsearch in the same way.<\/p>\n<p>We create the CSV file as follows and copy it to the \/home\/elastic directory on the server where logstash is installed. You can use the following articles to install logstash and elasticsearch.<\/p>\n<p>&#8220;<a href=\"https:\/\/dbtut.com\/index.php\/2019\/05\/23\/how-to-install-elasticsearch-on-centos\/\" target=\"_blank\" rel=\"noopener noreferrer\">How To Install Elasticsearch On Centos<\/a>&#8220;,<\/p>\n<p>&#8220;<a href=\"https:\/\/dbtut.com\/index.php\/2019\/06\/05\/how-to-install-logstash-on-centos\/\" target=\"_blank\" rel=\"noopener noreferrer\">How To Install Logstash On Centos<\/a>&#8221;<\/p>\n<p id=\"DBbJJgJ\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-12811  aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/img_5d370a7e1cc45.png\" alt=\"\" width=\"673\" height=\"565\" \/><\/p>\n<p>After creating the CSV file, we go to a directory and create a configuration file with the contents as follows.<\/p>\n<pre class=\"lang:default decode:true \">cd \/etc\/logstash\/conf.d\/\r\nvi csv_to_elastic.conf<\/pre>\n<pre class=\"lang:default decode:true \">input {\r\n\u00a0 file {\r\n# the path where csv file located\r\n\u00a0\u00a0\u00a0 path =&gt; \"\/home\/elastic\/csv_to_elastic.conf\"\r\n\u00a0\u00a0\u00a0 start_position =&gt; \"beginning\"\r\n\u00a0\u00a0\u00a0 sincedb_path =&gt; \"\/dev\/null\"\r\n\u00a0 }\r\n}\r\nfilter {\r\n\u00a0 csv {\r\n# seperator in the csv file\r\n\u00a0\u00a0\u00a0\u00a0 separator =&gt; \";\"\r\n#columns in the csv file\r\n\u00a0\u00a0\u00a0 columns =&gt; [\"id\",\"name\",\"surname\",\"city\",\"gender\",\"age\"]\r\n}\r\n}\r\noutput {\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 elasticsearch {\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0hosts =&gt; \"write_your_logstash_ip\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 index =&gt; \"csv_test_index\" # we write our index name in here.\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #document_type =&gt; \"%{type}\"\r\n                #If you want to move the changes  in the CSV file to the elasticsearch continuously by logstash, you must specify a unique column as below. Otherwise the below line is not necessary.\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 document_id =&gt; \"%{id}\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 user =&gt; write_your_logstash_username\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 password =&gt; write_your_logstash_username_password\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }\r\n}\r\n<\/pre>\n<p>Then we move the csv file to elasticsearch with the command below.<\/p>\n<pre class=\"lang:default decode:true \">\/usr\/share\/logstash\/bin\/logstash -f \/etc\/logstash\/conf.d\/csv_to_elastic.conf  \r\n--path.settings=\/etc\/logstash\/<\/pre>\n<p>If you want to move the changes\u00a0 in the CSV file to the elasticsearch continuously by logstash, you must execute this command with nohup like below.<\/p>\n<pre class=\"lang:default decode:true \">nohup \/usr\/share\/logstash\/bin\/logstash -f \/etc\/logstash\/conf.d\/csv_to_elastic.conf  \r\n--path.settings=\/etc\/logstash\/ &amp;<\/pre>\n<p>Then we can see the records on kibana by typing GET command to Devtools as below.<\/p>\n<p id=\"VHWoAbm\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-12816  aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/img_5d370af58d02e.png\" alt=\"\" width=\"708\" height=\"528\" \/><\/p>\n<p>You can access other articles from the menu to get more information about ELK.<\/p>\n<p id=\"pXEWRcz\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-12818  aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/img_5d370b0bee146.png\" alt=\"\" width=\"610\" height=\"406\" \/><\/p>\n\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_12809\" class=\"pvc_stats all  \" data-element-id=\"12809\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will move a csv file we created, to elasticsearch with logstash. You can also move TXT files to elasticsearch in the same way. We create the CSV file as follows and copy it to the \/home\/elastic directory on the server where logstash is installed. You can use the following articles to &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_12809\" class=\"pvc_stats all  \" data-element-id=\"12809\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":12819,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[3654,3652],"tags":[4645,4646,4647,4648,4643,4641,4644,4642,4649,4650],"class_list":["post-12809","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-analyticdashboard","category-elk","tag-bulk-load-csv-files-into-elasticsearch","tag-bulk-load-txt-files-into-elasticsearch","tag-how-to-import-from-csv-into-elasticsearch","tag-how-to-import-from-txt-into-elasticsearch","tag-import-csv-into-elasticsearch","tag-import-csv-to-elasticsearch","tag-import-txt-into-elasticsearch","tag-import-txt-to-elasticsearch","tag-using-logstash-to-import-csv-files-into-elasticsearch","tag-using-logstash-to-import-txt-files-into-elasticsearch"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Move CSV or TXT to Elasticsearch - Database Tutorials<\/title>\n<meta name=\"description\" content=\"How To Move CSV or TXT to Elasticsearch\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Move CSV or TXT to Elasticsearch - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"How To Move CSV or TXT to Elasticsearch\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-23T13:31:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/Ads\u0131z-15.png\" \/>\n\t<meta property=\"og:image:width\" content=\"657\" \/>\n\t<meta property=\"og:image:height\" content=\"427\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"dbtut\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"dbtut\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/\"},\"author\":{\"name\":\"dbtut\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/fc047c39e1e53dce28fc4253529ea408\"},\"headline\":\"How To Move CSV or TXT to Elasticsearch\",\"datePublished\":\"2019-07-23T13:31:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/\"},\"wordCount\":171,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/Ads\u0131z-15.png\",\"keywords\":[\"Bulk Load CSV Files into Elasticsearch\",\"Bulk Load txt Files into Elasticsearch\",\"How to Import from CSV into Elasticsearch\",\"How to Import from txt into Elasticsearch\",\"import csv into elasticsearch\",\"import csv to elasticsearch\",\"import txt into elasticsearch\",\"import txt to elasticsearch\",\"Using Logstash to import CSV Files Into ElasticSearch\",\"Using Logstash to import txt Files Into ElasticSearch\"],\"articleSection\":[\"Analytic&amp;&amp;Dashboard\",\"ELK\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/\",\"name\":\"How To Move CSV or TXT to Elasticsearch - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/Ads\u0131z-15.png\",\"datePublished\":\"2019-07-23T13:31:13+00:00\",\"description\":\"How To Move CSV or TXT to Elasticsearch\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#primaryimage\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/Ads\u0131z-15.png\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/Ads\u0131z-15.png\",\"width\":657,\"height\":427},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Move CSV or TXT to Elasticsearch\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbtut.com\/#website\",\"url\":\"https:\/\/dbtut.com\/\",\"name\":\"Database Tutorials\",\"description\":\"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux\",\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbtut.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dbtut.com\/#organization\",\"name\":\"dbtut\",\"url\":\"https:\/\/dbtut.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"width\":223,\"height\":36,\"caption\":\"dbtut\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/fc047c39e1e53dce28fc4253529ea408\",\"name\":\"dbtut\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c322c32021bf651d9e103b183963c479a9c9791ead0715f4348203496c39aa54?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c322c32021bf651d9e103b183963c479a9c9791ead0715f4348203496c39aa54?s=96&d=mm&r=g\",\"caption\":\"dbtut\"},\"description\":\"We are a team with over 10 years of database management and BI experience. Our Expertises: Oracle, SQL Server, PostgreSQL, MySQL, MongoDB, Elasticsearch, Kibana, Grafana.\",\"sameAs\":[\"http:\/\/NurullahCAKIR\"],\"url\":\"https:\/\/dbtut.com\/index.php\/author\/dbtut\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Move CSV or TXT to Elasticsearch - Database Tutorials","description":"How To Move CSV or TXT to Elasticsearch","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/","og_locale":"en_US","og_type":"article","og_title":"How To Move CSV or TXT to Elasticsearch - Database Tutorials","og_description":"How To Move CSV or TXT to Elasticsearch","og_url":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/","og_site_name":"Database Tutorials","article_published_time":"2019-07-23T13:31:13+00:00","og_image":[{"width":657,"height":427,"url":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/Ads\u0131z-15.png","type":"image\/png"}],"author":"dbtut","twitter_card":"summary_large_image","twitter_misc":{"Written by":"dbtut","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/"},"author":{"name":"dbtut","@id":"https:\/\/dbtut.com\/#\/schema\/person\/fc047c39e1e53dce28fc4253529ea408"},"headline":"How To Move CSV or TXT to Elasticsearch","datePublished":"2019-07-23T13:31:13+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/"},"wordCount":171,"commentCount":0,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/Ads\u0131z-15.png","keywords":["Bulk Load CSV Files into Elasticsearch","Bulk Load txt Files into Elasticsearch","How to Import from CSV into Elasticsearch","How to Import from txt into Elasticsearch","import csv into elasticsearch","import csv to elasticsearch","import txt into elasticsearch","import txt to elasticsearch","Using Logstash to import CSV Files Into ElasticSearch","Using Logstash to import txt Files Into ElasticSearch"],"articleSection":["Analytic&amp;&amp;Dashboard","ELK"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/","url":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/","name":"How To Move CSV or TXT to Elasticsearch - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#primaryimage"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/Ads\u0131z-15.png","datePublished":"2019-07-23T13:31:13+00:00","description":"How To Move CSV or TXT to Elasticsearch","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#primaryimage","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/Ads\u0131z-15.png","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/07\/Ads\u0131z-15.png","width":657,"height":427},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2019\/07\/23\/how-to-move-csv-or-txt-to-elasticsearch\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"How To Move CSV or TXT to Elasticsearch"}]},{"@type":"WebSite","@id":"https:\/\/dbtut.com\/#website","url":"https:\/\/dbtut.com\/","name":"Database Tutorials","description":"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux","publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbtut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dbtut.com\/#organization","name":"dbtut","url":"https:\/\/dbtut.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","width":223,"height":36,"caption":"dbtut"},"image":{"@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/dbtut.com\/#\/schema\/person\/fc047c39e1e53dce28fc4253529ea408","name":"dbtut","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c322c32021bf651d9e103b183963c479a9c9791ead0715f4348203496c39aa54?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c322c32021bf651d9e103b183963c479a9c9791ead0715f4348203496c39aa54?s=96&d=mm&r=g","caption":"dbtut"},"description":"We are a team with over 10 years of database management and BI experience. Our Expertises: Oracle, SQL Server, PostgreSQL, MySQL, MongoDB, Elasticsearch, Kibana, Grafana.","sameAs":["http:\/\/NurullahCAKIR"],"url":"https:\/\/dbtut.com\/index.php\/author\/dbtut\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/12809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=12809"}],"version-history":[{"count":0,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/12809\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media\/12819"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=12809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=12809"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=12809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}