{"id":12119,"date":"2019-03-22T11:08:16","date_gmt":"2019-03-22T11:08:16","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=12119"},"modified":"2019-03-22T11:08:16","modified_gmt":"2019-03-22T11:08:16","slug":"how-to-install-splunk-log-analyzer-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/22\/how-to-install-splunk-log-analyzer-on-centos-7\/","title":{"rendered":"How to Install Splunk Log Analyzer on CentOS 7"},"content":{"rendered":"<p><strong>Splunk<\/strong>\u00a0is a powerful, robust and fully integrated software for real-time enterprise log management to collection, store, search, diagnose and report any log and machine generated data, including structured, unstructured and complex multi-line application logs.<\/p>\n<p>It allows you to collect, store, index, search, correlate, visualize, analyze and report on any log data or machine-generated data quickly and in a repeatable manner, to identify and resolve operational and security issues.<\/p>\n<p>In addition, splunk supports a wide range of log management use cases such as log consolidation and retention, security, IT operations troubleshooting, application troubleshooting as well as compliance reporting and so much more.<\/p>\n<h4>Splunk Features:<\/h4>\n<ul>\n<li>It\u2019s easily scalable and fully integrated.<\/li>\n<li>Supports both local and remote data sources.<\/li>\n<li>Allows for indexing machine data.<\/li>\n<li>Supports searching and correlating any data.<\/li>\n<li>Allows you to drill down and up and pivot across data.<\/li>\n<li>Supports monitoring and alerting.<\/li>\n<li>Also supports reports and dashboards for visualization.<\/li>\n<li>Provides flexible access to relational databases, field delimited data in comma-separated value (<strong>.CSV<\/strong>) files or to other enterprise data stores such as Hadoop or NoSQL.<\/li>\n<li>Supports a wide range of log management use cases and much more.<\/li>\n<\/ul>\n<p>In this article, we will show how to install the latest version of\u00a0<strong>Splunk<\/strong>\u00a0log analyzer and how to add a log file (data source) and search through it for events in\u00a0<strong>CentOS 7<\/strong>\u00a0(also works on\u00a0<strong>RHEL<\/strong>\u00a0distribution).<\/p>\n<h4>Recommended System Requirements:<\/h4>\n<ol>\n<li>A\u00a0<a href=\"https:\/\/www.tecmint.com\/centos-7-3-installation-guide\/\" target=\"_blank\" rel=\"noopener\">CentOS 7 Server<\/a>\u00a0or\u00a0<a href=\"https:\/\/www.tecmint.com\/red-hat-enterprise-linux-7-3-installation-guide\/\" target=\"_blank\" rel=\"noopener\">RHEL 7 Server<\/a>\u00a0with Minimal Install.<\/li>\n<li>Minimum 12GB RAM<\/li>\n<\/ol>\n<h4>Test Environment:<\/h4>\n<ol>\n<li><a href=\"https:\/\/www.linode.com\/?r=64ebb9f723fed8b32fda84b6594006df08ad24b6\" target=\"_blank\" rel=\"nofollow noopener\">Linode VPS with CentOS 7<\/a>\u00a0minimal install.<\/li>\n<\/ol>\n<h3>Install Splunk Log Analyzer to Monitor CentOS 7 Logs<\/h3>\n<p><strong>1.<\/strong>\u00a0Go to the splunk website, create an account and grab the latest available version for your system from the\u00a0<a href=\"https:\/\/www.splunk.com\/en_us\/download\/splunk-enterprise.html\" target=\"_blank\" rel=\"nofollow noopener\">Splunk Enterprise download<\/a>\u00a0page. RPM packages are available for Red Hat, CentOS, and similar versions of Linux.<\/p>\n<p>Alternatively, you can download it directly via the web browser or get the download link, and use\u00a0<a href=\"https:\/\/www.tecmint.com\/10-wget-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">wget command<\/a>v to grab the package via the command line as shown.<\/p>\n<pre># wget -O splunk-7.1.2-a0c72a66db66-linux-2.6-x86_64.rpm 'https:\/\/www.splunk.com\/bin\/splunk\/DownloadActivityServlet?architecture=x86_64&amp;platform=linux&amp;version=7.1.2&amp;product=splunk&amp;filename=splunk-7.1.2-a0c72a66db66-linux-2.6-x86_64.rpm&amp;wget=true'\r\n<\/pre>\n<p><strong>2.<\/strong>\u00a0Once you have downloaded the package, install the\u00a0<strong>Splunk Enterprise RPM<\/strong>\u00a0in the default directory\u00a0<strong>\/opt\/splunk<\/strong>\u00a0using the\u00a0<a href=\"https:\/\/www.tecmint.com\/20-practical-examples-of-rpm-commands-in-linux\/\" target=\"_blank\" rel=\"noopener\">RPM package manager<\/a>\u00a0as shown.<\/p>\n<pre><strong># rpm -i splunk-7.1.2-a0c72a66db66-linux-2.6-x86_64.rpm<\/strong>\r\n\r\nwarning: splunk-7.1.2-a0c72a66db66-linux-2.6-x86_64.rpm: Header V4 DSA\/SHA1 Signature, key ID 653fb112: NOKEY\r\nuseradd: cannot create directory <strong>\/opt\/splunk<\/strong>\r\ncomplete\r\n<\/pre>\n<p><strong>3.<\/strong>\u00a0Next, use the\u00a0<strong>Splunk Enterprise<\/strong>\u00a0command-line interface (CLI) to start the service.<\/p>\n<pre># \/opt\/splunk\/bin\/.\/splunk start \r\n<\/pre>\n<p>Read through the S<strong>PLUNK SOFTWARE LICENSE AGREEMENT<\/strong>\u00a0by pressing\u00a0<strong>Enter<\/strong>. Once you have completed reading it, you will be asked Do you agree with this license? Enter\u00a0<code>Y<\/code>\u00a0to continue.<\/p>\n<pre>Do you agree with this license? [y\/n]: <code>y<\/code><\/pre>\n<p>Then create credentials for the administrator account, your password must contain at least 8 total printable ASCII character(s).<\/p>\n<pre>Create credentials for the administrator account.\r\nCharacters do not appear on the screen when you type the password.\r\nPassword must contain at least:\r\n   * 8 total printable ASCII character(s).\r\nPlease enter a new password: \r\nPlease confirm new password: \r\n<\/pre>\n<p><strong>4.<\/strong>\u00a0If all installed files are intact and all preliminary checks passed, the splunk server daemon (<strong>splunkd<\/strong>) will be started, a 2048 bit RSA private key will be generated and you can be able to access the splunk web interface.<\/p>\n<pre>All preliminary checks passed.\r\n\r\nStarting splunk server daemon (splunkd)...  \r\nGenerating a 2048 bit RSA private key\r\n......................+++\r\n.....+++\r\nwriting new private key to 'privKeySecure.pem'\r\n-----\r\nSignature ok\r\nsubject=\/CN=tecmint\/O=SplunkUser\r\nGetting CA Private Key\r\nwriting RSA key\r\nDone\r\n                                                           [  OK  ]\r\n\r\nWaiting for web server at <strong>http:\/\/127.0.0.1:8000<\/strong> to be available............. Done\r\n\r\n\r\nIf you get stuck, we're here to help.  \r\nLook for answers here: http:\/\/docs.splunk.com\r\n\r\nThe Splunk web interface is at <strong>http:\/\/tecmint:8000<\/strong>\r\n<\/pre>\n<p><strong>5.<\/strong>\u00a0Next, open port\u00a0<strong>8000<\/strong>\u00a0which Splunk server listens on, in your firewall using the firewall-cmd.<\/p>\n<pre># firewall-cmd --add-port=8000\/tcp --permanent\r\n# firewall-cmd --reload\r\n<\/pre>\n<p><strong>6.<\/strong>\u00a0Open a web browser and type the following URL to access the splunk web interface.<\/p>\n<pre>http:\/\/SERVER_IP:8000   \r\n<\/pre>\n<p>To login, use Username:\u00a0<strong>admin<\/strong>\u00a0and the password you created during the installation process.<\/p>\n<div id=\"attachment_30379\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Login-page.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30379\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Login-page.png\" sizes=\"auto, (max-width: 912px) 100vw, 912px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Login-page.png 912w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Login-page-768x583.png 768w\" alt=\"Splunk Login Page\" width=\"912\" height=\"692\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Splunk Login Page<\/p>\n<\/div>\n<p><strong>7.<\/strong>\u00a0After a successful login, you will land in the splunk admin console shown in the following screenshot. To monitor a log file, for example\u00a0<code>\/var\/log\/secure<\/code>, click on\u00a0<strong>Add Data<\/strong>.<\/p>\n<div id=\"attachment_30381\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Add-Data.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30381\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Add-Data.png\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Add-Data.png 1275w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Add-Data-768x549.png 768w\" alt=\"Splunk Add Data\" width=\"1275\" height=\"912\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Splunk Add Data<\/p>\n<\/div>\n<p><strong>8.<\/strong>\u00a0Then click on\u00a0<strong>Monitor<\/strong>\u00a0to add data from a file.<\/p>\n<div id=\"attachment_30382\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Monitor-Data-File.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30382\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Monitor-Data-File.png\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Monitor-Data-File.png 1275w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Monitor-Data-File-768x549.png 768w\" alt=\"Splunk Monitor Data File\" width=\"1275\" height=\"912\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Splunk Monitor Data File<\/p>\n<\/div>\n<p><strong>9.<\/strong>\u00a0From the next interface, choose\u00a0<strong>Files &amp; Directories<\/strong>.<\/p>\n<div id=\"attachment_30383\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Splunk-File-and-Directories.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30383\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Splunk-File-and-Directories.png\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Splunk-File-and-Directories.png 1275w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Splunk-File-and-Directories-768x549.png 768w\" alt=\"Select Splunk File and Directories\" width=\"1275\" height=\"912\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Splunk File and Directories<\/p>\n<\/div>\n<p><strong>10.<\/strong>\u00a0Then setup the instance to monitor files and directories for data. To monitor all objects in a directory, select the directory. To monitor a single file, select it. Click on\u00a0<strong>Browse<\/strong>\u00a0to select the data source.<\/p>\n<div id=\"attachment_30384\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Splunk-Instance-to-Monitor.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30384\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Splunk-Instance-to-Monitor.png\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Splunk-Instance-to-Monitor.png 1275w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Splunk-Instance-to-Monitor-768x549.png 768w\" alt=\"Select Splunk Instance to Monitor\" width=\"1275\" height=\"912\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Splunk Instance to Monitor<\/p>\n<\/div>\n<p><strong>11.<\/strong>\u00a0A list of directories in your\u00a0<code>root(\/)<\/code>\u00a0directory will be shown to you, navigate to the log file you want to monitor (<strong>\/var\/log\/secure<\/strong>) and click\u00a0<strong>Select<\/strong>.<\/p>\n<div id=\"attachment_30385\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Monitor-Data-Source.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30385\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Monitor-Data-Source.png\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Monitor-Data-Source.png 1275w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Monitor-Data-Source-768x549.png 768w\" alt=\"Select Monitor Data Source\" width=\"1275\" height=\"912\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Monitor Data Source<\/p>\n<\/div>\n<div id=\"attachment_30386\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Monitor-Data-File.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30386\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Monitor-Data-File.png\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Monitor-Data-File.png 1275w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Select-Monitor-Data-File-768x549.png 768w\" alt=\"Select Monitor Data File\" width=\"1275\" height=\"912\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Select Monitor Data File<\/p>\n<\/div>\n<p><strong>12.<\/strong>\u00a0After selecting the data source, select\u00a0<strong>Continuously Monitor<\/strong>\u00a0to watch that log file and click on\u00a0<strong>Next<\/strong>\u00a0to set source type.<\/p>\n<div id=\"attachment_30387\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Set-Monitor-Data-Source-Settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30387\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Set-Monitor-Data-Source-Settings.png\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Set-Monitor-Data-Source-Settings.png 1275w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Set-Monitor-Data-Source-Settings-768x549.png 768w\" alt=\"Set Monitor Data Source Settings\" width=\"1275\" height=\"912\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Set Monitor Data Source Settings<\/p>\n<\/div>\n<p><strong>13.<\/strong>\u00a0Next, set source type for your data source. For our test log file\u00a0<code>(\/var\/log\/secure)<\/code>, we need to select\u00a0<strong>Operating System\u2192linux_secure<\/strong>; this lets splunk know that the file contains security related messages from a Linux system. Then click\u00a0<strong>Next<\/strong>\u00a0to proceed.<\/p>\n<div id=\"attachment_30388\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Set-Data-Source-Type.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30388\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Set-Data-Source-Type.png\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Set-Data-Source-Type.png 1275w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Set-Data-Source-Type-768x437.png 768w\" alt=\"Set Data Source Type\" width=\"1275\" height=\"725\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Set Data Source Type<\/p>\n<\/div>\n<p><strong>14.<\/strong>\u00a0You can optionally set additional input parameters for this data input. Under\u00a0<strong>App context<\/strong>, select\u00a0<strong>Search &amp; Reporting<\/strong>. Then click\u00a0<strong>Review<\/strong>. After reviewing, click\u00a0<strong>Submit<\/strong>.<\/p>\n<div id=\"attachment_30389\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/set-additional-input-setings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30389\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/set-additional-input-setings.png\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/set-additional-input-setings.png 1275w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/set-additional-input-setings-768x437.png 768w\" alt=\"Set Additional Input Settings\" width=\"1275\" height=\"725\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Set Additional Input Settings<\/p>\n<\/div>\n<div id=\"attachment_30390\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Review-Data-Source-Settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30390\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Review-Data-Source-Settings.png\" sizes=\"auto, (max-width: 1119px) 100vw, 1119px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Review-Data-Source-Settings.png 1119w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Review-Data-Source-Settings-768x341.png 768w\" alt=\"Review Data Source Settings\" width=\"1119\" height=\"497\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Review Data Source Settings<\/p>\n<\/div>\n<p><strong>15.<\/strong>\u00a0Now your file input has been created successfully. Click on\u00a0<strong>Start Searching<\/strong>\u00a0to search your data.<\/p>\n<div id=\"attachment_30391\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Start-Searching-Data.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30391\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Start-Searching-Data.png\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Start-Searching-Data.png 1275w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Start-Searching-Data-768x437.png 768w\" alt=\"Start Searching Data\" width=\"1275\" height=\"725\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Start Searching Data<\/p>\n<\/div>\n<div id=\"attachment_30392\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Monitor-Data-Source-Reports.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30392\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Monitor-Data-Source-Reports.png\" sizes=\"auto, (max-width: 1119px) 100vw, 1119px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Monitor-Data-Source-Reports.png 1119w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Monitor-Data-Source-Reports-768x611.png 768w\" alt=\"Monitor Data Source Reports\" width=\"1119\" height=\"890\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Monitor Data Source Reports<\/p>\n<\/div>\n<p><strong>16.<\/strong>\u00a0To view all your data inputs, go to\u00a0<strong>Settings\u2192Data\u2192Data Inputs<\/strong>. Then click on the type you want to view for example\u00a0<strong>Files &amp; Directories<\/strong>.<\/p>\n<div id=\"attachment_30393\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Data-Inputs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30393\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Data-Inputs.png\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Data-Inputs.png 1275w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/Splunk-Data-Inputs-768x437.png 768w\" alt=\"Splunk Data Inputs\" width=\"1275\" height=\"725\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Splunk Data Inputs<\/p>\n<\/div>\n<div id=\"attachment_30394\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/View-All-Data-Inputs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30394\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/View-All-Data-Inputs.png\" sizes=\"auto, (max-width: 1275px) 100vw, 1275px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/View-All-Data-Inputs.png 1275w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/08\/View-All-Data-Inputs-768x437.png 768w\" alt=\"View All Data Inputs\" width=\"1275\" height=\"725\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">View All Data Inputs<\/p>\n<\/div>\n<p><strong>17.<\/strong>\u00a0The following are additional commands to manage (restart or stop) the splunk daemon.<\/p>\n<pre># \/opt\/splunk\/bin\/.\/splunk restart\r\n# \/opt\/splunk\/bin\/.\/splunk stop<\/pre>\n<p>From now on, you can add more data sources (local or remote using\u00a0<strong>Splunk Forwarder<\/strong>), explore your data and\/or install Splunk apps for enhancing its default functionality. You can do more by reading the splunk documentation provided at the official website.<\/p>\n<p><strong>Splunk Homepage<\/strong>:\u00a0<a href=\"https:\/\/www.splunk.com\/\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/www.splunk.com\/<\/a><\/p>\n<p>That\u2019s it for now!\u00a0<strong>Splunk<\/strong>\u00a0is a powerful, robust and fully integrated, real-time enterprise log management software. In this article, we showed how to install the latest version of Splunk log analyzer on CentOS 7. If you have any questions or thoughts to share, use the comment form below to reach us.<\/p>\n<p>&nbsp;<br \/>\n<a href=\"https:\/\/www.tecmint.com\/install-splunk-log-analyzer-on-centos-7\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Splunk\u00a0is a powerful, robust and fully integrated software for real-time enterprise log management to collection, store, search, diagnose and report any log and machine generated data, including structured, unstructured and complex multi-line application logs. It allows you to collect, store, index, search, correlate, visualize, analyze and report on any log data or machine-generated data quickly &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/22\/how-to-install-splunk-log-analyzer-on-centos-7\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Install Splunk Log Analyzer on CentOS 7&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12119","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=12119"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12119\/revisions"}],"predecessor-version":[{"id":12122,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12119\/revisions\/12122"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=12119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=12119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=12119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}