Hello everyone, I'm starting with the development in splunk...
Each time a new database or datatable and created on the server, I have a service that generates a text file with the respective Info thereof, for example:
[hive_APOLLO_APOLLO_DATA]
vix.description = (hive orc) edb exit nbn database
vix.input.1.path = /data/tdc/prd/corp/base/edb/APOLLO/...
vix.provider = bud_hive_orc
vix.input.1.splitter.hive.dbname = APOLLO
vix.input.1.splitter.hive.tablename = APOLLO_DATA
vix.input.1.splitter.hive.fileformat = orc
[hive_APOLLO_EPI_IV_CLI]
vix.description = (hive orc) edb exit nbn database
vix.input.1.path = /data/tdc/prd/corp/base/edb/APOLLO/...
vix.provider = bud_hive_orc
vix.input.1.splitter.hive.dbname = APOLLO
vix.input.1.splitter.hive.tablename = EPI_IV_CLI
vix.input.1.splitter.hive.fileformat = orc
[hive_APOLLO_EPI_IV_NBN_CLI]
vix.description = (hive orc) edb exit nbn database
vix.input.1.path = /data/tdc/prd/corp/base/edb/APOLLO/...
vix.provider = bud_hive_orc
vix.input.1.splitter.hive.dbname = APOLLO
vix.input.1.splitter.hive.tablename = EPI_IV_NBN_CLI
vix.input.1.splitter.hive.fileformat = orc
...
Once the data is imported into splunk the need to show the dashboard the entire information for the file.
In this case when I click one of the results the system does the search and returns the information from block concerning the same, however, the index generated and generally for the file (main):
What do I need and the index is generated based on information contained in square brackets ([hive_APOLLO_TEST_PARTITION]) so when I run the search system bring something like this:
Main View
DB1
DB1.TBL1 (virtual.index.1) -> links to Child View (virtual.index.1)
Child View (virtual.index.1)
<Search results for splunk search: index=virtual.index.1>
DB1=APOLLO
TBL1=APOLLO_DATA
virtual.index.1=hive_APOLLO_APOLLO_DATA
Sorry for the long text, someone help me?
Thank you all!
... View more